Problem installing driver for Tesla K20Xm on RHEL 9


I upgraded the kernel on an older system and now the driver fails to build. I’ve downloaded driver version 460.106.00 as pr attached. Old kernel which worked was 5.14.0-70.26.1.el9_0, new kernel is 5.14.0-162.6.1.el9_1.

ERROR: An error occurred while performing the step: “Building kernel modules”. See /var/log/nvidia-installer.log for details.

The real problem seems to be this:

/tmp/selfgz23060/NVIDIA-Linux-x86_64-460.106.00/kernel/common/inc/nv-misc.h:20:12: fatal error: stddef.h: No such file or directory


nvidia-installer.log (262.9 KB)



Please use a more recent driver, the 460 is outdated and incompatible with newer kernels.