Kernel – 6.15-rc1 Breaks NVIDIA and VMware.. Missing ‘Includes’..
Just tested Kernel 6.15-rc1 with the latest NVIDIA 570.133.07, and the compile fails completely:
.......................
CONFTEST: drm_atomic_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] nvidia/nv.o
nvidia/nv.c:30:10: fatal error: nv-firmware.h: No such file or directory
30 | #include "nv-firmware.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: nvidia/nv.o] Error 1
make[3]: *** [/usr/src/linux-6.15-rc1/Makefile:2006: .] Error 2
make[2]: *** [/usr/src/linux-6.15-rc1/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/home/rgadsdon/NVIDIA-Linux-x86_64-570.133.07/kernel'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.15-rc1'
make: *** [Makefile:115: modules] Error 2
And with VMware 17.6.3 a similar failure occurs:
....................................
common/crosspage.c:50:13: fatal error: driver-config.h: No such file or directory
50 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
common/moduleloop.c:30:13: fatal error: driver-config.h: No such file or directory
30 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: linux/hostif.o] Error 1
make[4]: *** Waiting for unfinished jobs....
common/sharedAreaVmmon.c:27:13: fatal error: driver-config.h: No such file or directory
27 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
common/statVarsVmmon.c:27:13: fatal error: driver-config.h: No such file or directory
27 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: linux/driver.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: linux/driverLog.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/apic.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/comport.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/cpuid.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/crosspage.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/memtrack.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/moduleloop.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/phystrack.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/sharedAreaVmmon.o] Error 1
make[4]: *** [/usr/src/linux-6.15-rc1/scripts/Makefile.build:203: common/statVarsVmmon.o] Error 1
make[3]: *** [/usr/src/linux-6.15-rc1/Makefile:2006: .] Error 2
make[2]: *** [/usr/src/linux-6.15-rc1/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/tmp/modconfig-MhwMxy/vmmon-only'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.15-rc1'
make: *** [Makefile:117: vmmon.ko] Error 2
……………………………
It seems that in both cases the compile process can no longer locate the ‘include’ header files, due to some change/s in 6.15-rc1.. No details of this yet, and more research is necessary!
Robert Gadsdon. April 7th 2025.
Hello Robert,
I’v created some patches to fix the NVIDIA modules compilation…
I’m still on version 570.124.06.
You can find the patches here: https://github.com/babiulep/my-kernel-patches/tree/main/NVIDIA
Some ‘pointers’:
– ‘del_timer_sync’ has to be changed to ‘timer_delete_sync’ (01-nvidia-6.15-timer.patch, various files)
– it seems that ‘.mode_valid = nv_drm_connector_mode_valid’ is obsolete in nvidia-drm/nvidia-drm-connector.c and I’ve ‘removed’ (01-nvidia-6.15-timer.patch)
– to ‘see’ the include files again: change EXTRA_CFLAGS to ccflags-y (02-nvidia-6.15-flags.patch in Kbuild, but also in other dkms patches used)
It worked for me… YMMV 🙂
Good luck!
Kind regards,
Willy.