Kernel – 4.14-rc2 Released – Includes NVIDIA/GPL Fix..
Kernel 4.14-rc2 is out, and brief details of changes since -rc1 are here: http://lkml.iu.edu/hypermail/linux/kernel/1709.3/00498.html
This includes:
John Hubbard (1):
ACPI / bus: Make ACPI_HANDLE() work for non-GPL code again
– which fixes the GPL problem for NVIDIA drivers, so that the latest version – 384.90 – with just the first patch found here: http://mom.hlmjr.com/2017/09/09/driver-wars-nvidia-drivers-384-69-vs-kernel-4-13/ – now compiles and loads OK:
.................. ld -r -o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia-modeset/nvidia-modeset-linux.o Building modules, stage 2. MODPOST 4 modules CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia-drm.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia-drm.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia-modeset.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia-modeset.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia-uvm.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia-uvm.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.90/kernel/nvidia.ko make[2]: Leaving directory '/usr/src/linux-4.14-rc2' make[1]: Leaving directory '/usr/src/linux-4.14-rc2'
VMware 12.5.7 – with the 4.13 vmnet patch, and the 4.14 vmmon patch, as mentioned in a previous article ( http://rglinuxtech.com/?p=2054 ) also compiles and loads/runs OK.
Robert Gadsdon. September 24, 2017.
I’m still getting a GPL error when trying to install nvidia 384.90 with patch in kernel-4.14-rc2.
[FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol ‘sme_me_mask’
make[3]: *** [/usr/src/linux-4.14.0-rc2-1.gb61ed0c/scripts/Makefile.modpost:94: __modpost] Error 1
make[3]: Target ‘_modpost’ not remade because of errors.
make[2]: *** [/usr/src/linux-4.14.0-rc2-1.gb61ed0c/Makefile:1512: modules] Error 2
make[2]: Leaving directory ‘/usr/src/linux-4.14.0-rc2-1.gb61ed0c-obj/x86_64/default’
make[1]: *** [Makefile:145: sub-make] Error 2
make[1]: Target ‘modules’ not remade because of errors.
make[1]: Leaving directory ‘/usr/src/linux-4.14.0-rc2-1.gb61ed0c’
make: *** [Makefile:81: modules] Error 2
ERROR: The nvidia kernel module was not created.]
Any ideas?
Thanks for finding this one!
It is related to a new AMD ‘secure memory encryption’ feature.. I didn’t encounter it before, as I only have Intel systems.. I enabled this feature on my test system, and got the same result as you.. See latest article for full details, and (obvious..) workaround..
RG.