Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.23 Failed to load the NVIDIA kernel module! [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dingfelder
Apprentice
Apprentice


Joined: 27 Jun 2007
Posts: 162
Location: New Zealand

PostPosted: Wed Oct 10, 2007 11:24 pm    Post subject: 2.6.23 Failed to load the NVIDIA kernel module! [SOLVED] Reply with quote

I did an emerge world today and updated everything, including moving to the 2.6.23 kernel.

Booting to it works fine for console mode but X locks up with the following errors:

Quote:
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "TwinView" "0"
(**) NVIDIA(0): Option "MetaModes" "CRT-0: 1280x1024_75 +0+0"
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***


and then at the end, I get an endless loop (7 million+ messages) of:

Code:
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
Referenced uninitialized screen in Layout!
...


anyone have a quick solution?
_________________
Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world.


Last edited by dingfelder on Thu Oct 11, 2007 10:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Xmist
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2005
Posts: 109
Location: US

PostPosted: Thu Oct 11, 2007 3:03 am    Post subject: Reply with quote

Can you show the xorg.conf where you have the nvidia configurations
_________________
shorewall how-to
shorewall ports
iptables configuration
Back to top
View user's profile Send private message
dingfelder
Apprentice
Apprentice


Joined: 27 Jun 2007
Posts: 162
Location: New Zealand

PostPosted: Thu Oct 11, 2007 3:12 am    Post subject: Reply with quote

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" Rightof "Screen1"
    Screen      1  "Screen1" 0 0
    Screen      2  "Screen2" Rightof "Screen0"
#    Screen      0  "Screen0" 1280 0
#    Screen      1  "Screen1" 0 0
#    Screen      2  "Screen2" 2560 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/usr/share/X11/rgb"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load           "extmod"
#    Load           "glx"
    Load           "record"
    Load           "dbe"
#   Load  "dri"
    Load           "GLcore"
    Load           "xtrap"
    Load           "type1"
    Load           "freetype"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
#    Driver         "evdev"
    Driver         "mouse"
    Option         "Device" "/dev/input/mice"
    Option         "Name" "Logitech Optical USB Mouse"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor_PHILIPS_0"
    VendorName     "PHILIPS"
    ModelName      "PHILIPS 109B6"
    HorizSync       30.0 - 97.0
    VertRefresh     50.0 - 160.0
EndSection

Section "Monitor"
    Identifier     "Monitor_COMPAQ"
    VendorName     "COMPAQ"
    ModelName      "COMPAQ 7500"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 140.0
EndSection

Section "Monitor"
    Identifier     "Monitor_PHILIPS_2"
    VendorName     "PHILIPS"
    ModelName      "PHILIPS 109B6"
    HorizSync       30.0 - 97.0
    VertRefresh     50.0 - 160.0
EndSection

Section "Device"
    Identifier     "Videocard_GeForce_7100_GS_0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7100 GS"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Videocard_GeForce_7100_GS_1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7100 GS"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Videocard_Quadro_NVS_50"
    Driver         "nv"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro NVS 50 PCI"
    BusID          "PCI:7:4:0"
EndSection

Section "Screen"

    Identifier     "Screen0"
    Device         "Videocard_GeForce_7100_GS_1"
    Monitor        "Monitor_PHILIPS_0"
    DefaultDepth    16
#   DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-0: 1280x1024_75 +0+0"
    SubSection     "Display"
        Depth       16
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard_Quadro_NVS_50"
    Monitor        "Monitor_COMPAQ"
    DefaultDepth    16
#    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1280x1024 +0+0"
    SubSection     "Display"
        Depth       16
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection

EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Videocard_GeForce_7100_GS_0"
    Monitor        "Monitor_PHILIPS_2"
    DefaultDepth    16
#    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-1: 1280x1024 +0+0"
    SubSection     "Display"
        Depth       16
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection



_________________
Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world.
Back to top
View user's profile Send private message
Xmist
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2005
Posts: 109
Location: US

PostPosted: Thu Oct 11, 2007 4:59 am    Post subject: Reply with quote

Ok this might be stupid questions anyway here we go



What is your graphic cards?(maybe irreverent but you have alot of graphic cards listed)



Do you have a two video card set up like sli? or one with two ports?



Are you using the nvidia driver from the nvidia website or emerge (Not much of a big difference),

or using the kernel's or xorg's drivers (not sure if I worded this right)?


Are you trying to do a mono, dual or a multi monitor set up?(I can some what tell from the twin view option enable for multi)



I'm just trying to get a better understanding of your graphics system, so I'll know your approach.
_________________
shorewall how-to
shorewall ports
iptables configuration
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5946

PostPosted: Thu Oct 11, 2007 5:16 am    Post subject: Reply with quote

have you rebuilded the nvidia module against the new kernel which you have installed?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
wah_wah_69
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2003
Posts: 145

PostPosted: Thu Oct 11, 2007 2:09 pm    Post subject: Reply with quote

DaggyStyle wrote:
have you rebuilded the nvidia module against the new kernel which you have installed?

+1
_________________
Be good and if you can't be good, be careful.
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 973
Location: New Zealand

PostPosted: Thu Oct 11, 2007 8:31 pm    Post subject: Reply with quote

2 mistakes here, you want "glx" but not "GLcore"
Code:
Section "Module"
    Load           "extmod"
#    Load           "glx"
    Load           "record"
    Load           "dbe"
#   Load  "dri"
    Load           "GLcore"
    Load           "xtrap"
    Load           "type1"
    Load           "freetype"
EndSection
Back to top
View user's profile Send private message
dingfelder
Apprentice
Apprentice


Joined: 27 Jun 2007
Posts: 162
Location: New Zealand

PostPosted: Thu Oct 11, 2007 9:07 pm    Post subject: Reply with quote

wah_wah_69 wrote:
DaggyStyle wrote:
have you rebuilded the nvidia module against the new kernel which you have installed?

+1


I did not rebuild it. I will try that and see if it fixes it.

Quote:
What is your graphic cards?
etc


Yes, as you surmised, I do have a complex setup.

I have 2 video cards, running 3 screens:
1. GeForce 7100 GS
2. Quadro NVS 50 PCI (the 7100 is a dual monitor card)

The 7100 is using the nvidia driver and the NVS is using the nv driver (it is a legacy nvidia card and I have not gotten the legacy-nvidia driver to wotk with the new xorg)
_________________
Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world.
Back to top
View user's profile Send private message
dingfelder
Apprentice
Apprentice


Joined: 27 Jun 2007
Posts: 162
Location: New Zealand

PostPosted: Thu Oct 11, 2007 9:40 pm    Post subject: Reply with quote

When trying to rebuild it, I ran into issues with fuse not building so I am working through them now. Will post an update when I get past that
_________________
Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world.
Back to top
View user's profile Send private message
dingfelder
Apprentice
Apprentice


Joined: 27 Jun 2007
Posts: 162
Location: New Zealand

PostPosted: Thu Oct 11, 2007 10:48 pm    Post subject: Reply with quote

ok, fixed now.

I had to enable fuse in my .config and rebuild the kernel, then do
FEATURES=-sandbox module-rebuild rebuild
instead of
module-rebuild rebuild

I have never had to do this before to build nvidia so hiopefully someone can sort this out so users dont have to add the FEATURES=-sandbox flag.
_________________
Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum