View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000274 | AlmaLinux-8 | kernel | public | 2022-07-01 06:37 | 2022-07-19 18:05 |
Reporter | dufgrinder | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86_64 | OS | AlmaLinux | OS Version | 8.5 |
Summary | 0000274: nvidia Legacy 390 does not compile | ||||
Description | I've tried to install nvidia driver for my graphic Card GeForce GT520: Using the standard package: akmod-nvidia-390xx The compilation fails (see attached log) For information, it was working fine on CentOS7. I've also tried with the NVIDIA-Linux-x86_64-390.151.sh (downloaded from the vendor site), it also failed. | ||||
Steps To Reproduce | dnf install akmod-nvidia-390xx # See the attached /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
|
The logs akmods.log (5,536 bytes)
2022/05/25 22:41:07 akmods: Checking kmods exist for 4.18.0-372.9.1.el8.x86_64 2022/05/25 22:41:07 akmods: Building and installing nvidia-390xx-kmod 2022/05/25 22:41:07 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-372.9.1.el8.x86_64 /usr/src/akmods/nvidia-390xx-kmod.latest' 2022/05/25 22:42:01 akmods: Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log for details 2022/05/25 22:42:01 akmods: Hint: Some kmods were ignored or failed to build or install. 2022/05/25 22:42:01 akmods: You can try to rebuild and install them by by calling 2022/05/25 22:42:01 akmods: '/usr/sbin/akmods --force' as root. 2022/05/25 22:51:19 akmods: Checking kmods exist for 4.18.0-372.9.1.el8.x86_64 2022/05/25 22:51:19 akmods: Building and installing nvidia-390xx-kmod 2022/05/25 22:51:19 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-372.9.1.el8.x86_64 /usr/src/akmods/nvidia-390xx-kmod.latest' 2022/05/25 22:52:13 akmods: Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log for details 2022/05/25 22:52:13 akmods: Hint: Some kmods were ignored or failed to build or install. 2022/05/25 22:52:13 akmods: You can try to rebuild and install them by by calling 2022/05/25 22:52:13 akmods: '/usr/sbin/akmods --force' as root. 2022/05/25 23:16:10 akmods: Checking kmods exist for 4.18.0-372.9.1.el8.x86_64 2022/05/25 23:16:10 akmods: Building and installing nvidia-390xx-kmod 2022/05/25 23:16:10 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-372.9.1.el8.x86_64 /usr/src/akmods/nvidia-390xx-kmod.latest' 2022/05/25 23:17:05 akmods: Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log for details 2022/05/25 23:17:05 akmods: Hint: Some kmods were ignored or failed to build or install. 2022/05/25 23:17:05 akmods: You can try to rebuild and install them by by calling 2022/05/25 23:17:05 akmods: '/usr/sbin/akmods --force' as root. 2022/05/25 23:20:07 akmods: Checking kmods exist for 4.18.0-372.9.1.el8.x86_64 2022/05/25 23:20:07 akmods: Building and installing nvidia-390xx-kmod 2022/05/25 23:20:07 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-372.9.1.el8.x86_64 /usr/src/akmods/nvidia-390xx-kmod.latest' 2022/05/25 23:21:03 akmods: Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log for details 2022/05/25 23:21:03 akmods: Hint: Some kmods were ignored or failed to build or install. 2022/05/25 23:21:03 akmods: You can try to rebuild and install them by by calling 2022/05/25 23:21:03 akmods: '/usr/sbin/akmods --force' as root. 2022/06/25 14:49:53 akmods: Checking kmods exist for 4.18.0-372.9.1.el8.x86_64 2022/06/25 14:49:53 akmods: Building and installing nvidia-390xx-kmod 2022/06/25 14:49:53 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-372.9.1.el8.x86_64 /usr/src/akmods/nvidia-390xx-kmod.latest' 2022/06/25 14:50:46 akmods: Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log for details 2022/06/25 14:50:46 akmods: Hint: Some kmods were ignored or failed to build or install. 2022/06/25 14:50:46 akmods: You can try to rebuild and install them by by calling 2022/06/25 14:50:46 akmods: '/usr/sbin/akmods --force' as root. 2022/06/25 14:52:19 akmods: Checking kmods exist for 4.18.0-372.9.1.el8.x86_64 2022/06/25 14:52:19 akmods: Building and installing nvidia-390xx-kmod 2022/06/25 14:52:19 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-372.9.1.el8.x86_64 /usr/src/akmods/nvidia-390xx-kmod.latest' 2022/06/25 14:53:13 akmods: Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log for details 2022/06/25 14:53:13 akmods: Hint: Some kmods were ignored or failed to build or install. 2022/06/25 14:53:13 akmods: You can try to rebuild and install them by by calling 2022/06/25 14:53:13 akmods: '/usr/sbin/akmods --force' as root. 2022/06/26 09:32:52 akmods: Checking kmods exist for 4.18.0-372.9.1.el8.x86_64 2022/06/26 09:32:52 akmods: Building and installing nvidia-390xx-kmod 2022/06/26 09:32:52 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-372.9.1.el8.x86_64 /usr/src/akmods/nvidia-390xx-kmod.latest' 2022/06/26 09:33:47 akmods: Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log for details 2022/06/26 09:33:47 akmods: Hint: Some kmods were ignored or failed to build or install. 2022/06/26 09:33:47 akmods: You can try to rebuild and install them by by calling 2022/06/26 09:33:47 akmods: '/usr/sbin/akmods --force' as root. 2022/06/26 09:35:42 akmods: Checking kmods exist for 4.18.0-372.9.1.el8.x86_64 2022/06/26 09:35:42 akmods: Building and installing nvidia-390xx-kmod 2022/06/26 09:35:42 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 4.18.0-372.9.1.el8.x86_64 /usr/src/akmods/nvidia-390xx-kmod.latest' 2022/06/26 09:36:35 akmods: Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log for details 2022/06/26 09:36:35 akmods: Hint: Some kmods were ignored or failed to build or install. 2022/06/26 09:36:35 akmods: You can try to rebuild and install them by by calling 2022/06/26 09:36:35 akmods: '/usr/sbin/akmods --force' as root. |
|
I recommend you give ELRepo's kmod package a try. To do this, you need to uninstall what you have installed so far and : (1) Set up the ELRepo repository by following the instructions on https://www.elrepo.org/ sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org sudo yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm (2) Then install the nvidia-detect package and run it ( see https://www.elrepo.org/tiki/nvidia-detect for details ) sudo yum install nvidia-detect nvidia-detect -v sudo yum install $(nvidia-detect) |
|
Thanks toracat, But it gives the same result (because nvidia-detect recommands to install the kmod-nvidia driver) Read you soon, Olivier |
|
Are you sure nvidia-detect said "kmod-nvidia"? Not "kmod-nvidia-390xx" ? The latter is expected for the GT 520 card. |
|
Please copy the output of the command 'nvidia-detect -v' here. It should show the device IDs [xxxx:yyyy]. |
|
Hi, nvidia-detect reports the following: Probing for supported NVIDIA devices... [10de:1040] NVIDIA Corporation GF119 [GeForce GT 520] This device requires the legacy 390.xx NVIDIA driver kmod-nvidia-390xx |
|
So far, so good. Now all you have to do is to run the last command: sudo yum install $(nvidia-detect) Or you can run: sudo yum install kmod-nvidia-390xx |
|
Hi, I did last week, that was I said " it gives the same result " The akmods fails, compilation logs are uploaded in this ticket. |
|
Please note that ELRepo's kmod packages do NOT require compilation at all. They provide drivers that have been compiled for your kernel. Also, within a minor release (for example el 8.6), they do not need to be re-installed for each kernel update, thanks to their kABI-tracking nature. |
|
Make sure you run : yum install kmod-nvidia-390xx NOT: yum install akmod-nvidia-390xx (akmod is not an elrepo package) |
|
Hello Toracat, We found the root cause: - On my install, I use RPM-Fusion yum install kmod-nvidia-390xx returns: ============================================================================================================== Paquet Architecture Version Dépôt Taille ============================================================================================================== Installation: kmod-nvidia-390xx x86_64 3:390.144-3.el8 rpmfusion-nonfree-updates 55 k Installation des dépendances: akmod-nvidia-390xx x86_64 3:390.144-3.el8 rpmfusion-nonfree-updates 89 k akmods noarch 0.5.6-24.el8 epel 27 k egl-wayland i686 1.1.9-3.el8 appstream 41 k egl-wayland x86_64 1.1.9-3.el8 appstream 39 k kernel-abi-stablelists noarch 4.18.0-372.16.1.el8_6 baseos 8.1 M kmodtool noarch 1-37.el8 epel 19 k nvidia-settings-390xx x86_64 390.144-2.el8 rpmfusion-nonfree-updates 1.7 M xorg-x11-drv-nvidia-390xx x86_64 3:390.144-2.el8 rpmfusion-nonfree-updates 2.6 M xorg-x11-drv-nvidia-390xx-kmodsrc x86_64 3:390.144-2.el8 rpmfusion-nonfree-updates 9.1 M xorg-x11-drv-nvidia-390xx-libs i686 3:390.144-2.el8 rpmfusion-nonfree-updates 16 M xorg-x11-drv-nvidia-390xx-libs x86_64 3:390.144-2.el8 rpmfusion-nonfree-updates 15 M As you see, it also downloads the akmod. Finally, I used > yum install --disablerepo rpmfusion-nonfree-updates kmod-nvidia-390xx And now it works fine. I think we can close this ticket, many thanks for your help KR, Olivier |
|
Glad to hear things are now working. Right, rpmfusion is a different beast. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-07-01 06:37 | dufgrinder | New Issue | |
2022-07-01 06:39 | dufgrinder | Note Added: 0000623 | |
2022-07-01 06:39 | dufgrinder | File Added: 390.144-3.el8-for-4.18.0-372.9.1.el8.x86_64.failed.log | |
2022-07-01 06:39 | dufgrinder | File Added: akmods.log | |
2022-07-01 10:41 | toracat | Note Added: 0000624 | |
2022-07-09 11:49 | dufgrinder | Note Added: 0000635 | |
2022-07-09 16:34 | toracat | Note Added: 0000636 | |
2022-07-09 16:36 | toracat | Note Added: 0000637 | |
2022-07-13 04:13 | dufgrinder | Note Added: 0000642 | |
2022-07-13 08:51 | toracat | Note Added: 0000643 | |
2022-07-14 02:44 | dufgrinder | Note Added: 0000644 | |
2022-07-14 17:29 | toracat | Note Added: 0000645 | |
2022-07-14 17:32 | toracat | Note Added: 0000646 | |
2022-07-19 17:59 | dufgrinder | Note Added: 0000649 | |
2022-07-19 18:05 | toracat | Note Added: 0000650 |