nvidia-current does not install prereqs for building kernel module, resulting in broken graphics [Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed.]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have a freshly-installed, up-to-date Ubuntu 12.10 amd64 machine (Dell XPS M1710 with GeForce Go 7900 GS). I installed nvidia-current from the Additional Drivers tab of Software Sources and it said it succeeded, but upon reboot graphics were busted. The display was low-resolution and Unity failed to start. It appears that nvidia-current did not pull in the prerequisites for building the nvidia kernel module:
$ sudo apt-get install --reinstall nvidia-current
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/67.7 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 147351 files and directories currently installed.)
Preparing to replace nvidia-current 304.51.
Removing all DKMS Modules
Done.
Unpacking replacement nvidia-current ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up nvidia-current (304.51.
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match Dell Inc. with LENOVO
DEBUG:Quirk doesn't match
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match MXG061 with Latitude E6530
DEBUG:Quirk doesn't match
Loading new nvidia-
Building only for 3.5.0-22-generic
Building for architecture x86_64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
$
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: nvidia-current 304.51.
ProcVersionSign
Uname: Linux 3.5.0-22-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
Date: Sat Jan 19 13:39:45 2013
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
DkmsStatus: nvidia-current, 304.43: added
GraphicsCard:
NVIDIA Corporation G71 [GeForce Go 7900 GS] [10de:0298] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell Device [1028:019b]
InstallationDate: Installed on 2013-01-19 (0 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: Dell Inc. MXG061
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: nvidia-
UnitySupportTest:
Error: command ['/usr/
Error: GLX is not available on the system
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/27/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0CF456
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: MXG061
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.8.6-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
summary: |
nvidia-current does not install prereqs for building kernel module, - resulting in broken graphics + resulting in broken graphics [Module build for the currently running + kernel was skipped since the kernel source for this kernel does not seem + to be installed.] |
Workaround: manually install headers for the running kernel and then reinstall nvidia-current.
$ sudo apt-get install linux-headers- 3.5.0-22- generic headers- 3.5.0-22 headers- 3.5.0-22 linux-headers- 3.5.0-22- generic us.archive. ubuntu. com/ubuntu/ quantal- updates/ main linux-headers- 3.5.0-22 all 3.5.0-22.34 [12.1 MB] us.archive. ubuntu. com/ubuntu/ quantal- updates/ main linux-headers- 3.5.0-22- generic amd64 3.5.0-22.34 [965 kB] 3.5.0-22. 3.5.0-22 (from .../linux- headers- 3.5.0-22_ 3.5.0-22. 34_all. deb) ... 3.5.0-22- generic. 3.5.0-22- generic (from .../linux- headers- 3.5.0-22- generic_ 3.5.0-22. 34_amd64. deb) ... 3.5.0-22 (3.5.0-22.34) ... 3.5.0-22- generic (3.5.0-22.34) ... header_ postinst. d. header_ postinst. d/dkms 3.5.0-22-generic /boot/vmlinuz- 3.5.0-22- generic really. 304.43- 0ubuntu1 (using .../nvidia- current_ 304.51. really. 304.43- 0ubuntu1_ amd64.deb) ... applications/ bamf.index. .. really. 304.43- 0ubuntu1) ... ubuntu- drivers- common/ quirks/ lenovo_ thinkpad ubuntu- drivers- common/ quirks/ put_your_ quirks_ here ubuntu- drivers- common/ quirks/ dell_latitude current- 304.43 DKMS files...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-
The following NEW packages will be installed:
linux-
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.1 MB of archives.
After this operation, 69.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://
Get:2 http://
Fetched 13.1 MB in 10s (1,208 kB/s)
Selecting previously unselected package linux-headers-
(Reading database ... 147351 files and directories currently installed.)
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Unpacking linux-headers-
Setting up linux-headers-
Setting up linux-headers-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
$ sudo apt-get install --reinstall nvidia-current
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/67.7 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 170097 files and directories currently installed.)
Preparing to replace nvidia-current 304.51.
Removing all DKMS Modules
Done.
Unpacking replacement nvidia-current ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up nvidia-current (304.51.
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match Dell Inc. with LENOVO
DEBUG:Quirk doesn't match
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match MXG061 with Latitude E6530
DEBUG:Quirk doesn't match
Loading new nvidia-
Building only for 3.5.0-22-generic
Building for architecture x86_64
Building initial module for 3.5.0-22-generic
Done.
nvidia_current:
Running module v...