View Issue Details

IDProjectCategoryView StatusLast Update
0000274AlmaLinux-8kernelpublic2022-07-19 18:05
Reporterdufgrinder Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSAlmaLinuxOS Version8.5
Summary0000274: nvidia Legacy 390 does not compile
DescriptionI'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 Reproducednf 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
TagsNo tags attached.
abrt_hash
URL

Activities

dufgrinder

2022-07-01 06:39

reporter   ~0000623

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.
akmods.log (5,536 bytes)   

toracat

2022-07-01 10:41

reporter   ~0000624

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)

dufgrinder

2022-07-09 11:49

reporter   ~0000635

Thanks toracat,

But it gives the same result (because nvidia-detect recommands to install the kmod-nvidia driver)

Read you soon, Olivier

toracat

2022-07-09 16:34

reporter   ~0000636

Are you sure nvidia-detect said "kmod-nvidia"? Not "kmod-nvidia-390xx" ? The latter is expected for the GT 520 card.

toracat

2022-07-09 16:36

reporter   ~0000637

Please copy the output of the command 'nvidia-detect -v' here. It should show the device IDs [xxxx:yyyy].

dufgrinder

2022-07-13 04:13

reporter   ~0000642

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

toracat

2022-07-13 08:51

reporter   ~0000643

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

dufgrinder

2022-07-14 02:44

reporter   ~0000644

Hi,

I did last week, that was I said " it gives the same result "
The akmods fails, compilation logs are uploaded in this ticket.

toracat

2022-07-14 17:29

reporter   ~0000645

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.

toracat

2022-07-14 17:32

reporter   ~0000646

Make sure you run :

yum install kmod-nvidia-390xx

NOT:

yum install akmod-nvidia-390xx

(akmod is not an elrepo package)

dufgrinder

2022-07-19 17:59

reporter   ~0000649

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

toracat

2022-07-19 18:05

reporter   ~0000650

Glad to hear things are now working. Right, rpmfusion is a different beast.

Issue History

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