4.14.9 broke nvidia 384.98 kernel module
Hi Greg,
I know, everybody hates NVidia and their proprietary stuff around here.
Anyway, I wanted to let you and followers of 4.14 know, that changes between 4.14.8 and 4.14.9 broke both current nvidia kernel drivers. See:
https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compiling-v384-98-modules-with-linux-v4-14-9-/
Reading though the changelog of 4.14.9, I would call this release courageous ;-)
Cheers,
Pete
Quoted 8 lines · Hans-Peter Jansen
Hi Greg,
I know, everybody hates NVidia and their proprietary stuff around here.
Anyway, I wanted to let you and followers of 4.14 know, that changes between 4.14.8 and 4.14.9 broke both current nvidia kernel drivers. See:
https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compiling-v384-98-modules-with-linux-v4-14-9-/
Should be fixed in 4.14.10-rc1, right?
thanks,
greg k-h
Quoted 11 lines · On Freitag, 29. Dezember 2017 10:23:56 Greg KH wrote:
Quoted 9 lines · Hans-Peter Jansen
Hi Greg,
I know, everybody hates NVidia and their proprietary stuff around here.
Anyway, I wanted to let you and followers of 4.14 know, that changes between>
4.14.8 and 4.14.9 broke both current nvidia kernel drivers. See:https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compilin g-v384-98-modules-with-linux-v4-14-9-/Should be fixed in 4.14.10-rc1, right?
Hmm, building with 4.14.10 without the patch results in:
[ 19s] + make -f Makefile nv-linux.o SYSSRC=/lib/modules/4.14.10-3-
default/source SYSOUT=/usr/src/linux-obj/x86_64/default
[...]
[ 88s] /home/abuild/rpmbuild/BUILD/nvidia-gfxG04-384.98/obj/default/384.98/nvidia-uvm/uvm8_va_block.c:8771:41: error:
implicit declaration of function 'task_stack_page' [-Werror=implicit-function- declaration]
With the patch applied (attached for reference), the build succeeds..
Cheers,
Pete
kernel/nvidia-uvm/uvm8_va_block.c 2017-12-26 11:20:29.674381760 +0100 renamed from kernel/nvidia-uvm/uvm8_va_block.c 2017-12-26 11:20:17.097715622 +0100 +4 -0
@@ -36,6 +36,10 @@ #include "uvm8_perf_prefetch.h" #include "uvm8_mem.h" +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,9) +#include <linux/sched/task_stack.h> +#endif + typedef enum { BLOCK_PTE_OP_MAP,
Quoted 23 lines · Hans-Peter Jansen
Quoted 11 lines · On Freitag, 29. Dezember 2017 10:23:56 Greg KH wrote:
Quoted 9 lines · Hans-Peter Jansen
Hi Greg,
I know, everybody hates NVidia and their proprietary stuff around here.
Anyway, I wanted to let you and followers of 4.14 know, that changes between>
4.14.8 and 4.14.9 broke both current nvidia kernel drivers. See:https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compilin g-v384-98-modules-with-linux-v4-14-9-/Should be fixed in 4.14.10-rc1, right?
Hmm, building with 4.14.10 without the patch results in:
[ 19s] + make -f
Makefilenv-linux.o SYSSRC=/lib/modules/4.14.10-3-
default/source SYSOUT=/usr/src/linux-obj/x86_64/default
[...]
[ 88s]/home/abuild/rpmbuild/BUILD/nvidia-gfxG04-384.98/obj/default/384.98/nvidia-uvm/uvm8_va_block.c:8771:41: error:
implicit declaration of function 'task_stack_page' [-Werror=implicit-function- declaration]
Quoted 1 line
With the patch applied (attached for reference), the build succeeds..
That's not an issue I can do anything about, that's an nvidia driver problem :)
thanks,
greg k-h