Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-09-09, 02:31 PM   #1
JoeF
Registered User
 
Join Date: Jun 2009
Posts: 4
Default Kernel module fails to detect card, 2.6.29.4

I am trying to install an 8400GS with kernel 2.6.29.4.
The kernel module NVIDIA-Linux-x86-185.19-pkg1 compiles, but fails to run:
$: modprobe -v nvidia
insmod /lib/modules/2.6.29.4/kernel/drivers/video/nvidia.ko
FATAL: Error inserting nvidia (/lib/modules/2.6.29.4/kernel/drivers/video/nvidia.ko): No such device

The card is an eVGA 8400 GS:
$ lspci -v
...
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0404 (rev a1) (prog-if 00 [VGA])
Subsystem: eVga.com. Corp. Unknown device c738
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at 100000000 (64-bit, prefetchable) [size=256M]
Memory at dc000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at dc80 [size=128]
Expansion ROM at dfe00000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting
Capabilities: [600] Unknown (11)

The device entries:
$: ls -l /dev/nvidia*
crw-rw---- 1 root video 195, 0 Nov 20 2005 /dev/nvidia0
crw-rw---- 1 root video 195, 1 Nov 20 2005 /dev/nvidia1
crw-rw---- 1 root video 195, 255 Nov 20 2005 /dev/nvidiactl

Am I missing anything?
I am a bit baffled by the "Unknown device" in the lspci output. Is that card not supported, or somehow broken?
TIA,
-Joe
JoeF is offline   Reply With Quote
Old 06-09-09, 10:49 PM   #2
JoeF
Registered User
 
Join Date: Jun 2009
Posts: 4
Default Re: Kernel module fails to detect card, 2.6.29.4

Additional info:
dmesg shows this:
NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 256M @ 0x00000000 (PCI:0000:01.1)
NVRM: This is a 64-bit BAR mapped above 4GB by the system BIOS or
NVRM: Linux kernel. The NVIDIA Linux graphics driver and other
NVRM: system software do not currently support this configuration
NVRM: reliably.
nvidia: probe of 0000:01:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA graphics adapters were initialized!

Does that mean that I can't have 4GB main memory in the system?
I'll try removing 1 GB and see if that works.

Update: Unfortunately, it doesn't. I get the same error with 3GB memory.
JoeF is offline   Reply With Quote
Old 06-10-09, 01:25 AM   #3
artem
Registered User
 
Join Date: Jun 2006
Posts: 710
Default Re: Kernel module fails to detect card, 2.6.29.4

You are trying to install an ancient version of driver, why not trying a new one, like 185.18.14?
artem is offline   Reply With Quote
Old 06-10-09, 01:28 AM   #4
artem
Registered User
 
Join Date: Jun 2006
Posts: 710
Default Re: Kernel module fails to detect card, 2.6.29.4

Quote:
Originally Posted by JoeF View Post
I am a bit baffled by the "Unknown device" in the lspci output. Is that card not supported, or somehow broken?
Probably your devices database is outdated.

Fetch and install manually pci.ids from http://pciids.sf.net/

In Fedora this file is placed in /usr/share/hwdata.
artem is offline   Reply With Quote
Old 06-10-09, 01:29 AM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Kernel module fails to detect card, 2.6.29.4

NVIDIA Linux graphics driver releases prior to 185.18.xx do not support configurations with GPUs' BAR1s mapped above the 4GB boundary, please try the 185.18.14 driver release.
zander is offline   Reply With Quote
Old 06-10-09, 02:47 AM   #6
JoeF
Registered User
 
Join Date: Jun 2009
Posts: 4
Default Re: Kernel module fails to detect card, 2.6.29.4

Quote:
Originally Posted by artem View Post
You are trying to install an ancient version of driver, why not trying a new one, like 185.18.14?
The dmesg output indeed came from an older driver that I tried.
However, I originally tried 185.19, which (I think) is the latest one on the NVidia download site (NVIDIA-Linux-x86-185.19-pkg1.run). That didn't show anything in dmesg, though.
Sorry for the confusion.
And I'll get a newer pci.ids. The one I have is from 2007.
JoeF is offline   Reply With Quote
Old 06-10-09, 10:14 AM   #7
JoeF
Registered User
 
Join Date: Jun 2009
Posts: 4
Default Re: Kernel module fails to detect card, 2.6.29.4

It turns out that some other driver, bigphysarea, interferes.
When I take that out, the nvidia kernel driver loads, and I can use the card.
JoeF is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:30 PM.


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