package nvidia-* failed to install/upgrade: nvidia-current kernel module failed to build / make[2]: *** No rule to make target `modules'. Stop.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-331 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-367 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-390 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After getting the latest updates in lucid, including the 2.6.32-20 kernel, and rebooting the machine, X only started in low graphics mode. After I started to investigate it seemed like the nvidia kernel module failed to build. I tried to reinstall nvidia-current (apt-get autoremove nvidia-current, apt-get install nvidia-current) but it failed with the following message.
root@thor:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up nvidia-current (195.36.
Removing old nvidia-
-------
Deleting module version: 195.36.15
completely from the DKMS tree.
-------
Done.
Loading new nvidia-
Building for 2.6.32-19-generic and 2.6.32-20-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.
Building initial module for 2.6.32-20-generic
Error! Bad return status for module build on kernel: 2.6.32-20-generic (x86_64)
Consult the make.log in the build directory
/var/lib/
dpkg: error processing nvidia-current (--configure):
subprocess installed post-installation script returned error exit status 10
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Processing triggers for python-support ...
Errors were encountered while processing:
nvidia-current
E: Sub-process /usr/bin/dpkg returned an error code (1)
The make.log contains the following information
root@thor:~# cat /var/lib/
DKMS make.log for nvidia-
Wed Apr 14 20:34:45 EEST 2010
NVIDIA: calling KBUILD...
make[2]: *** No rule to make target `modules'. Stop.
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
If I try to activate the nvidia drivers using jockey-gtk or jockey-text, I get the following error
root@thor:~# jockey-text -e xorg:nvidia_current
Searching for available drivers...
SystemError: installArchives() failed
Meanwhile, the proprietary nvidia drivers continue to happily work in 2.6.32-19 kernel. Only building the module for 2.6.32-20 seems to fail.
Thank you for your help. Please let me know if I can give you any more relevant debugging information. This machine was upgraded from 9.04 to 10.04, for all that it matters.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: nvidia-current 195.36.15-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
CurrentDmesg:
[ 22.352714] ppdev: user-space parallel port driver
[ 31.600005] eth0: no IPv6 routers present
[ 35.870840] UDF-fs: Partition marked readonly; forcing readonly mount
[ 35.899382] UDF-fs INFO UDF: Mounting volume 'CIVCOMPLETEEU', timestamp 2007/09/22 01:42 (10b4)
Date: Wed Apr 14 21:07:06 2010
DkmsStatus: nvidia-current, 195.36.15: added
ErrorMessage: nvidia-current kernel module failed to build
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: System manufacturer P5Q
PackageVersion: 195.36.15-0ubuntu2
ProcCmdLine: BOOT_IMAGE=
SourcePackage: nvidia-
Title: package nvidia-current 195.36.15-0ubuntu2 failed to install/upgrade: nvidia-current kernel module failed to build
XorgConf:
dmi.bios.date: 08/20/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1306
dmi.board.
dmi.board.name: P5Q
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: P5Q
dmi.product.
dmi.sys.vendor: System manufacturer
system:
distro: Ubuntu
codename: lucid
architecture: x86_64
kernel: 2.6.32-19-generic
summary: |
package nvidia-current 195.36.15-0ubuntu2 failed to install/upgrade: - nvidia-current kernel module failed to build + nvidia-current kernel module failed to build / make[2]: *** No rule to + make target `modules'. Stop. |
Changed in nvidia-graphics-drivers (Ubuntu): | |
status: | New → Confirmed |
Changed in dkms (Ubuntu): | |
status: | Fix Released → New |
Changed in nvidia-graphics-drivers-331 (Ubuntu): | |
status: | New → Confirmed |
summary: |
- package nvidia-current 195.36.15-0ubuntu2 failed to install/upgrade: - nvidia-current kernel module failed to build / make[2]: *** No rule to - make target `modules'. Stop. + package nvidia-* failed to install/upgrade: nvidia-current kernel module + failed to build / make[2]: *** No rule to make target `modules'. Stop. |
Changed in nvidia-graphics-drivers-367 (Ubuntu): | |
status: | New → Confirmed |
This happened for me also on upgrade to kernel 2.6.32-21 today on Lucid.