nvidia-340 340.102-0ubuntu3: nvidia-340 kernel module failed to build [error: code model ‘kernel’ not supported in the 32 bit mode]

Bug #1701522 reported by Ramjeet J Gupta
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Failed while installing the latest kernel update from 4.10-24 to 4.10-26

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: nvidia-340 340.102-0ubuntu3
ProcVersionSignature: Ubuntu 4.10.0-24.28-generic 4.10.15
Uname: Linux 4.10.0-24-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.102 Mon Jan 16 13:06:29 PST 2017
 GCC version: gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2)
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
DKMSKernelVersion: 4.10.0-26-generic
Date: Fri Jun 30 15:38:41 2017
DistUpgraded: Fresh install
DistroCodename: zesty
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.8, 4.10.0-22-generic, x86_64: installed
 bbswitch, 0.8, 4.10.0-24-generic, x86_64: installed
 bbswitch, 0.8, 4.10.0-26-generic, x86_64: installed
 nvidia-340, 340.102, 4.10.0-22-generic, x86_64: installed
 nvidia-340, 340.102, 4.10.0-24-generic, x86_64: installed
DuplicateSignature: dkms:nvidia-340:340.102-0ubuntu3:/var/lib/dkms/nvidia-340/340.102/build/nv.c:1:0: error: code model ‘kernel’ not supported in the 32 bit mode
GraphicsCard:
 NVIDIA Corporation G96 [GeForce 9400 GT] [10de:0641] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ZOTAC International (MCO) Ltd. G96 [GeForce 9400 GT] [19da:3046]
MachineType: Gigabyte Technology Co., Ltd. GA-MA785GMT-US2H
PackageVersion: 340.102-0ubuntu3
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-24-generic root=UUID=7b81ae36-b595-473a-a283-9f12344836e1 ro quiet splash
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.4
SourcePackage: nvidia-graphics-drivers-340
Title: nvidia-340 340.102-0ubuntu3: nvidia-340 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/30/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F3
dmi.board.name: GA-MA785GMT-US2H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF3:bd11/30/2009:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA785GMT-US2H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA785GMT-US2H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA785GMT-US2H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.0.3-1ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 17.0.3-1ubuntu1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.19.3-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.9.0-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.14-0ubuntu1
xserver.bootTime: Fri Jun 30 15:41:09 2017
xserver.configfile: default
xserver.devices:
 input Power Button KEYBOARD, id 6
 input Power Button KEYBOARD, id 7
 input Microsoft Basic Optical Mouse MOUSE, id 8
 input LITE-ON Technology USB NetVista Full Width Keyboard. KEYBOARD, id 9
xserver.errors: open /dev/fb0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.19.3-1ubuntu1

Revision history for this message
Ramjeet J Gupta (ramjeet) wrote :
tags: removed: need-duplicate-check
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 1366925, 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-340 340.102-0ubuntu3: nvidia-340 kernel module failed to build
+ [error: code model ‘kernel’ not supported in the 32 bit mode]
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.