Kernel – 6.4-rc Pre-release Testing.. Breaks NVIDIA, VMware OK..
Usual caveat.. Not all changes are yet in place, and any code changes are suggestions/hacks only – not a expert recommendation!
Testing an interim release (April 29th) of Kernel 6.4-rc, and NVIDIA 530.41.03 fails to compile:
LD [M] /home/rgadsdon/NVIDIA-Linux-x86_64-530.41.03/kernel/nvidia-modeset.o
CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-530.41.03/kernel/nvidia-drm/nvidia-drm.o
CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-530.41.03/kernel/nvidia-drm/nvidia-drm-drv.o
/home/rgadsdon/NVIDIA-Linux-x86_64-530.41.03/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nv_drm_update_drm_driver_features’:
/home/rgadsdon/NVIDIA-Linux-x86_64-530.41.03/kernel/nvidia-drm/nvidia-drm-drv.c:1439:18: error: ‘struct drm_driver’ has no member named ‘dumb_destroy’
1439 | nv_drm_driver.dumb_destroy = nv_drm_dumb_destroy;
| ^
make[2]: *** [scripts/Makefile.build:252: /home/rgadsdon/NVIDIA-Linux-x86_64-530.41.03/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
make[1]: *** [Makefile:2025: /home/rgadsdon/NVIDIA-Linux-x86_64-530.41.03/kernel] Error 2
make[1]: Leaving directory ‘/usr/src/linux-6.4-rc00’
make: *** [Makefile:82: modules] Error 2
This is due to the following change:
https://www.spinics.net/lists/kernel/msg4768993.html
Christian König (9):
………
drm: remove dumb_destroy callback
Kernel Patch:
https://github.com/torvalds/linux/commit/96a7b60f6ddb2bc966fac800c1dd18876a6e3c3f
A ‘nasty hack’ (see caveat above) is to just remove (comment out) the reference to nv_drm_driver.dumb_destroy in NVIDIA-Linux-x86_64-530.41.03/kernel/nvidia-drm/nvidia-drm-drv.c
This then compiles OK, and seems to run with no problems (tested on Fedora 38 with KDE, running VMware Win11 guest)
VMware 17.0.2 with the patchset from https://github.com/mkubecek/vmware-host-modules/tree/workstation-17.0.2 is OK…
More changes to come, and hopefully some proper patches….
Robert Gadsdon. April 30th 2023.
Comments
Kernel – 6.4-rc Pre-release Testing.. Breaks NVIDIA, VMware OK.. — No Comments