nvidia module fails to build [error: too many arguments to function ‘get_user_pages’]

Bug #1816768 reported by Doug McMahon
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux-meta-lts-xenial (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-384 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

With the update to linux-meta-lts-xenial (4.4.0.143.124 nvidia fails to load. Reinstalling the driver (nvidia-384) shows this

Building initial module for 4.4.0-143-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-384.0.crash'
Error! Bad return status for module build on kernel: 4.4.0-143-generic (x86_64)
Consult /var/lib/dkms/nvidia-384/384.130/build/make.log for more information.

Log attached

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-generic-lts-xenial 4.4.0.143.124
ProcVersionSignature: Ubuntu 4.4.0-142.168~14.04.1-generic 4.4.167
Uname: Linux 4.4.0-142-generic x86_64
NonfreeKernelModules: nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Feb 20 09:08:28 2019
InstallationDate: Installed on 2016-03-12 (1075 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: linux-meta-lts-xenial
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-meta-lts-xenial (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-384 (Ubuntu):
status: New → Confirmed
Revision history for this message
Travisgevans (travisgevans) wrote :

I get the same with Nvidia, as well as the VirtualBox modules.

Revision history for this message
Travisgevans (travisgevans) wrote :

I'm seeing the same sort of compilation errors for the VirtualBox modules also.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hi Doug,

I would suggest upgrading the version of Ubuntu. Because 14.04 has less than 2 months left before it's end-of-life. And as time goes by it gets fewer fixes and attention than the newer releases.

Revision history for this message
chenzhenhomev@gmail.com (chenzhenhomev-x) wrote :

Hi
I get the same on ubuntu 16.04.

Revision history for this message
Doug McMahon (mc3man) wrote :

Yeah, appears this kernel update is in proposed for both 14.04 & 16.04.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1764794

So if it's intended to be promoted the nvidia driver should be fixed..

tags: added: xenial
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1573508, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

summary: - nvidia module fails to build
+ nvidia module fails to build [error: too many arguments to function
+ ‘get_user_pages’]
Revision history for this message
Massimiliano Neri (maxi-neri) wrote :

I had the same issue yesterday with the latest update to the kernel 4.4.0-143 of my Ubuntu 16.04, with nvidia driver 396 already installed and working. Tried to install nvidia-410 and nvidia-415, but no luck at all, always the same error: nvidia kernel module failed to build. I had to uninstall kernel 4.4.0-143 and move back to 4.4.0.142.
Bug 1573508 only fixed nvidia driver 304, 340 and 384, so newer versions need to be fixed too, I guess...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.