AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1298613
Accepted
wyphan
wyphan
Asked: 2020-12-09 14:00:01 +0800 CST2020-12-09 14:00:01 +0800 CST 2020-12-09 14:00:01 +0800 CST

无法在 Ubuntu 20.04.1 LTS 上安装 rock-dkms

  • 772

尝试rock-dkms为 AMD ROCm 安装 KFD 驱动程序时出现以下错误:

$ sudo apt install rock-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  rock-dkms-firmware
The following NEW packages will be installed:
  rock-dkms rock-dkms-firmware
0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 0 B/11.6 MB of archives.
After this operation, 243 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Selecting previously unselected package rock-dkms-firmware.
(Reading database ... 304692 files and directories currently installed.)
Preparing to unpack .../rock-dkms-firmware_1%3a3.10-27_all.deb ...
Unpacking rock-dkms-firmware (1:3.10-27) ...
Setting up rock-dkms-firmware (1:3.10-27) ...
Selecting previously unselected package rock-dkms.
(Reading database ... 305096 files and directories currently installed.)
Preparing to unpack .../rock-dkms_1%3a3.10-27_all.deb ...
Unpacking rock-dkms (1:3.10-27) ...
Setting up rock-dkms (1:3.10-27) ...
Loading new amdgpu-3.10-27 DKMS files...
Building for 5.4.0-56-generic
Building for architecture x86_64
Building initial module for 5.4.0-56-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rock-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 5.4.0-56-generic (x86_64)
Consult /var/lib/dkms/amdgpu/3.10-27/build/make.log for more information.
dpkg: error processing package rock-dkms (--configure):
 installed rock-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 rock-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

以下是 的内容/var/lib/dkms/amdgpu/3.10-27/build/make.log。

我在 Ubuntu 20.04.1 LTS x86_64 上。安装了两个 GPU:AMD Radeon RX Vega 64 和 NVIDIA GeForce GTX 1060 6 GB。

$ uname -a
Linux basecamp 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ lspci -v | grep VGA
0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] (rev c1) (prog-if 00 [VGA controller])
0b:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1060 6GB] (rev a1) (prog-if 00 [VGA controller])

任何帮助,将不胜感激。

kernel amdgpu 20.04
  • 1 1 个回答
  • 2021 Views

1 个回答

  • Voted
  1. Best Answer
    Alino
    2020-12-14T10:47:10+08:002020-12-14T10:47:10+08:00

    您可以尝试恢复到较旧的内核。

    • 0

相关问题

  • 为 i7 处理器编译内核的最佳方法是什么?

  • 未连接到任何可见进程的令人讨厌的 CPU 峰值

  • 如何让我的电脑中的风扇在暂停时关闭?[关闭]

  • Ubuntu 是否支持与 SSD 一起使用的 TRIM 命令?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve