NVidia fails everytime a new kernel update is released : nvidia-340 340.107-0ubuntu0.16.04.2: nvidia kernel module failed to build

Bug #1832000 reported by RiCK
26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
New
Undecided
Unassigned

Bug Description

NVidia fails everytime a new kernel update is released.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nvidia-340 340.107-0ubuntu0.16.04.2
ProcVersionSignature: Ubuntu 4.4.0-150.176-generic 4.4.179
Uname: Linux 4.4.0-150-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.107 Thu May 24 21:54:01 PDT 2018
 GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11)
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
BootLog:

CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
DKMSKernelVersion: 4.4.0-150-generic
Date: Wed Jun 5 16:51:00 2019
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
GraphicsCard:
 NVIDIA Corporation GT216 [GeForce GT 220] [10de:0a20] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. [MSI] GT216 [GeForce GT 220] [1462:1910]
InstallationDate: Installed on 2015-11-14 (1301 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
MachineType: HP-Pavilion AY600AA-ABA HPE-127c
PackageVersion: 340.107-0ubuntu0.16.04.2
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-150-generic root=UUID=55fcadff-651e-d101-002c-a5ff651ed101 ro quiet splash nomodeset usbcore.autosuspend=-1
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.5
 apt 1.2.31
SourcePackage: nvidia-graphics-drivers-340
Title: nvidia-340 340.107-0ubuntu0.16.04.2: nvidia kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/21/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.07
dmi.board.name: IONA
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5.07:bd12/21/2009:svnHP-Pavilion:pnAY600AA-ABAHPE-127c:pvr:rvnMSI:rnIONA:rvr1.0:cvnHewlett-Packard:ct3:cvr:
dmi.product.name: AY600AA-ABA HPE-127c
dmi.sys.vendor: HP-Pavilion
modified.conffile..etc.modprobe.d.nvidia-340_hybrid.conf: [deleted]
version.compiz: compiz 1:0.9.12.3+16.04.20180221-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.91-2~16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~16.04.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~16.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.8
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Fri Jun 7 07:31:08 2019
xserver.configfile: default
xserver.errors: open /dev/fb0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.18.4-0ubuntu0.8

Revision history for this message
RiCK (ubuntu-rick420) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I don't quite understand why this is failing to build:

  ld -r -m elf_x86_64 -z max-page-size=0x200000 -T ./scripts/module-common.lds --build-id -o /var/lib/dkms/nvidia-340/340.107/build/uvm/nvidia-uvm.ko /var/lib/dkms/nvidia-340/340.107/build/uvm/nvidia-uvm.o /var/lib/dkms/nvidia-340/340.107/build/uvm/nvidia-uvm.mod.o
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-150-generic'
NVIDIA: left KBUILD.
 nvidia-uvm.ko failed to build!
Makefile:216: recipe for target 'nvidia-uvm.ko' failed
make: *** [nvidia-uvm.ko] Error 1
make: Leaving directory '/var/lib/dkms/nvidia/340-340.107/build/uvm'

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.