Bug#826190: build failure for kernel 4.6.1

Luca Boccassi luca.boccassi at gmail.com
Mon Jun 6 09:44:36 UTC 2016


On Fri, 2016-06-03 at 15:16 +0100, Luca Boccassi wrote:
> On Fri, 3 Jun 2016 07:32:32 +0200 Harald Dunkel <harri at afaics.de> wrote:
> > Package: nvidia-kernel-dkms
> > Version: 352.79-7
> > 
> > Trying to build the nvidia module for upstream's 4.6.1 kernel
> > on sid I get this error message:
> > 
> > :
> > :
> > /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:119:11: error: too many arguments to function 'get_user_pages'
> >      ret = get_user_pages(current, mm, (unsigned long)address,
> >            ^
> > In file included from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:70:0,
> >                  from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
> > include/linux/mm.h:1266:6: note: declared here
> >  long get_user_pages(unsigned long start, unsigned long nr_pages,
> >       ^
> > scripts/Makefile.build:291: recipe for target '/var/lib/dkms/nvidia-current/352.79/build/os-mlock.o' failed
> > make[2]: *** [/var/lib/dkms/nvidia-current/352.79/build/os-mlock.o] Error 1
> > Makefile:1429: recipe for target '_module_/var/lib/dkms/nvidia-current/352.79/build' failed
> > make[1]: *** [_module_/var/lib/dkms/nvidia-current/352.79/build] Error 2
> > make[1]: Leaving directory '/usr/src/linux-headers-4.6.1'
> > nvidia-modules-common.mk:303: recipe for target 'module' failed
> > make: *** [module] Error 2
> > :
> > :
> > 
> > 
> > Complete log file is attached.
> > 
> > Version 355.11-2 is no options due to wrong xorg abi.
> 
> Hi,
> 
> Yes this issue is known, fix is on SVN waiting for the next upload to unstable.

Andreas, Vincent,

The 4.6 kernel is going to be uploaded to Sid today:
https://lists.debian.org/debian-kernel/2016/06/msg00058.html

We should upload the patched version of 352 otherwise the kernel module
build will break for all Sid users.

I'm happy to take care of it tonight if you don't have time at the
moment, if you can whitelist me for the package.

Thanks!

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20160606/e61c98ef/attachment.sig>


More information about the pkg-nvidia-devel mailing list