Comment 9 for bug 1573508

Revision history for this message
Mark (mark-k) wrote : Re: nvidia-361 361.42-0ubuntu2: nvidia-361 kernel module failed to build [error: too many arguments to function ‘get_user_pages’]

I'm using Lubuntu 16.04 x86-64 with kernel 4.7.1 from http://kernel.ubuntu.com/~kernel-ppa/mainline/ and the 304-series Nvidia driver.

I solved this problem without needing to manually apply patches, by downloading and installing the current nvidia-304 package for 16.10:
https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304/304.131-0ubuntu5/+build/10627168/+files/nvidia-304_304.131-0ubuntu5_amd64.deb

Same success with the 340-series driver from
https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/340.96-0ubuntu6/+build/9872860/+files/nvidia-340_340.96-0ubuntu6_amd64.deb

Can someone at Canonical just update the nvidia-304 & nvidia-340 etc. packages for Xenial to the ones for Yakkety (16.10)? They seem to work fine.