View Single Post
Old 06-04-10, 08:39 AM   #1
ant
A GeForced Ant
 
ant's Avatar
 
Join Date: Sep 2002
Location: An Ant Farm
Posts: 348
Question insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?

Hello.

I recently upgraded Debian's Kernel package from 2.6.32-4-686 to 2.6.32-5-686 and rebooted. However, I am having problems compiling the driver with the latest Kernel packages.

See http://pastey.net/137242 or http://pastie.org/991807 for my /var/log/nvidia-installer.log and it shows "Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko': -1 No such device" and can't find my video card. Uh, what?

$ uname -a
Linux FooBar 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux

Am I missing something?
# dpkg -l | grep ^ii |grep 2.6.32
ii firmware-linux-free 2.6.32-9 Binary firmware for various drivers in the Linux kernel
ii linux-base 2.6.32-15 Linux image base package
ii linux-headers-2.6.32-4-686 2.6.32-11 Header files for Linux 2.6.32-4-686
ii linux-headers-2.6.32-4-common 2.6.32-11 Common header files for Linux 2.6.32-4
ii linux-headers-2.6.32-5-686 2.6.32-15 Header files for Linux 2.6.32-5-686
ii linux-headers-2.6.32-5-common 2.6.32-15 Common header files for Linux 2.6.32-5
ii linux-image-2.6.32-4-686 2.6.32-11 Linux 2.6.32 for modern PCs
ii linux-image-2.6.32-5-686 2.6.32-15 Linux 2.6.32 for modern PCs
ii linux-kbuild-2.6.32 2.6.32-1 Kbuild infrastructure for Linux 2.6.32
ii linux-libc-dev 2.6.32-9 Linux support headers for userspace development
ii linux-source-2.6.32 2.6.32-9 Linux kernel source for version 2.6.32 with Debian patches
ii linux-support-2.6.32-4 2.6.32-11 Support files for Linux 2.6.32
ii linux-support-2.6.32-5 2.6.32-15 Support files for Linux 2.6.32

# dmesg |grep nvidia
[14320.685773] nvidia: module license 'NVIDIA' taints kernel.
[14321.639559] NVRM: This can occur when a driver such as rivafb, nvidiafb or
[14321.639564] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
[14321.639565] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
[14699.512211] NVRM: This can occur when a driver such as rivafb, nvidiafb or
[14699.512217] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
[14699.512218] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
[14776.504304] NVRM: This can occur when a driver such as rivafb, nvidiafb or
[14776.504309] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
[14776.504311] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
[15373.937999] NVRM: This can occur when a driver such as rivafb, nvidiafb or
[15373.938005] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
[15373.938006] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
[16680.890856] NVRM: This can occur when a driver such as rivafb, nvidiafb or
[16680.890862] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
[16680.890863] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb

# lsmod |grep nvidia
# lsmod |grep riva

# lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:09.0 Ethernet controller: Intel Corporation 82559 InBusiness 10/100 (rev 08)
05:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GT] (rev a2)

$ ls -all /usr/src/
total 62336
drwxrwsr-x 6 root src 4096 Jun 3 08:50 .
drwxr-xr-x 13 root root 4096 Jan 27 2008 ..
drwxr-xr-x 4 root root 4096 Jun 3 08:51 linux-headers-2.6.32-4-686
drwxr-xr-x 4 root root 4096 Apr 22 06:33 linux-headers-2.6.32-4-common
drwxr-xr-x 4 root root 4096 Jun 2 03:30 linux-headers-2.6.32-5-686
drwxr-xr-x 4 root root 4096 Jun 2 03:30 linux-headers-2.6.32-5-common
lrwxrwxrwx 1 root root 26 Mar 2 11:24 linux-kbuild-2.6.32 -> ../lib/linux-kbuild-2.6.32
-rw-r--r-- 1 root root 63734363 Feb 24 11:25 linux-source-2.6.32.tar.bz2
lrwxrwxrwx 1 root root 31 Apr 22 06:33 linux-support-2.6.32-4 -> ../share/linux-support-2.6.32-4
lrwxrwxrwx 1 root root 31 May 13 06:41 linux-support-2.6.32-5 -> ../share/linux-support-2.6.32-5
lrwxrwxrwx 1 root root 31 Jun 3 08:50 vboxdrv-3.2.2 -> ../share/virtualbox/src/vboxdrv
lrwxrwxrwx 1 root root 34 Jun 3 08:50 vboxnetadp-3.2.2 -> ../share/virtualbox/src/vboxnetadp
lrwxrwxrwx 1 root root 34 Jun 3 08:50 vboxnetflt-3.2.2 -> ../share/virtualbox/src/vboxnetflt

I also tried uninstalling NVIDIA drivers with /usr/bin/nvidia-uninstall, but that didn't help at all. ftp://download.nvidia.com/XFree86/Li...x86-256.29.run didn't help either.

dmesg: http://pastie.org/991920
lshw: http://pastie.org/992396

What's wrong? Obviously, I can see my text console so I assume my video card is working. Thank you in advance.
__________________
Ant @ The Ant Farm (http://antfarm.ma.cx) and Ant's Quality Foraged Links (http://aqfl.net).
ant is offline   Reply With Quote