nvidia-304 304.128-0ubuntu0.0.1: nvidia-304 kernel module failed to build

Bug #1516402 reported by Olivier Moser
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-304 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This occurs on installing Kernel 4.3 on a Asus N56V Laptop, Ubuntu 14.04.3 with Kernel 4.2.0-18 running, trying to install Kernel 4.3 as follow:

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3-wily/linux-headers-4.3.0-040300_4.3.0-040300.201511020949_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3-wily/linux-headers-4.3.0-040300-generic_4.3.0-040300.201511020949_amd64.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3-wily/linux-image-4.3.0-040300-generic_4.3.0-040300.201511020949_amd64.deb

$ sudo dpkg -i linux-headers-4.3.0*.deb linux-image-4.3.0*.deb

It seems to be dependency problems.

Hybrid Intel Graphics HD 4000 or 4400 i'm not sure, and nvidia 740M.

nvidia-304 304.128-0ubuntu0.0.1: nvidia-304 kernel module failed to build

Thank you

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: nvidia-304 304.128-0ubuntu0.0.1
ProcVersionSignature: Ubuntu 4.2.0-18.22~14.04.1-generic 4.2.3
Uname: Linux 4.2.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.18
Architecture: amd64
DKMSKernelVersion: 4.3.0-040300-generic
Date: Sun Nov 15 11:03:30 2015
DuplicateSignature: dkms:nvidia-304:304.128-0ubuntu0.0.1:/var/lib/dkms/nvidia-304/304.128/build/nv-procfs.c:610:5: error: void value not ignored as it ought to be
InstallationDate: Installed on 2015-04-12 (216 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageVersion: 304.128-0ubuntu0.0.1
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.4
 apt 1.0.1ubuntu2.10
SourcePackage: nvidia-graphics-drivers-304
Title: nvidia-304 304.128-0ubuntu0.0.1: nvidia-304 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Olivier Moser (ecuador) wrote :
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 1498146, 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.

Revision history for this message
victor00000 (vict1971) wrote :

bum

ubuntu 16.04
kernel 4.3
nvidia-304.131

:(

Revision history for this message
victor00000 (vict1971) wrote :

~$ dmesg | grep nvidia
[ 22.306917] nvidia: module license 'NVIDIA' taints kernel.
[ 22.324340] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 22.324955] nvidia: Unknown symbol mtrr_del (err 0)
[ 22.325420] nvidia: Unknown symbol mtrr_add (err 0)
[ 46.264577] nvidia: Unknown symbol mtrr_del (err 0)
[ 46.264923] nvidia: Unknown symbol mtrr_add (err 0)
[ 46.328283] nvidia: Unknown symbol mtrr_del (err 0)
[ 46.328619] nvidia: Unknown symbol mtrr_add (err 0)

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

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

Changed in nvidia-graphics-drivers-304 (Ubuntu):
status: New → Confirmed
Revision history for this message
Sami Nieminen (sami-nieminen) wrote :

I don't know why this is marked duplicate of bug #1498146. That one talks about build error with version 340 of the driver. This bug is about module loading error in version 304 which still happens today with Ubuntu 16.04. Version 304 is the only version with legacy support for older GeForce series such as 6800 GT.

Revision history for this message
Sami Nieminen (sami-nieminen) wrote :

Never mind. Original bug was build error. The chat afterwards is concerning Bug #1531151.

Revision history for this message
Mario Caves (ubuntu-mario) wrote :

The errors as reported in #4 are now happening in Ubuntu 16.10, using kernel 4.8.0-26-generic on an amd64 system.

This is preventing me from being able to login to the desktop.
I need the nvidia 304 drivers as they're required for my GT 6 series graphics cards.

Revision history for this message
Mario Caves (ubuntu-mario) wrote :

post #6: "Version 304 is the only version with legacy support for older GeForce series such as 6800 GT"

I have found that my card used to require nvidia-304, running ubuntu-drivers showed that a newer driver (nvidia-340) is now recommended for my graphics card, this driver does not have this MTRR error. (nvidia-304 is still being listed as an alternative for my card though!)

To check the latest and recommended driver available for your graphics card, run the following command:

$ ubuntu-drivers devices

tags: removed: need-duplicate-check
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.