Spectacular yum error with nvidia from elrepo

Issues related to hardware problems
Post Reply
hachi
Posts: 13
Joined: 2019/04/14 21:52:16

Spectacular yum error with nvidia from elrepo

Post by hachi » 2019/08/19 11:27:08

Hi,

just ran yum update, and got an error message I never saw before

it starts like this

Code: Select all

....
---> Package kmod-nvidia-390xx.x86_64 0:390.116-1.el7_6.elrepo will be updated
---> Package kmod-nvidia-390xx.x86_64 0:390.116-2.el7_7.elrepo will be an update
--> Processing Dependency: kernel(reservation_object_add_excl_fence) = 0x79fd28dc for package: kmod-nvidia-390xx-390.116-2.el7_7.elrepo.x86_64
--> Processing Dependency: kernel(drm_vblank_init) = 0x4e3f09ab for package: kmod-nvidia-390xx-390.116-2.el7_7.elrepo.x86_64
--> Processing Dependency: kernel(drm_universal_plane_init) = 0x8e82ea92 for package: kmod-nvidia-390xx-390.116-2.el7_7.elrepo.x86_64
...
...

and goes on for a while, than a lot of not found for this stuff, talking about functions and addresses
for example

Code: Select all

Error: Package: kmod-nvidia-390xx-390.116-2.el7_7.elrepo.x86_64 (elrepo)
           Requires: kernel(drm_mode_object_put) = 0x16f559d5
           Installed: kernel-3.10.0-957.el7.x86_64 (@anaconda)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Installed: kernel-3.10.0-957.10.1.el7.x86_64 (@updates)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Installed: kernel-3.10.0-957.12.1.el7.x86_64 (@updates)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Installed: kernel-3.10.0-957.12.2.el7.x86_64 (@updates)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Installed: kernel-3.10.0-957.27.2.el7.x86_64 (@updates)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Available: kernel-3.10.0-957.1.3.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Available: kernel-3.10.0-957.5.1.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Available: kernel-3.10.0-957.21.2.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Available: kernel-3.10.0-957.21.3.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x9c3b3f03
           Available: kernel-debug-3.10.0-957.el7.x86_64 (base)
               kernel(drm_mode_object_put) = 0x8be086b1
           Available: kernel-debug-3.10.0-957.1.3.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x8be086b1
           Available: kernel-debug-3.10.0-957.5.1.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x8be086b1
           Available: kernel-debug-3.10.0-957.10.1.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x8be086b1
           Available: kernel-debug-3.10.0-957.12.1.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x8be086b1
           Available: kernel-debug-3.10.0-957.12.2.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x8be086b1
           Available: kernel-debug-3.10.0-957.21.2.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x8be086b1
           Available: kernel-debug-3.10.0-957.21.3.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x8be086b1
           Available: kernel-debug-3.10.0-957.27.2.el7.x86_64 (updates)
               kernel(drm_mode_object_put) = 0x8be086b1
I am on the latest kernel, 3.10.0-957.27.2.el7.x86_64

now I wonder
Is this a bug I need to report to elrepo, will this be fixed with some upcoming kernel update since the driver has been build against RHEL 7.7?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Spectacular yum error with nvidia from elrepo

Post by TrevorH » 2019/08/19 11:30:17

No. It's not a bug. It's normal when a new RHEL point release has come out and CentOS has not yet caught up. ELRepo build against RHEL so for the period between a RHEL point release and the corresponding CentOS release, kmod-nvidia will have been rebuilt against the new RHEL point release kernel and will require it. Since it's not available for CentOS you get an error.

ELRepo have a new yum plugin - yum-plugin-elrepo - that attempts to detect this situation and should remove the kmod-nvidia package with the unavailable kernel from its list of updates.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

hachi
Posts: 13
Joined: 2019/04/14 21:52:16

Re: Spectacular yum error with nvidia from elrepo

Post by hachi » 2019/08/19 13:32:12

Thanks for the info!
I thought this is the case, but now I know
what I have installed just works, so I can update and disable the elrepo for now

do I need to do something extra to use the yum-plugin-elrepo ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Spectacular yum error with nvidia from elrepo

Post by TrevorH » 2019/08/19 13:35:56

do I need to do something extra to use the yum-plugin-elrepo ?
Other than yum install it? No.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply