← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 563265] [NEW] 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.

 

You have been subscribed to a public bug:

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.15-0ubuntu2) ...
Removing old nvidia-current-195.36.15 DKMS files...

------------------------------
Deleting module version: 195.36.15
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-195.36.15 DKMS files...
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/dkms/nvidia-current/195.36.15/build/ for more information.
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 10
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
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/nvidia-current/195.36.15/build/make.log 
DKMS make.log for nvidia-current-195.36.15 for kernel 2.6.32-20-generic (x86_64)
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
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
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=/boot/vmlinuz-2.6.32-19-generic root=UUID=2846018c-2e2a-4803-8a02-ad3c18f7c317 ro quiet splash
SourcePackage: nvidia-graphics-drivers
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.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5Q
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1306:bd08/20/2008:svnSystemmanufacturer:pnP5Q:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5Q:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5Q
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
system:
 distro:             Ubuntu
 codename:           lucid
 architecture:       x86_64
 kernel:             2.6.32-19-generic

** Affects: nvidia-graphics-drivers (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package lucid
-- 
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.
https://bugs.launchpad.net/bugs/563265
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu.


References