Kernel – 6.10-rc1 is out.. OK with Patched VMware, NVIDIA Compile Fails.
Kernel 6.10-rc1 has been released, and brief details are here: https://lkml.iu.edu/hypermail/linux/kernel/2405.3/01595.html
VMware 17.5.2 with the interim kernel-6.9 patchset compiles OK, but the latest NVIDIA 555.42.02 fails:
……………………………
/home/rgadsdon/NVIDIA-Linux-x86_64-555.42.02/kernel/common/inc/nv-linux.h: In function ■nv_ioremap_wc■:
/home/rgadsdon/NVIDIA-Linux-x86_64-555.42.02/kernel/common/inc/nv-linux.h:544:33: warning: suggest braces around empty body in an ■if■ statement [-Wempty-body]
544 | NV_MEMDBG_ADD(ptr, size);
| ^
/home/rgadsdon/NVIDIA-Linux-x86_64-555.42.02/kernel/common/inc/nv-linux.h: In functionnv_vmap■:
/home/rgadsdon/NVIDIA-Linux-x86_64-555.42.02/kernel/common/inc/nv-linux.h:670:51: warning: suggest braces around empty body in an ■if■ statement [-Wempty-body]
670 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
| ^
/home/rgadsdon/NVIDIA-Linux-x86_64-555.42.02/kernel/nvidia/os-mlock.c: In function ■nv_follow_pfn■:
/home/rgadsdon/NVIDIA-Linux-x86_64-555.42.02/kernel/nvidia/os-mlock.c:42:12: error: implicit declaration of function ■follow_pfn■; did you mean ■follow_pte■? [-Wimplicit-function-declaration]
42 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
make[3]: *** [scripts/Makefile.build:244: /home/rgadsdon/NVIDIA-Linux-x86_64-555.42.02/kernel/nvidia/os-mlock.o] Error 1
make[2]: *** [/usr/src/linux-6.10-rc1/Makefile:1934: /home/rgadsdon/NVIDIA-Linux-x86_64-555.42.02/kernel] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.10-rc1'
make: *** [Makefile:89: modules] Error 2
It should be noted that the VMware kernel 6.9 patches will need to be revised- even though they appear to work successfully – as I understand the problem is rather more complex and subtle than it appears.. (see: https://github.com/mkubecek/vmware-host-modules/issues/239#issuecomment-2132366980 )
Robert Gadsdon. May 27th 2024.
Comments
Kernel – 6.10-rc1 is out.. OK with Patched VMware, NVIDIA Compile Fails. — No Comments