nvidia-185-kernel-source cant add itself to dkms

Bug #450238 reported by Kurt Huwig
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-180 (Ubuntu)
Fix Released
High
Unassigned
Karmic
Won't Fix
Undecided
Unassigned

Bug Description

The package installation fails in postinst:

+ dpkg-query -W -f=${Version} nvidia-185-kernel-source
+ awk -F - {print $1}
+ PKGVER=185.18.36
+ PKGVER=185.18.36
+ SOURCES=/var/lib/dkms/nvidia/
+ VERSION=185.71
+ dpkg --compare-versions 185.18.36 lt 185.71
+ echo True
+ STATUS=True
+ [ configure = configure ]
+ [ -z ]
+ KERNEL_MATCHES=false
+ echo First Installation: checking all kernels...
First Installation: checking all kernels...
+ [ false = false ]
+ echo Directory for kernel not found in /lib/modules
Directory for kernel not found in /lib/modules
+ dpkg --print-architecture
+ FORCE_ARCH=x86_64
+ echo Adding Module to DKMS build system
Adding Module to DKMS build system
+ dkms add -m nvidia -v

Error! Invalid number of arguments passed.
Usage: add -m <module> -v <module-version>

The reason for this is, that the script uses a variable $CVERSION that is never defined. Adding it manually works:

dkms add -m nvidia -v 185.18.36

Creating symlink /var/lib/dkms/nvidia/185.18.36/source ->
                 /usr/src/nvidia-185.18.36

DKMS: add Completed.

ProblemType: Bug
Architecture: amd64
Date: Tue Oct 13 12:15:49 2009
DistroRelease: Ubuntu 9.10
MachineType: Gigabyte Technology Co., Ltd. P43-ES3G
Package: nvidia-185-kernel-source 185.18.36-0ubuntu5
ProcCmdLine: root=/dev/sda6 ro
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0-1ubuntu2
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090825.fc74e119-0ubuntu3
SourcePackage: nvidia-graphics-drivers-180
Uname: Linux 2.6.31-13-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1694): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (acroread:3075): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so: wrong ELF class: ELFCLASS64
 (acroread:3115): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so: wrong ELF class: ELFCLASS64
dmi.bios.date: 01/14/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F4
dmi.board.name: P43-ES3G
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.:bvrF4:bd01/14/2009:svnGigabyteTechnologyCo.,Ltd.:pnP43-ES3G:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP43-ES3G:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P43-ES3G
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-13-generic

Revision history for this message
Kurt Huwig (k-huwig) wrote :
Revision history for this message
komuta (komuta) wrote :

I confirm the bug, on x86_64 at least.
Besides, I don't know if it is related, but I have no access to usual non-X terminal. Switching from X via CTRL-ALT-Fx show me nothing but a black screen.

Revision history for this message
Kurt Huwig (k-huwig) wrote :

I had the black screen as well with the default driver. After enabling nvidia, everything was working fine. What I did was

dkms build -m nvidia -v 185.18.36
dkms install -m nvidia -v 185.18.36

Revision history for this message
Robert Hollencamp (rhollencamp) wrote :

confirmed for i386. Also confirming the black screen

Revision history for this message
Brandon Snider (brandonsnider) wrote :

This bug was fixed in the 0ubuntu6 release, and there has since been a 0ubuntu7 release. The nvidia-185-kernel-source.postinst script had a bug in it.

Bryce Harrington (bryce)
Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Bryce Harrington (bryceharrington)
Revision history for this message
Bryce Harrington (bryce) wrote :

Actually, sounds like this issue has been resolved with -0ubuntu6. If that is incorrect please reopen with additional detail.

Changed in nvidia-graphics-drivers-180 (Ubuntu):
assignee: Bryce Harrington (bryceharrington) → nobody
importance: Critical → High
status: Triaged → Fix Released
Revision history for this message
Scott G (scotta-g1967) wrote :

I installed the 31-15 Kernel through synaptic (would not come up as an upgrade option), and on reboot could not find the nvidia module. I installed the 31-15 Kernel to fix an issue with my USB Wireless Broadband Modem. I tried the dkms add -m nvidia -v 185.18.36 but it returns that the module is already added. if I boot with 31-14 Kernel the nvidia module loads if I boot with 31-15 it fails.

What do I need to do to make this work, although I am not a total newbie, this is one area where I lack experience and the answers here do not make sense what is "0ubuntu6" that is supposed to fix this??

Other than being unable to add the module with dkms all other problems reported in this bug are the same as what I having.

I need the upgraqde for at present the wireless broadband in my primary internet connection, and I have to resort to internet cafe's and free hot spots, that are not near my home.

Regards
Scott G

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Karmic is past End of Life, and is no longer supported. As such, this bug is being marked "Won't Fix" against the Karmic bug task.

Changed in nvidia-graphics-drivers-180 (Ubuntu Karmic):
status: New → Won't Fix
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.