Kernel – 4.18-rc1 released – Breaks NVIDIA, Fix Available.. Not OK with VMware
Kernel 4.18-rc1 has been released – earlier than expected, but Linus is in Japan, where it was already Sunday..
Brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1806.2/00125.html
Tested with VMware 14.1.2, and vmmon/vmnet compile OK, but NVIDIA fails:
............................... CC [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.67/kernel/nvidia-drm/nvidia-drm-drv.o In file included from /usr/src/linux-4.18-rc1/include/drm/drmP.h:82, from /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.67/kernel/nvidia-drm/nvidia-drm-priv.h:30, from /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.67/kernel/nvidia-drm/nvidia-drm-drv.c:25: /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.67/kernel/nvidia-drm/nvidia-drm-drv.c:637:23: error: ‘DRM_CONTROL_ALLOW’ undeclared here (not in a function); did you mean ‘DRM_RENDER_ALLOW’? DRM_CONTROL_ALLOW|DRM_UNLOCKED), ^~~~~~~~~~~~~~~~~ /usr/src/linux-4.18-rc1/include/drm/drm_ioctl.h:162:12: note: in definition of macro ‘DRM_IOCTL_DEF_DRV’ .flags = _flags, \ ^~~~~~ make[3]: *** [/usr/src/linux-4.18-rc1/scripts/Makefile.build:318: /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.67/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1 ........................
Thanks to HERB. there is a fix for this, at http://mom.hlmjr.com/2018/06/11/nvidia-drivers-390-67-vs-kernel-4-17/
This patch is for 390.67 specifically, and would need modifying for other versions.. I have tested the patch, and it applies cleanly, and 390.67 compiles OK with 4.18-rc1..
UPDATE: After further testing… VMware compiles OK, but runtime fails, and even vmware-modconfig does not work:
# vmware-modconfig --console --install-all [AppLoader] GLib does not have GSettings support. <--this is an existing warning (non-fatal) Received option outside of allowed bounds. Option was -1 Must use a valid mode. Use one of: ......
See comment below, from Michal Kubeček, with more info.. More testing is needed, and the results will be in a new article..
Robert Gadsdon. June 17, 2018.
VMware host modules build fine but you may encounter a crash in vmmon – null pointer dereference (or rather call of a null pointer) in HostIF_SemaphoreWait(). A patch is available at https://github.com/mkubecek/vmware-host-modules/commit/3f2a6c720f68
Thanks for the info – and patch.. I have updated the original article, and added another with some more ‘issues’
RG.