[nvidia] nvidia driver unable to load on clean 7.10 install

Bug #182003 reported by Erik De Rijcke
2
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.22 (Ubuntu)
Invalid
Undecided
Unassigned
linux-restricted-modules-2.6.24 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: nvidia-glx-new

The nvidia driver is unable to load on a full clean 7.10 install.

I've tried both the 2.6.20 kernel and the 2.6.22 kernel in 7.10 after a clean 7.10 install and after a clean 7.04 to 7.10 upgrade.
Loading the driver does work perfectly on a clean 7.04 install with the stock 2.6.20 kernel, so I'm guessing something is broke in 7.10.
Other distributions also work fine (fedora and gentoo), so I don't think it's hardware related.

helpfull output:

zubzub@zubzub-desktop:~$ sudo sh -x /sbin/lrm-video nvidia
+ PATH=/sbin:/bin
+ MODULE=nvidia
+ shift
+ [ nvidia = nvidia ]
+ [ -e /lib/linux-restricted-modules/.nvidia_legacy_installed ]
+ [ -e /lib/linux-restricted-modules/.nvidia_new_installed ]
+ MODULE=nvidia_new
+ XORG=nvidia
+ cat /etc/X11/xorg.conf
+ sed -n -e /^[ \t]*section[ \\t]*"device"/I,/^[ \t]*endsection/I{/^[ \t]*driver[ \t]*/I{s/^[ \t]*driver[ \t]*"*//I;s/"*[ \t]*$//;p}}
+ grep -q -w nvidia
+ echo Not loading nvidia_new module; not used in /etc/X11/xorg.conf
Not loading nvidia_new module; not used in /etc/X11/xorg.conf

zubzub@zubzub-desktop:~$ dmesg | tail
[ 156.508007] NVRM: ownership of the device's registers.
[ 156.510367] nvidia: probe of 0000:01:00.0 failed with error -1
[ 156.510900] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 156.510905] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 193.314990] NVRM: request_mem_region failed for 16M @ 0xc0000000. This can
[ 193.314993] NVRM: occur when a driver such as rivatv is loaded and claims
[ 193.314995] NVRM: ownership of the device's registers.
[ 193.315602] nvidia: probe of 0000:01:00.0 failed with error -1
[ 193.315804] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 193.315809] NVRM: None of the NVIDIA graphics adapters were initialized!

zubzub@zubzub-desktop:~$ dpkg -l linux-restricted-modules-\*| grep ii
ii linux-restricted-modules-2.6.22-14-386 2.6.22.4-14.10 Non-free Linux 2.6.22 modules on 386
ii linux-restricted-modules-common 2.6.22.4-14.10 Non-free Linux 2.6.22 modules helper script

zubzub@zubzub-desktzubzub@zubzub-desktop:~$ dpkg -l nvidia-\* | grep ii
ii nvidia-glx-new 100.14.19+2.6.22.4-14.10 NVIDIA binary XFree86 4.x/X.Org 'new' driver
ii nvidia-kernel-common 20051028+1ubuntu7 NVIDIA binary kernel module common filesop:~$ dpkg -l nvidia-\* | grep ii
ii nvidia-glx-new 100.14.19+2.6.22.4-14.10 NVIDIA binary XFree86 4.x/X.Org 'new' driver
ii nvidia-kernel-common 20051028+1ubuntu7 NVIDIA binary kernel module common files

zubzub@zubzub-desktop:~$ uname -a
Linux zubzub-desktop 2.6.22-14-386 #1 Tue Dec 18 07:34:24 UTC 2007 i686 GNU/Linux

zubzub@zubzub-desktop:~$ lspci
00:00.0 Host bridge: ATI Technologies Inc Radeon Xpress 200 Host Bridge (rev 01)
00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port
00:19.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:1b.0 Ethernet controller: ALi Corporation ULi 1689,1573 integrated ethernet. (rev 50)
00:1c.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:1c.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01)
00:1d.0 Audio device: ALi Corporation High Definition Audio/AC'97 Host Controller
00:1e.0 ISA bridge: ALi Corporation PCI to LPC Controller (rev 31)
00:1e.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:1f.1 RAID bus controller: ALi Corporation ULi 5287 SATA (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 SE] (rev a1)

Tags: nvidia
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

You need to enable it using restricted-manager. Not a bug.

Changed in linux-restricted-modules-2.6.24:
status: New → Invalid
Revision history for this message
Erik De Rijcke (derijcke-erik) wrote :

Please I know what I am doing....

It is enabled with the restricted manager and it is installed. The kernel module simply fails to load due some unknown 7.10 only cause. In 7.04 it works perfectly, in gentoo it works perfectly and in fedora it works perfectly but in a clean 7.10 install or a clean 7.04 to 7.10 upgrade it simply refuses to work and I am stuck with the nv driver.

I even tried dld and compiling the driver directly from the nvidia site. It all goes well until the nvidia installer wants to load it/I want to modprobe it/ubuntu wants to modprobe it. Something is claiming ownership of my nvidia card, making the kernel unable to load the driver!

The question is: what can possibly claim ownership of my gf7300 in 7.10 that didn't do so in 7.04?

Revision history for this message
Erik De Rijcke (derijcke-erik) wrote :

convinced?

Revision history for this message
Erik De Rijcke (derijcke-erik) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Please run "dmesg|grep -i nvidia". The error message suggests that some other module is claiming the device. Have you used envy or the upstream nvidia installer?

Changed in linux-restricted-modules-2.6.24:
status: New → Incomplete
Revision history for this message
Erik De Rijcke (derijcke-erik) wrote :

I've done some further investigation and it seems a driver/kernel/bios/memory problem with kernels > 2.6.20 unrelated to the distro you use. There's a thread in the nvidia linux forums where the problem is discussed.

ps. I've tried all 3 methodes of installing the nvidia driver (restricted driver manager, compile from source with nvidia installer, using envy) neither of them worked and all gave the same problem.

http://www.nvnews.net/vbulletin/showthread.php?t=100658

Timo Aaltonen (tjaalton)
Changed in linux-restricted-modules-2.6.24:
importance: Undecided → Medium
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

If it's a bios issue there's little we can do about it..

Changed in linux-restricted-modules-2.6.24:
status: Incomplete → 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.