nvidia-* kernel module failed to build [error: code model ‘kernel’ not supported in the 32 bit mode]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-304 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-331 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-340 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-346 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-352 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-361-updates (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-367 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-384 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Error! Bad return status for module build on kernel: 3.16.2-
Consult /var/lib/
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: nvidia-331 331.38-0ubuntu7.1
Uname: Linux 3.16.0-
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
DKMSKernelVersion: 3.16.2-
Date: Mon Sep 8 20:19:51 2014
DuplicateSignature: dkms:nvidia-
InstallationDate: Installed on 2014-04-25 (136 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageVersion: 331.38-0ubuntu7.1
SourcePackage: nvidia-
Title: nvidia-331 331.38-0ubuntu7.1: nvidia-331 kernel module failed to build
UpgradeStatus: Upgraded to trusty on 2014-04-25 (136 days ago)
tags: | removed: need-duplicate-check |
summary: |
nvidia-331 331.38-0ubuntu7.1: nvidia-331 kernel module failed to build - for kenel 3.16.2 + for kenel 3.16.2 [error: code model ‘kernel’ not supported in the 32 bit + mode] |
Changed in nvidia-graphics-drivers-304 (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-graphics-drivers-346 (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-graphics-drivers-361-updates (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-graphics-drivers-352 (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-graphics-drivers-367 (Ubuntu): | |
status: | New → Confirmed |
summary: |
- nvidia-331 331.38-0ubuntu7.1: nvidia-331 kernel module failed to build - for kenel 3.16.2 [error: code model ‘kernel’ not supported in the 32 bit - mode] + nvidia-* kernel module failed to build [error: code model ‘kernel’ not + supported in the 32 bit mode] |
Changed in nvidia-graphics-drivers-340 (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-graphics-drivers-384 (Ubuntu): | |
status: | New → Confirmed |
I'm not sure how this happens, exactly, but your build log shows dkms trying to build with 32-bit options (-m32 -march=i686) but using -mcmodel=kernel, which gives the complaint you saw.