nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card? (http://www.nvnews.net/vbulletin/showthread.php?t=151694)

ant 06-04-10 07:39 AM

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. :)

Roman Horník 06-04-10 03:37 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
2.6.32-5: Exactly the same problem
2.6.32-4: Cannot build NV kernel, because linux-headers-2.6.32-4-686 is missing (NVIDIA driver is particulary running, but without 3D acceleration; nvidia-settings is running too)


uname -a:
Code:

Linux Sid 2.6.32-4-686 #1 SMP Tue Apr 6 07:02:27 UTC 2010 i686 GNU/Linux
lshw:
Code:

sid                     
    description: Desktop Computer
    product: To Be Filled By O.E.M.
    vendor: To Be Filled By O.E.M.
    version: To Be Filled By O.E.M.
    serial: To Be Filled By O.E.M.
    width: 32 bits
    capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp
    configuration: boot=normal chassis=desktop cpus=2 uuid=00020003-0004-0005-0006-000700080009
  *-core
      description: Motherboard
      product: MS-7255
      vendor: Micro-Star
      physical id: 0
      version: 1.2
      serial: To be filled by O.E.M.
      slot: To Be Filled By O.E.M.
    *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 080013 (12/11/2006)
          size: 64KiB
          capacity: 448KiB
          capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot ieee1394boot biosbootspecification
    *-cpu:0
          description: CPU
          product: Intel(R) Pentium(R) Dual  CPU  E2180  @ 2.00GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: 6.15.13
          serial: 0000-06FD-0000-0000-0000-0000
          slot: CPU 1
          size: 2GHz
          capacity: 2GHz
          width: 64 bits
          clock: 200MHz
          capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm
          configuration: id=1
        *-cache:0
            description: L1 cache
            physical id: 5
            slot: L1-Cache
            size: 64KiB
            capacity: 64KiB
            capabilities: internal write-back data
        *-cache:1
            description: L2 cache
            physical id: 6
            slot: L2-Cache
            size: 1MiB
            capacity: 1MiB
            capabilities: internal write-back instruction
        *-logicalcpu:0
            description: Logical CPU
            physical id: 1.1
            width: 64 bits
            capabilities: logical
        *-logicalcpu:1
            description: Logical CPU
            physical id: 1.2
            width: 64 bits
            capabilities: logical
    *-memory
          description: System Memory
          physical id: 27
          slot: System board or motherboard
          size: 2GiB
        *-bank:0
            description: DIMM DDR2 Synchronous
            product: PartNum0
            vendor: Manufacturer0
            physical id: 0
            serial: SerNum0
            slot: DIMM0
            size: 1GiB
            width: 64 bits
        *-bank:1
            description: DIMM DDR2 Synchronous
            product: PartNum1
            vendor: Manufacturer1
            physical id: 1
            serial: SerNum1
            slot: DIMM1
            size: 1GiB
            width: 64 bits
    *-cpu:1
          physical id: 1
          bus info: cpu@1
          version: 6.15.13
          serial: 0000-06FD-0000-0000-0000-0000
          size: 2100MHz
          capabilities: ht
          configuration: id=1
        *-logicalcpu:0
            description: Logical CPU
            physical id: 1.1
            capabilities: logical
        *-logicalcpu:1
            description: Logical CPU
            physical id: 1.2
            capabilities: logical
    *-pci:0
          description: Host bridge
          product: P4M890 Host Bridge
          vendor: VIA Technologies, Inc.
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-via latency=8
          resources: irq:0 memory:f0000000-f7ffffff(prefetchable)
        *-generic UNCLAIMED
            description: PIC
            product: P4M890 I/O APIC Interrupt Controller
            vendor: VIA Technologies, Inc.
            physical id: 0.5
            bus info: pci@0000:00:00.5
            version: 00
            width: 32 bits
            clock: 33MHz
            capabilities: io_x_-apic bus_master
            configuration: latency=0
        *-pci:0
            description: PCI bridge
            product: VT8237/VX700 PCI Bridge
            vendor: VIA Technologies, Inc.
            physical id: 1
            bus info: pci@0000:00:01.0
            version: 00
            width: 32 bits
            clock: 66MHz
            capabilities: pci pm normal_decode bus_master cap_list
        *-pci:1
            description: PCI bridge
            product: P4M890 PCI to PCI Bridge Controller
            vendor: VIA Technologies, Inc.
            physical id: 2
            bus info: pci@0000:00:02.0
            version: 00
            width: 32 bits
            clock: 33MHz
            capabilities: pci pciexpress pm msi ht normal_decode bus_master cap_list
            configuration: driver=pcieport
            resources: irq:48 ioport:1000(size=4096) memory:fa800000-fe8fffff ioport:bff00000(size=536870912)
          *-display
                description: VGA compatible controller
                product: G71 [GeForce 7300 GS]
                vendor: nVidia Corporation
                physical id: 0
                bus info: pci@0000:02:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nvidia latency=0
                resources: irq:24 memory:fd000000-fdffffff memory:c0000000-cfffffff(prefetchable) memory:fc000000-fcffffff memory:fe8e0000-fe8fffff(prefetchable)
        *-pci:2
            description: PCI bridge
            product: P4M890 PCI to PCI Bridge Controller
            vendor: VIA Technologies, Inc.
            physical id: 3
            bus info: pci@0000:00:03.0
            version: 00
            width: 32 bits
            clock: 33MHz
            capabilities: pci pciexpress pm msi ht normal_decode bus_master cap_list
            configuration: driver=pcieport
            resources: irq:49 ioport:2000(size=4096) memory:80000000-801fffff memory:80200000-803fffff(prefetchable)
        *-ide:0
            description: IDE interface
            product: VT8237A SATA 2-Port Controller
            vendor: VIA Technologies, Inc.
            physical id: f
            bus info: pci@0000:00:0f.0
            logical name: scsi0
            logical name: scsi1
            version: 80
            width: 32 bits
            clock: 33MHz
            capabilities: ide pm bus_master cap_list emulated
            configuration: driver=sata_via latency=192
            resources: irq:21 ioport:ec00(size=8) ioport:e880(size=4) ioport:e800(size=8) ioport:e480(size=4) ioport:e400(size=16) ioport:e000(size=256)
          *-disk:0
                description: ATA Disk
                product: WDC WD3200AAKS-0
                vendor: Western Digital
                physical id: 0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: 01.0
                serial: WD-WMAV2H982369
                size: 298GiB (320GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=00094b9a
              *-volume:0
                  description: Linux filesystem partition
                  physical id: 1
                  bus info: scsi@0:0.0.0,1
                  logical name: /dev/sda1
                  logical name: /
                  capacity: 7632MiB
                  capabilities: primary bootable
                  configuration: mount.fstype=xfs mount.options=rw,noatime,nodiratime,attr2,noquota state=mounted
              *-volume:1
                  description: Linux swap volume
                  physical id: 2
                  bus info: scsi@0:0.0.0,2
                  logical name: /dev/sda2
                  version: 1
                  serial: e123b9ed-d9d8-47b5-af9f-7d1acdbb5932
                  size: 1027MiB
                  capacity: 1027MiB
                  capabilities: primary nofs swap initialized
                  configuration: filesystem=swap pagesize=4096
              *-volume:2
                  description: Linux filesystem partition
                  physical id: 3
                  bus info: scsi@0:0.0.0,3
                  logical name: /dev/sda3
                  logical name: /home
                  capacity: 289GiB
                  capabilities: primary
                  configuration: mount.fstype=xfs mount.options=rw,nodev,noatime,nodiratime,attr2,logbufs=8,noquota state=mounted
          *-disk:1
                description: ATA Disk
                product: WDC WD1600JS-00N
                vendor: Western Digital
                physical id: 1
                bus info: scsi@1:0.0.0
                logical name: /dev/sdb
                version: 10.0
                serial: WD-WMANM5807477
                size: 149GiB (160GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=f855f855
              *-volume
                  description: EXT4 volume
                  vendor: Linux
                  physical id: 1
                  bus info: scsi@1:0.0.0,1
                  logical name: /dev/sdb1
                  logical name: /var/WWW
                  version: 1.0
                  serial: efaa6af1-8c0b-4523-8402-5071ed8055e7
                  size: 149GiB
                  capacity: 149GiB
                  capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                  configuration: created=2010-03-08 02:37:28 filesystem=ext4 label=DATA lastmountpoint=/var/WWW�Ā�1��'��j�����$��1����ʀ� modified=2010-06-04 21:51:44 mount.fstype=ext4 mount.options=rw,noatime,barrier=1,data=writeback mounted=2010-06-04 21:51:44 state=mounted
        *-ide:1
            description: IDE interface
            product: VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE
            vendor: VIA Technologies, Inc.
            physical id: f.1
            bus info: pci@0000:00:0f.1
            logical name: scsi3
            version: 07
            width: 32 bits
            clock: 33MHz
            capabilities: ide pm bus_master cap_list emulated
            configuration: driver=pata_via latency=32
            resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:fc00(size=16)
          *-cdrom:0
                description: DVD-RAM writer
                product: DVDRAM GSA-H12N
                vendor: HL-DT-ST
                physical id: 0.0.0
                bus info: scsi@3:0.0.0
                logical name: /dev/cdrom6
                logical name: /dev/cdrw6
                logical name: /dev/dvd6
                logical name: /dev/dvdrw6
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: UL01
                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: ansiversion=5 status=nodisc
          *-cdrom:1
                description: DVD-RAM writer
                product: CD/DVDW TS-H652M
                vendor: TSSTcorp
                physical id: 0.1.0
                bus info: scsi@3:0.1.0
                logical name: /dev/cdrom7
                logical name: /dev/cdrw7
                logical name: /dev/dvd7
                logical name: /dev/dvdrw7
                logical name: /dev/scd1
                logical name: /dev/sr1
                version: 0414
                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: ansiversion=5 status=nodisc
        *-usb:0
            description: USB Controller
            product: VT82xxxxx UHCI USB 1.1 Controller
            vendor: VIA Technologies, Inc.
            physical id: 10
            bus info: pci@0000:00:10.0
            version: a0
            width: 32 bits
            clock: 33MHz
            capabilities: pm uhci bus_master cap_list
            configuration: driver=uhci_hcd latency=192
            resources: irq:20 ioport:dc00(size=32)
        *-usb:1
            description: USB Controller
            product: VT82xxxxx UHCI USB 1.1 Controller
            vendor: VIA Technologies, Inc.
            physical id: 10.1
            bus info: pci@0000:00:10.1
            version: a0
            width: 32 bits
            clock: 33MHz
            capabilities: pm uhci bus_master cap_list
            configuration: driver=uhci_hcd latency=192
            resources: irq:22 ioport:d880(size=32)
        *-usb:2
            description: USB Controller
            product: VT82xxxxx UHCI USB 1.1 Controller
            vendor: VIA Technologies, Inc.
            physical id: 10.2
            bus info: pci@0000:00:10.2
            version: a0
            width: 32 bits
            clock: 33MHz
            capabilities: pm uhci bus_master cap_list
            configuration: driver=uhci_hcd latency=192
            resources: irq:21 ioport:d800(size=32)
        *-usb:3
            description: USB Controller
            product: VT82xxxxx UHCI USB 1.1 Controller
            vendor: VIA Technologies, Inc.
            physical id: 10.3
            bus info: pci@0000:00:10.3
            version: a0
            width: 32 bits
            clock: 33MHz
            capabilities: pm uhci bus_master cap_list
            configuration: driver=uhci_hcd latency=192
            resources: irq:23 ioport:d480(size=32)
        *-usb:4
            description: USB Controller
            product: USB 2.0
            vendor: VIA Technologies, Inc.
            physical id: 10.4
            bus info: pci@0000:00:10.4
            version: 86
            width: 32 bits
            clock: 33MHz
            capabilities: pm ehci bus_master cap_list
            configuration: driver=ehci_hcd latency=192
            resources: irq:21 memory:febffc00-febffcff
        *-isa
            description: ISA bridge
            product: VT8237A PCI to ISA Bridge
            vendor: VIA Technologies, Inc.
            physical id: 11
            bus info: pci@0000:00:11.0
            version: 00
            width: 32 bits
            clock: 33MHz
            capabilities: isa pm cap_list
            configuration: latency=0
        *-network
            description: Ethernet interface
            product: VT6102 [Rhine-II]
            vendor: VIA Technologies, Inc.
            physical id: 12
            bus info: pci@0000:00:12.0
            logical name: eth0
            version: 7c
            serial: 00:16:17:e1:28:5f
            size: 100MB/s
            capacity: 100MB/s
            width: 32 bits
            clock: 33MHz
            capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
            configuration: autonegotiation=on broadcast=yes driver=via-rhine driverversion=1.4.3 duplex=full ip=192.168.64.132 latency=192 link=yes maxlatency=8 mingnt=3 multicast=yes port=MII speed=100MB/s
            resources: irq:23 ioport:d000(size=256) memory:febff800-febff8ff
        *-pci:3
            description: PCI bridge
            product: VT8237A Host Bridge
            vendor: VIA Technologies, Inc.
            physical id: 13
            bus info: pci@0000:00:13.0
            version: 00
            width: 32 bits
            clock: 33MHz
            capabilities: pci ht normal_decode bus_master cap_list
            resources: memory:fe900000-fe9fffff
          *-multimedia
                description: Audio device
                product: VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller)
                vendor: VIA Technologies, Inc.
                physical id: 1
                bus info: pci@0000:04:01.0
                version: 10
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=HDA Intel latency=0
                resources: irq:17 memory:fe9fc000-fe9fffff
        *-pci:4
            description: PCI bridge
            product: VT8237A PCI to PCI Bridge
            vendor: VIA Technologies, Inc.
            physical id: 13.1
            bus info: pci@0000:00:13.1
            version: 00
            width: 32 bits
            clock: 33MHz
            capabilities: pci ht subtractive_decode bus_master cap_list
            resources: ioport:c000(size=4096) memory:fea00000-feafffff
          *-multimedia
                description: Multimedia controller
                product: SAA7131/SAA7133/SAA7135 Video Broadcast Decoder
                vendor: Philips Semiconductors
                physical id: 4
                bus info: pci@0000:05:04.0
                version: d1
                width: 32 bits
                clock: 33MHz
                capabilities: pm bus_master cap_list
                configuration: driver=saa7134 latency=192 maxlatency=32 mingnt=84
                resources: irq:16 memory:feaff800-feafffff
          *-usb:0
                description: USB Controller
                product: VT82xxxxx UHCI USB 1.1 Controller
                vendor: VIA Technologies, Inc.
                physical id: 5
                bus info: pci@0000:05:05.0
                version: 62
                width: 32 bits
                clock: 33MHz
                capabilities: pm uhci bus_master cap_list
                configuration: driver=uhci_hcd latency=192
                resources: irq:17 ioport:cc00(size=32)
          *-usb:1
                description: USB Controller
                product: VT82xxxxx UHCI USB 1.1 Controller
                vendor: VIA Technologies, Inc.
                physical id: 5.1
                bus info: pci@0000:05:05.1
                version: 62
                width: 32 bits
                clock: 33MHz
                capabilities: pm uhci bus_master cap_list
                configuration: driver=uhci_hcd latency=192
                resources: irq:18 ioport:c880(size=32)
          *-usb:2
                description: USB Controller
                product: USB 2.0
                vendor: VIA Technologies, Inc.
                physical id: 5.2
                bus info: pci@0000:05:05.2
                version: 65
                width: 32 bits
                clock: 33MHz
                capabilities: pm ehci bus_master cap_list
                configuration: driver=ehci_hcd latency=192
                resources: irq:19 memory:feaff400-feaff4ff
    *-pci:1
          description: Host bridge
          product: P4M890 Host Bridge
          vendor: VIA Technologies, Inc.
          physical id: 101
          bus info: pci@0000:00:00.1
          version: 00
          width: 32 bits
          clock: 33MHz
    *-pci:2
          description: Host bridge
          product: P4M890 Host Bridge
          vendor: VIA Technologies, Inc.
          physical id: 102
          bus info: pci@0000:00:00.2
          version: 00
          width: 32 bits
          clock: 33MHz
    *-pci:3
          description: Host bridge
          product: P4M890 Host Bridge
          vendor: VIA Technologies, Inc.
          physical id: 103
          bus info: pci@0000:00:00.3
          version: 00
          width: 32 bits
          clock: 33MHz
    *-pci:4
          description: Host bridge
          product: P4M890 Host Bridge
          vendor: VIA Technologies, Inc.
          physical id: 104
          bus info: pci@0000:00:00.4
          version: 00
          width: 32 bits
          clock: 33MHz
    *-pci:5
          description: Host bridge
          product: P4M890 Security Device
          vendor: VIA Technologies, Inc.
          physical id: 105
          bus info: pci@0000:00:00.6
          version: 00
          width: 32 bits
          clock: 33MHz
    *-pci:6
          description: Host bridge
          product: P4M890 Host Bridge
          vendor: VIA Technologies, Inc.
          physical id: 106
          bus info: pci@0000:00:00.7
          version: 00
          width: 32 bits
          clock: 33MHz
    *-pci:7
          description: Host bridge
          product: VT8251 Ultra VLINK Controller
          vendor: VIA Technologies, Inc.
          physical id: 107
          bus info: pci@0000:00:11.7
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: latency=128

GC: GeForce 7300GS

What's wrong? :(

ant 06-04-10 03:56 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Quote:

Originally Posted by Roman Horník (Post 2263760)
I have exactly the same problem :(

Wow, you too? What do you have and use? Debian's Kernel 2.6.32-5-686 packages? Post your logs and details please so people can help us!

I forgot to mention that I have an EVGA GeForce 8800 GT video card (PCIe and 512 MB of RAM).

I am thinking of going back to 2.6.32-4-686 Kernel packages and see if I still have problems.

Roman Horník 06-04-10 04:14 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Quote:

Originally Posted by ant (Post 2263768)
Wow, you too? What do you have and use? Debian's Kernel 2.6.32-5-686 packages? Post your logs and details please so people can help us!

I forgot to mention that I have an EVGA GeForce 8800 GT video card (PCIe and 512 MB of RAM).

I am thinking of going back to 2.6.32-4-686 Kernel packages and see if I still have problems.

I'm currently using 2.6.32-4-686, nVIDIA driver is still running, but only with the 2D acceleration.

Currently I have one solution- get and install linux-headers-2.6.32-4-686 (and linux-image-2.6.32-4-686)
Unfortunately, this package is unavailable for unknown reasons in the Debian repository, I don't know why.

danix 06-04-10 04:16 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
From your dmesg:

Code:

[    7.037651] nouveau 0000:05:00.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[    7.037658] nouveau 0000:05:00.0: setting latency timer to 64
[    7.043879] [drm] nouveau 0000:05:00.0: Detected an NV50 generation card (0x092880a2)
[    7.044755] [drm] nouveau 0000:05:00.0: Attempting to load BIOS image from PRAMIN
[    7.098223] [drm] nouveau 0000:05:00.0: ... appears to be valid
[    7.098227] [drm] nouveau 0000:05:00.0: BIT BIOS found
[    7.098229] [drm] nouveau 0000:05:00.0: Bios version 62.92.1f.00
[    7.098234] [drm] nouveau 0000:05:00.0: TMDS table revision 2.0 not currently supported
[    7.098237] [drm] nouveau 0000:05:00.0: Found Display Configuration Block version 4.0
[    7.098241] [drm] nouveau 0000:05:00.0: DCB connector table: VHER 0x40 5 16 4
[    7.098245] [drm] nouveau 0000:05:00.0:  0: 0x00001030: type 0x30 idx 0 tag 0x07
[    7.098248] [drm] nouveau 0000:05:00.0:  1: 0x00002130: type 0x30 idx 1 tag 0x08
[    7.098251] [drm] nouveau 0000:05:00.0:  2: 0x00000210: type 0x10 idx 2 tag 0xff
[    7.098253] [drm] nouveau 0000:05:00.0:  3: 0x00000211: type 0x11 idx 2 tag 0xff
[    7.098256] [drm] nouveau 0000:05:00.0:  4: 0x00000213: type 0x13 idx 2 tag 0xff
[    7.098259] [drm] nouveau 0000:05:00.0: Raw DCB entry 0: 02000300 00000028
[    7.098263] [drm] nouveau 0000:05:00.0: Raw DCB entry 1: 01000302 00000030
[    7.098265] [drm] nouveau 0000:05:00.0: Raw DCB entry 2: 04011310 00000028
[    7.098268] [drm] nouveau 0000:05:00.0: Raw DCB entry 3: 02011312 00000030
[    7.098270] [drm] nouveau 0000:05:00.0: Raw DCB entry 4: 010223f1 00c0c083
[    7.098280] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 0 at offset 0xC10F
[    7.142415] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 1 at offset 0xC4B3
[    7.160016] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 2 at offset 0xD22E
[    7.160024] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 3 at offset 0xD350
[    7.165533] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 4 at offset 0xD580
[    7.165535] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table at offset 0xD5E5
[    7.188018] [drm] nouveau 0000:05:00.0: 0xD5E5: Condition still not met after 20ms, skipping following opcodes
[    7.188026] [drm] nouveau 0000:05:00.0: 0xB340: parsing output script 0
[    7.188029] [drm] nouveau 0000:05:00.0: 0xB340: parsing output script 0
[    7.188032] [drm] nouveau 0000:05:00.0: 0x9F96: parsing output script 0
[    7.268843] [TTM] Zone  kernel: Available graphics memory: 439382 kiB.
[    7.268846] [TTM] Zone highmem: Available graphics memory: 1297466 kiB.
[    7.268859] [drm] nouveau 0000:05:00.0: 512 MiB VRAM
[    7.280166] [drm] nouveau 0000:05:00.0: 512 MiB GART (aperture)
[    7.280733] [drm] nouveau 0000:05:00.0: Allocating FIFO number 1
[    7.283451] [drm] nouveau 0000:05:00.0: nouveau_channel_alloc: initialised FIFO 1
[    7.283832] [drm] nouveau 0000:05:00.0: Detected a DAC output
[    7.283836] [drm] nouveau 0000:05:00.0: Detected a TMDS output
[    7.283839] [drm] nouveau 0000:05:00.0: Detected a DAC output
[    7.283841] [drm] nouveau 0000:05:00.0: Detected a TMDS output
[    7.283844] [drm] nouveau 0000:05:00.0: DCB encoder 1 unknown
[    7.283848] [drm] nouveau 0000:05:00.0: Detected a DVI-I connector
[    7.284089] [drm] nouveau 0000:05:00.0: Detected a DVI-I connector
[    7.461205] [drm] nouveau 0000:05:00.0: allocated 1280x1024 fb: 0x40250000, bo f647dc00
[    7.462856] [drm] nouveau 0000:05:00.0: 0x10DB: parsing clock script 0
[    7.463350] Console: switching to colour frame buffer device 160x64
[    7.464993] fb0: nouveaufb frame buffer device
[    7.464995] registered panic notifier
[    7.465000] [drm] Initialized nouveau 0.0.15 20090420 for 0000:05:00.0 on minor 0

Nouveau is loading. It's possible the 2.6.32-5 kernel now includes nouveau, and the 2.6.32-4 kernel didn't. I haven't been keeping very close track of what is happening in the Debian kernel these days, but I'll take a look into it.

Code:

[  200.154123] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[  200.154128] NVRM: This can occur when a driver such as rivafb, nvidiafb or
[  200.154130] NVRM: rivatv was loaded and obtained ownership of the NVIDIA
[  200.154131] NVRM: device(s).
[  200.154135] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
[  200.154136] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
[  200.154137] NVRM: support), then try loading the NVIDIA kernel module again.
[  200.154140] NVRM: No NVIDIA graphics adapter probed!

The NVIDIA driver can't load, because nouveau is already using the device. You have to unload nouveau.ko before loading nvidia.ko.

Unfortunately, this is difficult if Nouveau is doing a KMS. You'll have to minimally make sure that nouveau doesn't do a KMS by adding "nouveau.modeset=0" to your kernel boot options. It might also help to blacklist nouveau in /etc/modprobe.d.

ant 06-04-10 04:16 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Quote:

Originally Posted by Roman Horník (Post 2263776)
I'm currently using 2.6.32-4-686, nVIDIA driver is still running, but only with the 2D acceleration.

Currently I have one solution- get and install linux-headers-2.6.32-4-686 (and linux-image-2.6.32-4-686)
Unfortunately, this package is unavailable for unknown reasons in the Debian repository, I don't know why.

I am going to try the older, installed Kernel version. This is why we should always keep the previous one. I hope it still works!

ant 06-04-10 04:21 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Quote:

Originally Posted by danix (Post 2263778)
From your dmesg:

Code:

[    7.037651] nouveau 0000:05:00.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[    7.037658] nouveau 0000:05:00.0: setting latency timer to 64
[    7.043879] [drm] nouveau 0000:05:00.0: Detected an NV50 generation card (0x092880a2)
[    7.044755] [drm] nouveau 0000:05:00.0: Attempting to load BIOS image from PRAMIN
[    7.098223] [drm] nouveau 0000:05:00.0: ... appears to be valid
[    7.098227] [drm] nouveau 0000:05:00.0: BIT BIOS found
[    7.098229] [drm] nouveau 0000:05:00.0: Bios version 62.92.1f.00
[    7.098234] [drm] nouveau 0000:05:00.0: TMDS table revision 2.0 not currently supported
[    7.098237] [drm] nouveau 0000:05:00.0: Found Display Configuration Block version 4.0
[    7.098241] [drm] nouveau 0000:05:00.0: DCB connector table: VHER 0x40 5 16 4
[    7.098245] [drm] nouveau 0000:05:00.0:  0: 0x00001030: type 0x30 idx 0 tag 0x07
[    7.098248] [drm] nouveau 0000:05:00.0:  1: 0x00002130: type 0x30 idx 1 tag 0x08
[    7.098251] [drm] nouveau 0000:05:00.0:  2: 0x00000210: type 0x10 idx 2 tag 0xff
[    7.098253] [drm] nouveau 0000:05:00.0:  3: 0x00000211: type 0x11 idx 2 tag 0xff
[    7.098256] [drm] nouveau 0000:05:00.0:  4: 0x00000213: type 0x13 idx 2 tag 0xff
[    7.098259] [drm] nouveau 0000:05:00.0: Raw DCB entry 0: 02000300 00000028
[    7.098263] [drm] nouveau 0000:05:00.0: Raw DCB entry 1: 01000302 00000030
[    7.098265] [drm] nouveau 0000:05:00.0: Raw DCB entry 2: 04011310 00000028
[    7.098268] [drm] nouveau 0000:05:00.0: Raw DCB entry 3: 02011312 00000030
[    7.098270] [drm] nouveau 0000:05:00.0: Raw DCB entry 4: 010223f1 00c0c083
[    7.098280] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 0 at offset 0xC10F
[    7.142415] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 1 at offset 0xC4B3
[    7.160016] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 2 at offset 0xD22E
[    7.160024] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 3 at offset 0xD350
[    7.165533] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table 4 at offset 0xD580
[    7.165535] [drm] nouveau 0000:05:00.0: Parsing VBIOS init table at offset 0xD5E5
[    7.188018] [drm] nouveau 0000:05:00.0: 0xD5E5: Condition still not met after 20ms, skipping following opcodes
[    7.188026] [drm] nouveau 0000:05:00.0: 0xB340: parsing output script 0
[    7.188029] [drm] nouveau 0000:05:00.0: 0xB340: parsing output script 0
[    7.188032] [drm] nouveau 0000:05:00.0: 0x9F96: parsing output script 0
[    7.268843] [TTM] Zone  kernel: Available graphics memory: 439382 kiB.
[    7.268846] [TTM] Zone highmem: Available graphics memory: 1297466 kiB.
[    7.268859] [drm] nouveau 0000:05:00.0: 512 MiB VRAM
[    7.280166] [drm] nouveau 0000:05:00.0: 512 MiB GART (aperture)
[    7.280733] [drm] nouveau 0000:05:00.0: Allocating FIFO number 1
[    7.283451] [drm] nouveau 0000:05:00.0: nouveau_channel_alloc: initialised FIFO 1
[    7.283832] [drm] nouveau 0000:05:00.0: Detected a DAC output
[    7.283836] [drm] nouveau 0000:05:00.0: Detected a TMDS output
[    7.283839] [drm] nouveau 0000:05:00.0: Detected a DAC output
[    7.283841] [drm] nouveau 0000:05:00.0: Detected a TMDS output
[    7.283844] [drm] nouveau 0000:05:00.0: DCB encoder 1 unknown
[    7.283848] [drm] nouveau 0000:05:00.0: Detected a DVI-I connector
[    7.284089] [drm] nouveau 0000:05:00.0: Detected a DVI-I connector
[    7.461205] [drm] nouveau 0000:05:00.0: allocated 1280x1024 fb: 0x40250000, bo f647dc00
[    7.462856] [drm] nouveau 0000:05:00.0: 0x10DB: parsing clock script 0
[    7.463350] Console: switching to colour frame buffer device 160x64
[    7.464993] fb0: nouveaufb frame buffer device
[    7.464995] registered panic notifier
[    7.465000] [drm] Initialized nouveau 0.0.15 20090420 for 0000:05:00.0 on minor 0

Nouveau is loading. It's possible the 2.6.32-5 kernel now includes nouveau, and the 2.6.32-4 kernel didn't. I haven't been keeping very close track of what is happening in the Debian kernel these days, but I'll take a look into it.

Code:

[  200.154123] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[  200.154128] NVRM: This can occur when a driver such as rivafb, nvidiafb or
[  200.154130] NVRM: rivatv was loaded and obtained ownership of the NVIDIA
[  200.154131] NVRM: device(s).
[  200.154135] NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
[  200.154136] NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
[  200.154137] NVRM: support), then try loading the NVIDIA kernel module again.
[  200.154140] NVRM: No NVIDIA graphics adapter probed!

The NVIDIA driver can't load, because nouveau is already using the device. You have to unload nouveau.ko before loading nvidia.ko.

Unfortunately, this is difficult if Nouveau is doing a KMS. You'll have to minimally make sure that nouveau doesn't do a KMS by adding "nouveau.modeset=0" to your kernel boot options. It might also help to blacklist nouveau in /etc/modprobe.d.


I can't even remove it:
# rmmod nouveau
ERROR: Module nouveau is in use

# lsmod |grep nouveau
nouveau 314864 1
ttm 33378 1 nouveau
drm_kms_helper 18305 1 nouveau
drm 112020 3 nouveau,ttm,drm_kms_helper
i2c_algo_bit 3497 1 nouveau
i2c_core 12696 5 nouveau,drm_kms_helper,drm,i2c_algo_bit,i2c_nforce 2
button 3598 1 nouveau

Grrr!!!


What is KMS? And where do I add "nouveau.modeset=0" to my kernel boot? I have never done this before.

For now, I will try /etc/modprobe.d/blacklist.conf file, I added to the bottom of the list with:
blacklist nouveau

I hope that's OK. I think I have to reboot for this to take an effect?

danix 06-04-10 04:46 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Quote:

Originally Posted by ant (Post 2263782)
I can't even remove it:

You can't remove it because it's done the KMS. I'll explain below.

Quote:

What is KMS? And where do I add "nouveau.modeset=0" to my kernel boot? I have never done this before.
KMS is Kernel Mode Setting. Many modern video drivers do modesets in the kernel instead of in user space. Nouveau does a kernel modeset on boot, and then uses that mode to display a framebuffer console on your VT. The reason you can't unload nouveau is because it's now used to provide your text console. By disabling kernel modesetting, your text console will be displayed in VGA text mode, instead of a framebuffer console.

On Debian, edit your /boot/grub/menu.lst, and look for the section that starts with "### BEGIN AUTOMAGIC KERNELS LIST". Go down to the line that starts with "# defoptions=" and add the option "nouveau.modeset=0" to the end of that line. Then run update-grub and reboot.

You can also add the option at boot time by selecting your kernel in the bootloader and pressing 'e' to edit the boot options.

Quote:

For now, I will try /etc/modprobe.d/blacklist.conf file, I added to the bottom of the list with:
blacklist nouveau

I hope that's OK. I think I have to reboot for this to take an effect?
Yes, you can add that to blacklist.conf, and yes you'll have to reboot for that to take effect; however, if nouveau is in your initrd and you don't disable KMS, you'll still end up stuck with the same problem.

Roman Horník 06-04-10 04:52 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Ant: Try to use the VESA driver, maybe you will able to remove Nouveau modules.
But I think it does not help, I've never used the Nouveau driver, I do not have installed any package Nouveau, I don't use DKMS.

root@Sid:~# dmesg | grep nvidia
[ 5.619034] nvidia: module license 'NVIDIA' taints kernel.
[ 6.666314] nvidia 0000:02:00.0: PCI INT A -> GSI 24 (level, low) -> IRQ 24
[ 6.666324] nvidia 0000:02:00.0: setting latency timer to 64
[ 155.795850] nvidia 0000:02:00.0: setting latency timer to 64
[ 937.582729] nvidia 0000:02:00.0: setting latency timer to 64
root@Sid:~# dmesg | grep drm
root@Sid:~# dmesg | grep nouveau

ant 06-04-10 04:53 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Quote:

Originally Posted by danix (Post 2263801)
You can't remove it because it's done the KMS. I'll explain below.

KMS is Kernel Mode Setting. Many modern video drivers do modesets in the kernel instead of in user space. Nouveau does a kernel modeset on boot, and then uses that mode to display a framebuffer console on your VT. The reason you can't unload nouveau is because it's now used to provide your text console. By disabling kernel modesetting, your text console will be displayed in VGA text mode, instead of a framebuffer console.

On Debian, edit your /boot/grub/menu.lst, and look for the section that starts with "### BEGIN AUTOMAGIC KERNELS LIST". Go down to the line that starts with "# defoptions=" and add the option "nouveau.modeset=0" to the end of that line. Then run update-grub and reboot.

You can also add the option at boot time by selecting your kernel in the bootloader and pressing 'e' to edit the boot options.



Yes, you can add that to blacklist.conf, and yes you'll have to reboot for that to take effect; however, if nouveau is in your initrd and you don't disable KMS, you'll still end up stuck with the same problem.

Thanks for the informative post. It makes sense. Now, I know why my text console is all tiny! I was trying to fix that but without luck, but it appears to be related to this Nouveau! I prefer that old fashion VGA (80x25!) since my eye sights are bad. :(

I don't have a /boot/grub/menu.lst, but didn't Grub2 change this? I don't use the original Grub anymore. I don't know where your suggestion goes.

As for blacklist.conf, I will undo the change since you say I will still have problems. I assume only Grub's boot with nouveau.modeset=0 would be enough to fix this problem? Or is there something more?

ant 06-04-10 04:55 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Quote:

Originally Posted by Roman Horník (Post 2263805)
Ant: Try to use the VESA driver, maybe you will able to remove Nouveau modules.
But I think it does not help, I've never used the Nouveau driver, I do not have installed any package Nouveau, I don't use DKMS.

root@Sid:~# dmesg | grep nvidia
[ 5.619034] nvidia: module license 'NVIDIA' taints kernel.
[ 6.666314] nvidia 0000:02:00.0: PCI INT A -> GSI 24 (level, low) -> IRQ 24
[ 6.666324] nvidia 0000:02:00.0: setting latency timer to 64
[ 155.795850] nvidia 0000:02:00.0: setting latency timer to 64
[ 937.582729] nvidia 0000:02:00.0: setting latency timer to 64
root@Sid:~# dmesg | grep drm
root@Sid:~# dmesg | grep nouveau

I just want to get rid of/disable it so I can use NVIDIA and X. :)

danix 06-04-10 05:07 PM

Re: insmod: error inserting './usr/src/nv/nvidia.ko and can't find my NVIDIA card?
 
Quote:

Originally Posted by ant (Post 2263807)
Thanks for the informative post. It makes sense. Now, I know why my text console is all tiny! I was trying to fix that but without luck, but it appears to be related to this Nouveau! I prefer that old fashion VGA (80x25!) since my eye sights are bad. :(

I don't have a /boot/grub/menu.lst, but didn't Grub2 change this? I don't use the original Grub anymore. I don't know where your suggestion goes.

As for blacklist.conf, I will undo the change since you say I will still have problems. I assume only Grub's boot with nouveau.modeset=0 would be enough to fix this problem? Or is there something more?

Yes, sorry, GRUB 2 is different.

Edit /etc/default/grub and add the option to GRUB_CMDLINE_LINUX_DEFAULT. For example, if that line currently reads 'GRUB_CMDLINE_LINUX_DEFAULT="quiet"', change it to 'GRUB_CMDLINE_LINUX_DEFAULT="quiet nouveau.modeset=0"'.

You'll still need to run update-grub (or is it update-grub2 now?) after editing the file.

I would keep the line in blacklist.conf, it won't hurt anything.


All times are GMT -5. The time now is 03:46 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.