nvidia-340 340.102-0ubuntu0.16.04.1: nvidia-340 kernel module failed to build

Bug #1705604 reported by NickB
60
This bug affects 13 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm not really sure exactly what went wrong. Ubuntu just popped up that there was an error and asked me to submit it so that's what I'm doing.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nvidia-340 340.102-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-58-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
DKMSKernelVersion: 4.10.0-27-generic
Date: Thu Jul 20 21:03:53 2017
DuplicateSignature: dkms:nvidia-340:340.102-0ubuntu0.16.04.1:/var/lib/dkms/nvidia-340/340.102/build/os-mlock.c:48:11: error: too few arguments to function ‘NV_GET_USER_PAGES’
InstallationDate: Installed on 2017-05-31 (50 days ago)
InstallationMedia: Ubuntu-MATE 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215)
PackageVersion: 340.102-0ubuntu0.16.04.1
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.20
SourcePackage: nvidia-graphics-drivers-340
Title: nvidia-340 340.102-0ubuntu0.16.04.1: nvidia-340 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
NickB (nbastean) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
Revision history for this message
Marcin Szelewicki (mszelewicki) wrote :

Information below worked for me:
https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia#Ubuntu_14.04_and_up

Installed nvidia-340, rebooted and it works (Ubuntu 16.04)

sudo ubuntu-drivers devices
sudo apt-get install nvidia-340
sudo apt-get update

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

Just update your system. The fix was released 5 days ago...

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 1677327, 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.

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.