Kernel – 6.5-rc1 Released – Breaks NVIDIA and VMware..
Kernel 6.5-rc1 is out, and brief details are here: https://lkml.iu.edu/hypermail/linux/kernel/2307.1/00589.html
For VMware, there is a patchset available at https://github.com/mkubecek/vmware-host-modules/tree/tmp/workstation-17.0.2-k6.5 . I applied this, but then got an error from vmmon:
..................................
CC [M] /tmp/modconfig-XYOjjc/vmmon-only/bootstrap/vmmblob.o
LD [M] /tmp/modconfig-XYOjjc/vmmon-only/vmmon.o
MODPOST /tmp/modconfig-XYOjjc/vmmon-only/Module.symvers
ERROR: modpost: "__pte_offset_map" [/tmp/modconfig-XYOjjc/vmmon-only/vmmon.ko] undefined!
make[3]: *** [scripts/Makefile.modpost:144: /tmp/modconfig-XYOjjc/vmmon-only/Module.symvers] Error 1
make[2]: *** [/usr/src/linux-6.5-rc1/Makefile:1972: modpost] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.5-rc1'
make: *** [Makefile:117: vmmon.ko] Error 2
There is a patch for kernel 6.5-rc1 for NVIDIA, at https://gist.github.com/joanbm/dfe8dc59af1c83e2530a1376b77be8ba but this is for an older 470.XX release, and I was unable to customise it successfully for the latest 535.54.03 driver, as the source code has changed ..
So.. More research/testing is necessary!
Robert Gadsdon. July 8th 2023.
https://gist.github.com/Fjodor42/cfd29b3ffd1d1957894469f2def8f4f6 by me seems to make it compile at least
Thanks for finding this. I will try it out, after slight modification..
I think ‘nvidia-535.54.03/common…’ should be ‘nvidia-535.54.03/kernel/common..’ etc..
RG.
Nvidia 535.86.05 has been released, and it resolves problems with 6.5-rc kernel.