Page 1 of 1

Spectacular yum error with nvidia from elrepo

Posted: 2019/08/19 11:27:08
by hachi
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?

Re: Spectacular yum error with nvidia from elrepo

Posted: 2019/08/19 11:30:17
by TrevorH
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.

Re: Spectacular yum error with nvidia from elrepo

Posted: 2019/08/19 13:32:12
by hachi
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 ?

Re: Spectacular yum error with nvidia from elrepo

Posted: 2019/08/19 13:35:56
by TrevorH
do I need to do something extra to use the yum-plugin-elrepo ?
Other than yum install it? No.