Bug#855802: nvidia-kernel-dkms failed compile for stable kernel 4.10
VDR User
user.vdr at gmail.com
Tue Feb 21 18:15:19 UTC 2017
Package: nvidia-kernel-dkms
Version: 375.26-2
Driver fails to compile against current stable kernel 4.10:
In file included from
/var/lib/dkms/nvidia-current/375.26/build/common/inc/nv-linux.h:18:0,
from
/var/lib/dkms/nvidia-current/375.26/build/nvidia/nv-frontend.c:13:
/var/lib/dkms/nvidia-current/375.26/build/common/inc/nv-mm.h: In
function ‘NV_GET_USER_PAGES_REMOTE’:
/var/lib/dkms/nvidia-current/375.26/build/common/inc/nv-mm.h:86:20:
error: too few arguments to function ‘get_user_pages_remote’
return get_user_pages_remote(tsk, mm, start, nr_pages,
flags, pages, vmas);
^~~~~~~~~~~~~~~~~~~~~
In file included from
/var/lib/dkms/nvidia-current/375.26/build/common/inc/nv-pgprot.h:17:0,
from
/var/lib/dkms/nvidia-current/375.26/build/common/inc/nv-linux.h:17,
from
/var/lib/dkms/nvidia-current/375.26/build/nvidia/nv-frontend.c:13:
/usr/src/linux-4.10/include/linux/mm.h:1267:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-4.10/scripts/Makefile.build:294: recipe for target
'/var/lib/dkms/nvidia-current/375.26/build/nvidia/nv-frontend.o'
failed
make[3]: *** [/var/lib/dkms/nvidia-current/375.26/build/nvidia/nv-frontend.o]
Error 1
/usr/src/linux-4.10/Makefile:1490: recipe for target
'_module_/var/lib/dkms/nvidia-current/375.26/build' failed
make[2]: *** [_module_/var/lib/dkms/nvidia-current/375.26/build] Error 2
make[2]: Leaving directory '/usr/src/linux-4.10'
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.10'
Makefile:81: recipe for target 'modules' failed
make: *** [modules] Error 2
This has been fixed in stable nvidia driver 378.13. Please update
nvidia-kernel-dkms to nvidia driver 378.13.
Thanks
More information about the pkg-nvidia-devel
mailing list