Why Nvidia card not get detected after every RHEL kernel update?

Latest response

Dear membranes,

I 'm frustrated with my RHEL 7.0 regular updates, where whenever there is a kernel update the Nvidia card failed to detect. Why this happens with every kernel update and how can I get rid off it? Please find attached the booting messages come with updated kernel version.

Please help me.

Many thanks in advance
Aneesh

Responses

Are you using the proprietary driver and following the manual install process from nvidia.com? If so, this is expected, because when you update the kernel you need to rebuild the driver for the new kernel.

An easier solution is to use kmod-nvidia from ELRepo, which should either auto-build the driver after kernel update, or ELRepo will have a driver available a day or two after the kernel update.

You could also use the free nouveau driver which is built into the kernel.

Yes, I highly recommend use of the kmod-nvidia package. It is kABI-tracking. What this means is that there is no need to build the driver for each kernel update. This therefore means that you do not need to install packages like gcc. For more details, please see ELRepo's FAQ.

Many thanks Jamie and Akemi. Since the updated latest kernel is not detecting the nvidia card, at present I am working with the previous kernel. In that case, is it fine if I install the nvidia-kmod with previous (working) kernel or do I need to remove the latest kernel before installing the nvidia-kmod? If so, How can I remove latest kernel from the command line?

Many thanks
Aneesh

Aneesh,

There is no need to remove any kernel. Please install nvidia-detect from ELRepo and run it. It will tell you which kmod package your Nvidia device needs.

If you are uncertain, please show us the output returned by nvidia-detect -v.

I think you gotta wait for ElRepo to build the necessary modules for the new kernel. I haven't had much success with the "autobuild" option on RHEL; Fedora's akmods works better with the autobuild option. Maybe I'm missing something; currently, as I'm running the newest kernel (3.10.0-306.0.1.el7), the kmod-nvidia package only supplies modules for the previous kernel:

# rpmquery -l kmod-nvidia
/etc/depmod.d/kmod-nvidia.conf
/lib/modules/3.10.0-229.el7.x86_64
/lib/modules/3.10.0-229.el7.x86_64/extra
/lib/modules/3.10.0-229.el7.x86_64/extra/nvidia
/lib/modules/3.10.0-229.el7.x86_64/extra/nvidia/nvidia-uvm.ko
/lib/modules/3.10.0-229.el7.x86_64/extra/nvidia/nvidia.ko
/usr/lib/modprobe.d/blacklist-nouveau.conf
[23:22][1017]# uname -r
3.10.0-306.0.1.el7.x86_64

I uninstalled the package, switched to using a different adapter. Then, I installed the package again with the same results and some warnings during the installation:

Running transaction
  Installing : kmod-nvidia-352.41-1.el7.elrepo.x86_64                                                                                                                                                                                      1/2 
Working. This may take some time ...
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceChannelDestroy
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceQueryCaps
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceMemoryAllocSys
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceMemoryCpuMap
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceKillChannel
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceMemoryCpuUnMap
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceAddressSpaceCreateMirrored
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceGetGpuInfo
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceServiceDeviceInterruptsRM
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceDeRegisterUvmOps
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceMemoryFree
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceGetUvmPrivRegion
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceGetAttachedUuids
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceSessionDestroy
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceCheckEccErrorSlowpath
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceAddressSpaceCreate
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceCopyEngineAllocate
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceAddressSpaceDestroy
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceRegisterUvmCallbacks
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceChannelAllocate
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceDupAllocation
depmod: WARNING: /lib/modules/3.10.0-306.0.1.el7.x86_64/weak-updates/nvidia/nvidia-uvm.ko needs unknown symbol nvUvmInterfaceSessionCreate
Done.
  Installing : nvidia-x11-drv-352.41-1.el7.elrepo.x86_64                                                                                                                                                                                   2/2 
  Verifying  : kmod-nvidia-352.41-1.el7.elrepo.x86_64                                                                                                                                                                                      1/2 
  Verifying  : nvidia-x11-drv-352.41-1.el7.elrepo.x86_64                                                                                                                                                                                   2/2 

Installed:
  kmod-nvidia.x86_64 0:352.41-1.el7.elrepo                                                                                                                                                                                                     

Dependency Installed:
  nvidia-x11-drv.x86_64 0:352.41-1.el7.elrepo                                                                                                                                                                                                  

Complete!

Maybe this is because the kernel is from the @rhel-7-server-beta-rpms repository?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.