Updated to Kernel 6.5-rc5, and – as expected – vmmon still fails to compile:
CC [M] /tmp/modconfig-s9HCQR/vmmon-only/bootstrap/vmmblob.o
LD [M] /tmp/modconfig-s9HCQR/vmmon-only/vmmon.o
ERROR: modpost: "__pte_offset_map" [/tmp/modconfig-s9HCQR/vmmon-only/vmmon.ko] undefined!
make: *** [scripts/Makefile.modpost:144: /tmp/modconfig-s9HCQR/vmmon-only/Module.symvers] Error 1
make: *** [/usr/src/linux-6.5-rc5/Makefile:1984: modpost] Error 2
make: *** [Makefile:234: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-6.5-rc5'
make: *** [Makefile:117: vmmon.ko] Error 2
I did find a post relating to this on the kernel dev mailing list, where a request relating to this problem with other code (Android..?) from one of the Linaro devs got a rather smart rebuttal – along the lines of ‘explain why you are doing this’…
As a result, the dev posted a series of patches to fix the problem, but this simply consisted of reverting all the appropriate kernel 6.5-rc changes – which is not a solution!
As I have been testing the 2023 Tech Preview of VMware, I took the liberty of posting the issue in their forum, in the hope of getting some sort of response, as the same error occurs with that pre-release of VMware….
Robert Gadsdon. August 6th 2023.