View Single Post
Old 01-30-07, 01:12 AM   #4
chr15
Registered User
 
Join Date: Jan 2007
Posts: 4
Default Re: can't load the module

I'm having the same problem and the fixes don't seem to be working for
me.

When I run the NVIDIA-Linux-x86-1.0-9746-pkg1.run nvidia module
installer, it compiles fine but dies with an error when it tries to
load the module:
*** Unable to load the kernel module 'nvidia.ko'.
*** This happens most frequently when
*** this kernel module was built against the wrong or improperly
*** configured kernel sources,
What does this mean? I'm using the kernel sources I want to use
(Gentoo's standard most current package) and my system works fine so
I don't immediately see what's improper about it.

*** with a version of gcc that differs from the one used to build the
*** target kernel,
Again, this is Gentoo, the chance of this happening is slim as far as
I can tell.

*** or if a driver such as rivafb/nvidiafb is present and
*** prevents the NVIDIA kernel module from obtaining ownership of the
*** NVIDIA graphics device(s).
Nothing in lsmod indicates this. I didn't enable these when
compiling my kernel.

Loading the driver manually produces:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
wren ~ # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.18-gentoo-r6/video/nvidia.ko): No such device
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

This is what dmesg says about that:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
NVRM: The NVIDIA probe routine was not called for 1 device(s).
NVRM: This can occur when a driver such as rivafb, nvidiafb or
NVRM: rivatv was loaded and obtained ownership of the NVIDIA
NVRM: device(s).
NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
NVRM: support), then try loading the NVIDIA kernel module again.
NVRM: No NVIDIA graphics adapter probed!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I can't quite understand the "No such device" confusion. It's right
here:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
wren ~ # lspci | grep GeF
04:00.0 VGA compatible controller: nVidia Corporation GeForce 7300 GS (rev a1)
wren ~ # zgrep "7300 GS" /usr/share/doc/nvidia-drivers-1.0.8776/README.gz
GeForce 7300 GS 0x01DF
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I'm running with modern, but stable build components:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
wren ~ # uname -a
Linux wren 2.6.18-gentoo-r6 #1 SMP Fri Jan 26 00:47:22 PST 2007 i686
Intel(R) Pentium(R) D CPU 2.80GHz GenuineIntel GNU/Linux
wren ~ # gcc --version
gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I'm using the vesafb:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
wren ~ # grep VESA /usr/src/linux/.config
CONFIG_FB_VESA=y
CONFIG_FB_VESA_STD=y
# CONFIG_FB_VESA_TNG is not set
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
as specified in http://gentoo-wiki.com/HOWTO_nVidia_Drivers

None of the possible conflicting drivers:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
wren ~ # grep "NVID\|RIVA" /usr/src/linux/.config
# CONFIG_AGP_NVIDIA is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

I've tried several different versions of the Nvidia drivers:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
wren ~ # ls NV*
NVIDIA-Linux-x86-1.0-7182-pkg1.run NVIDIA-Linux-x86-1.0-7184-pkg1.run
NVIDIA-Linux-x86-1.0-9631-pkg1.run NVIDIA-Linux-x86-1.0-9746-pkg1.run
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Any more suggestions to try?
chr15 is offline   Reply With Quote