nvidia-384 384.130-0ubuntu0.16.04.1: nvidia-384 kernel module failed to build [error: too few arguments to function ‘get_user_pages’]

Bug #1815776 reported by Eric Raskin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-304 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-384 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

fails on latest kernel 134 on get_user_pages calls. Arguments changed for the function between -142 and -143 kernels.

common/inc/nv-mm.h includes a macro to deal with this problem, but it is not working.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nvidia-384 (not installed)
ProcVersionSignature: Ubuntu 4.4.0-142.168-generic 4.4.167
Uname: Linux 4.4.0-142-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
DKMSKernelVersion: 4.4.0-143-generic
Date: Wed Feb 13 10:15:20 2019
DuplicateSignature: dkms:nvidia-384:384.130-0ubuntu0.16.04.1:/var/lib/dkms/nvidia-384/384.130/build/common/inc/nv-mm.h:49:35: error: too few arguments to function ‘get_user_pages’
InstallationDate: Installed on 2011-08-11 (2743 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageVersion: 384.130-0ubuntu0.16.04.1
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.5
 apt 1.2.29ubuntu0.1
SourcePackage: nvidia-graphics-drivers-384
Title: nvidia-384 384.130-0ubuntu0.16.04.1: nvidia-384 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.modprobe.d.nvidia-384_hybrid.conf: [deleted]

Revision history for this message
Eric Raskin (eraskin) 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-384 (Ubuntu):
status: New → Confirmed
Revision history for this message
daniel CURTIS (anoda) wrote :

Hello.

There is a similar raport about failed 'nvidia_304' module build on latest '-proposed' v4.4.0-143-generic kernel:

https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304/+bug/1815858

Mentioned issue happened on both: amd64 and i385/i686 architectures.

Best regards.

Revision history for this message
daniel CURTIS (anoda) wrote :

Hello.

Once agains - I'm sorry for writing post by post, but there is a very interesting comment I found, while checking patches/fixes in Linux v4.4.0-143.169 version (see '1.'). This is excatly the same error, that happened when I updated kernel to the latest '-proposed' release etc. In both cases, it's about "Processing triggers for linux-image-4.4.0-143-generic" and bad return status for 'nvidia' module build.

So, maybe the whole problem with building 'nvidia' module is related with "signing: only install a signed kernel (LP: #1764794)" (see '2.')?

Thanks, best regards.
_________________
[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1764794/comments/6
[2] https://launchpad.net/ubuntu/+source/linux/4.4.0-143.169

summary: nvidia-384 384.130-0ubuntu0.16.04.1: nvidia-384 kernel module failed to
- build
+ build [error: too few arguments to function ‘get_user_pages’]
Changed in nvidia-graphics-drivers-304 (Ubuntu):
status: New → Confirmed
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.