View Single Post
Old 06-04-10, 05:16 PM   #5
danix
NVIDIA Corporation
 
danix's Avatar
 
Join Date: Feb 2010
Location: Santa Clara, CA
Posts: 237
Default 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.
danix is offline   Reply With Quote