It looks like there is no precompiled nvidia kernel module available in the cuda-rhel8.repo and is causing the kernel installation to be skipped. The latest kernel module available in that repository is for kernel 4.18.0-348.20.1, but version 4.18.0-348.23.1 is needed for upgrading.
When will this module be published? I can’t install the latest RHEL patches until this is available.
I think I have a similar issue, I seem to be caught in between supported kernel/driver versions (looking at precompiled version - there is no nvidia driver for the next kernel version, 4.18.0-348.23.1.el8_5 - link).
I’m wondering whether I’ll have to remove Nvidia precompiled driver completely, install yum/dnf updates and then reinstall the latest precompiled Nvidia driver.
If anyone sees any issues with this approach and/or has experience performing something similar I’d really appreciate some feedback.
EDIT: Or would a better alternative approach be to simply wait for a newer rhel 8 (8.5) kernel update, ie leapfrogging the issue I’m experiencing right now?
Many thanks
Kernel
$ uname -a
Linux redacted 4.18.0-348.20.1.el8_5.x86_64 #1 SMP Tue Mar 8 12:56:54 EST 2022 x86_64 x86_64 x86_64 GNU/Linux
Nvidia Driver
$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 510.47.03 Mon Jan 24 22:58:54 UTC 2022
GCC version: gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)
DNF Message:
$ sudo dnf list updates
Updating Subscription Management repositories.
Last metadata expiration check: 2:03:11 ago on Wed 15 Jun 2022 08:36:06 AM BST.
NOTE: Skipping kernel installation since no kernel module package kmod-nvidia-515.48.07-4.18.0-348.23.1 for kernel version 4.18.0-348.23.1.el8_5 and NVIDIA driver 510.47.03 could be found
Available Upgrades
cuda-drivers.x86_64 515.48.07-1 cuda-rhel8-x86_64
kernel-debug-core.x86_64 4.18.0-348.23.1.el8_5 rhel-8-for-x86_64-baseos-rpms
kernel-devel.x86_64 4.18.0-348.23.1.el8_5 rhel-8-for-x86_64-baseos-rpms
kernel-headers.x86_64 4.18.0-348.23.1.el8_5 rhel-8-for-x86_64-baseos-rpms
kernel-modules.x86_64 4.18.0-348.23.1.el8_5 rhel-8-for-x86_64-baseos-rpms
kernel-tools.x86_64 4.18.0-348.23.1.el8_5 rhel-8-for-x86_64-baseos-rpms
kernel-tools-libs.x86_64 4.18.0-348.23.1.el8_5 rhel-8-for-x86_64-baseos-rpms
nvidia-driver.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-driver-NVML.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-driver-NvFBCOpenGL.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-driver-cuda.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-driver-cuda-libs.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-driver-devel.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-driver-libs.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-kmod-common.noarch 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-libXNVCtrl.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-libXNVCtrl-devel.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-modprobe.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-persistenced.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-settings.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
nvidia-xconfig.x86_64 3:515.48.07-1.el8 cuda-rhel8-x86_64
Red Hat is reporting that my problem is:
GPG key at https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/7fa2af80.pub (0x7FA2AF80) is already installed
The GPG keys listed for the “cuda-rhel8-x86_64” repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository… Failing package is: kmod-nvidia-510.47.03-4.18.0-348.20.1-3:510.47.03-3.el8_5.x86_64
Please advise how I find the correct GPG key and import it onto my machine.