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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-27-09, 02:08 PM   #1
cahlfors
Registered User
 
Join Date: Aug 2009
Posts: 5
Default (EE) NVIDIA(0): Failed to load the NVIDIA kernel module! SOLVED!

I've seen other people have this error, but I'm unable to make anything out of their solutions. I'm using the Ubuntu repository nvidia driver (or trying to, rather...). The problem appeared during the upgrade to Hardy a long time ago and got worse with the upgrade to Jaunty.

Below is the Xorg.0.log.
Thanks,
/Chris

cat Xorg.0.log

X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux Ludde 2.6.28-15-server #49-Ubuntu SMP Tue Aug 18 19:30:06 UTC 2009 i686
Build Date: 09 April 2009 02:10:02AM
xorg-server 2:1.6.0-0ubuntu14 (buildd@rothera.buildd)
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 27 19:31:23 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Configured Monitor"
(**) | |-->Device "Configured Video Device"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x3bc0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0@1:0:0) nVidia Corporation GeForce 8500 GT rev 161, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xf8000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[4] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[8] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[12] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[16] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[21] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
[22] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[23] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
[24] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[25] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
[26] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[27] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
[28] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[29] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
(II) "extmod" will be loaded by default.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 180.44 Mon Mar 23 15:29:02 PST 2009
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 180.44 Mon Mar 23 15:05:32 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.6.0, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[4] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[8] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[12] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[16] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
[17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[21] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
[22] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[23] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
[24] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[25] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
[26] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[27] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
[28] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[29] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "True"
(**) 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 ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "wfb"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

ddxSigGiveUp: Closing log

Last edited by cahlfors; 09-20-09 at 05:11 PM. Reason: Solved
cahlfors is offline   Reply With Quote
Old 08-27-09, 03:40 PM   #2
Lost Dog
Registered User
 
Join Date: Aug 2007
Posts: 151
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

What does your xorg.conf look like? It looks like you're trying to load a ton of other modules (dri, etc).
Lost Dog is offline   Reply With Quote
Old 08-27-09, 04:28 PM   #3
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

Have you tried running nvidia-xconfig to automatically update the xorg.conf file?
ViN86 is offline   Reply With Quote
Old 08-28-09, 11:19 AM   #4
cahlfors
Registered User
 
Join Date: Aug 2009
Posts: 5
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

nvidia-xconfig doesn't seem to do anything on this system, except backing up the xorg.conf. I'd expect it to toy with the screen, ask a few questions etc. Anyway, here it is:
Code:
cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Mon Mar 23 15:33:27 PST 2009

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
    Option         "NoLogo" "True"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection
cahlfors is offline   Reply With Quote
Old 08-28-09, 11:27 AM   #5
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

Please see the forum sticky posts about how to report a problem, including how to generate a bug report log file.
AaronP is offline   Reply With Quote
Old 08-28-09, 09:36 PM   #6
luv2hike
Registered User
 
Join Date: Aug 2009
Posts: 14
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

Install the nvidia-glx package for your version. For example:

sudo apt-get install nvidia-glx-190

then reboot.
luv2hike is offline   Reply With Quote
Old 09-03-09, 05:51 AM   #7
cahlfors
Registered User
 
Join Date: Aug 2009
Posts: 5
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

Quote:
nstall the nvidia-glx package for your version.
No change.

Quote:
Please see the forum sticky posts about how to report a problem, including how to generate a bug report log file.
After a bit of perseverance in finding the script (it's in the path, so I really didn't have to "find" it...) and the log (if not /var/log, how about the current directory?), please find the attached output of nvidia-bug-report.sh.

Cheers,
/Chris
Attached Files
File Type: log nvidia-bug-report.log (98.6 KB, 114 views)
cahlfors is offline   Reply With Quote
Old 09-03-09, 10:07 AM   #8
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

Thank you, cahlfors. There are no messages from the kernel module anywhere in your log. What happens if you run "sudo modprobe nvidia" from a terminal? If your kernel module is just plain missing, you might want to try ubuntuforums.org as it would be an Ubuntu packaging problem that we're not really equipped to handle here.
AaronP is offline   Reply With Quote

Old 09-04-09, 02:19 PM   #9
cahlfors
Registered User
 
Join Date: Aug 2009
Posts: 5
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

Quote:
What happens if you run "sudo modprobe nvidia" from a terminal?
I really don't understand that question. I thought the whole problem was that the kernel module doesn't load? Question is why? And so - the output is module nvidia not found.

Quote:
you might want to try ubuntuforums.org as it would be an Ubuntu packaging problem
Alright, that makes sense. I'll do that.

Thanks,
/Chris
cahlfors is offline   Reply With Quote
Old 09-04-09, 03:52 PM   #10
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

Quote:
Originally Posted by cahlfors View Post
I really don't understand that question. I thought the whole problem was that the kernel module doesn't load? Question is why? And so - the output is module nvidia not found.
Yes, exactly. The point was to find out exactly why it doesn't load, and the answer appears to be that it doesn't exist. Since you are using Ubuntu's packages to install the driver, that makes it an Ubuntu packaging problem and not an NVIDIA driver problem. Make sense?
AaronP is offline   Reply With Quote
Old 09-20-09, 05:08 PM   #11
cahlfors
Registered User
 
Join Date: Aug 2009
Posts: 5
Default Re: (EE) NVIDIA(0): Failed to load the NVIDIA kernel module!

For the sake of completeness - here is the solution:
Code:
sudo apt-get install linux-headers-`uname -r`
After that, the hardware driver tool and Nvidia tools start working as expected and the nVidia driver loads.

It appears that a lot of people have had this break during a Ubuntu upgrade, but I had to look very much to find a working solution. There are a lot of suggestions to change driver versions, twiggle a little here and tweak a little there. Sometimes one of these solutions work for somebody but not for others and at other times there is something else. I believe that what's happening is that when the Linux headers (with the right kernel version...) get accidentally installled is when it starts working for people.

Cheers and thanks,
/Chris
cahlfors 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 04:07 PM.


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