NVIDIA – Driver 440.26 Released – Compiles with Kernel 5.4 – after Workaround..
NVIDIA driver 440.26 is out, and details can be found here: https://devtalk.nvidia.com/default/topic/1065039/announcements-and-news/-linux-solaris-and-freebsd-driver-440-26-beta-release-long-lived-branch-release-/
I have tested compilation with Kernel 5.4-rc3, and it still complains about Module.symvers:
$ make
/
make[1]: Entering directory '/usr/src/linux-5.4-rc3'
The Module.symvers file is missing, or does not contain any
symbols exported from the kernel. This could cause the NVIDIA
kernel modules to be built against a configuration that does
not accurately reflect the actual target kernel.
The Module.symvers file check can be disabled by setting the
environment variable IGNORE_MISSING_MODULE_SYMVERS to 1.
make[2]: *** [/home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/Kbuild:183: module_symvers_sanity_check] Error 1
make[1]: *** [Makefile:1649: /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26kernel] Error 2
make[1]: Leaving directory '/usr/src/linux-5.4-rc3'
make: *** [Makefile:81: modules] Error 2
Fixed, by:
$ export IGNORE_MISSING_MODULE_SYMVERS=1
$ make
– and then compiles successfully..
………………….
ld -r -o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-modeset/nvidia-modeset-linux.o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-modeset/nv-kthread-q.o
Building modules, stage 2.
MODPOST 4 modules
CC [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-drm.mod.o
LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-drm.ko
CC [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-modeset.mod.o
LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-modeset.ko
CC [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-uvm.mod.o
LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia-uvm.ko
CC [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia.mod.o
LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-440.26/kernel/nvidia.ko
make[1]: Leaving directory '/usr/src/linux-5.4-rc3'
I have not been able to test runtime performance, yet…
Robert Gadsdon. October 17th 2019.
I am trying to compile NVIDIA-Linux-x86_64-430.50 for 5.4.0-rc5-1 kernel with setting “export IGNORE_MISSING_MODULE_SYMVERS=1”, but I don’t know how to apply the patch from http://ix.io/1MRE, a simple patch -p0 < xx did not work. Is this suitable for 430 or do I need anoth e nvidia version first … (I am no very familiar with patching kernel modules directly …)