Failed to load NVIDIA 195.36.08 kernel modules because nouveau is loading with separate /usr partition.

Bug #534469 reported by Carlos Nucette
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After updating lucid i get the folowing error:

(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA: system's kernel log for additional error messages.
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

This is the Xorg log:

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux echelon 2.6.32-16-generic #24-Ubuntu SMP Sat Mar 6 12:33:21 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.32-16-generic root=UUID=078f62f1-dd3c-42f8-b7d5-354cedc6540a ro quiet splash
Build Date: 02 March 2010 04:54:59PM
xorg-server 2:1.7.5-1ubuntu2 (buildd@)
Current version of pixman: 0.16.4
 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.5.log", Time: Mon Mar 8 10:33:02 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Device0"
(**) |-->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/extra-modules,/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: 0x81eee80
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.4
 X.Org Video Driver: 6.0
 X.Org XInput driver : 7.0
 X.Org Server Extension : 2.0
(--) using VT number 8

(--) PCI:*(0:1:0:0) 10de:0421:1682:230a nVidia Corporation G86 [GeForce 8500 GT] rev 161, Mem @ 0x92000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x00002000/128
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
 compiled for 1.7.5, 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.7.5, 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: "glx"
(II) Loading /usr/lib/xorg/extra-modules/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 195.36.08 Thu Feb 25 04:57:00 PST 2010
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
 compiled for 1.7.5, 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.7.5, 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.7.5, module version = 1.1.0
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/extra-modules/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
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA: system's kernel log for additional error messages.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/lib/xorg/extra-modules/nvidia_drv.so
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
no screens found

ProblemType: Bug
Architecture: i386
Date: Mon Mar 8 10:54:54 2010
DistroRelease: Ubuntu 10.04
DkmsStatus: nvidia-current, 195.36.08, 2.6.32-16-generic, i686: installed
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100224.1)
Package: nvidia-glx-185 (not installed)
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-16-generic root=UUID=078f62f1-dd3c-42f8-b7d5-354cedc6540a ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=es_VE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: nvidia-graphics-drivers
Uname: Linux 2.6.32-16-generic i686
dmi.bios.date: 11/07/2007
dmi.bios.vendor: Intel Corp.
dmi.bios.version: TS94610J.86A.0087.2007.1107.1049
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: D946GZIS
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD66165-301
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrTS94610J.86A.0087.2007.1107.1049:bd11/07/2007:svn:pn:pvr:rvnIntelCorporation:rnD946GZIS:rvrAAD66165-301:cvn:ct2:cvr:
system:
 distro: Ubuntu
 codename: lucidarchitecture: i686kernel: 2.6.32-16-generic

Revision history for this message
Carlos Nucette (cjnucette-gmail) wrote :
Revision history for this message
Robert Hooker (sarvatt) wrote :

The nouveau module isn't getting blacklisted correctly, when it loads nvidia can't load which is what's happening in this dmesg. Do you have an /etc/modprobe.d/nvidia-graphics-drivers.conf and does it contain blacklist nouveau in it? If so, can you run sudo update-initramfs -u and reboot to see if it fixes the problem?

summary: - Failed To Load NVIDIA 195.36.08 Kernel modules
+ Failed to load NVIDIA 195.36.08 kernel modules because nouveau is
+ loading.
Revision history for this message
Carlos Nucette (cjnucette-gmail) wrote : Re: Failed to load NVIDIA 195.36.08 kernel modules because nouveau is loading.

Yes, nouveau is backlisted and i ran update-initramfs -u, but it didn't work.

Revision history for this message
Carlos Nucette (cjnucette-gmail) wrote :

Does this nouveau module could be loaded because i'm in safe graphics mode?

Revision history for this message
Roman Yepishev (rye) wrote :

Hello Carlos,

Is your /usr partition on a separate drive?
If it is then you should probably see 'WARNING: Failed to open config file nvidia-graphics-drivers.conf: No such file or directory". This actually means that / got mounted with /etc/modprobe.d/nvidia-graphics-drivers.conf pointing to /etc/alternatives/nvidia_modconf which in turn pointed to /usr/lib/nvidia-current/modprobe.conf but /usr was not yet mounted at that time.

The workaround is to remove the symlink /etc/modprobe.d/nvidia-graphics-drivers.conf and copy the contents of /usr/lib/nvidia-current/modprobe.conf to /etc/modprobe.d/nvidia-graphics-drivers.conf as a regular file, i.e.:

# rm /etc/modprobe.d/nvidia-graphics-drivers.conf
# cp /usr/lib/nvidia-current/modprobe.conf /etc/modprobe.d/nvidia-graphics-drivers.conf

Revision history for this message
Carlos Nucette (cjnucette-gmail) wrote :

Thanks Roman, that was actually the problem, i have /usr on a different partition and copying modprobe.conf to /etc/modprobe.d/ resolved the problem, but I've been using this partition layout for a long time and through different ubuntu releases and I've never had this problem before.

Roman Yepishev (rye)
Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
summary: Failed to load NVIDIA 195.36.08 kernel modules because nouveau is
- loading.
+ loading with separate /usr partition.
Revision history for this message
Robert Hooker (sarvatt) wrote :

This was fixed and this bug fell through the cracks, sorry about that! The support files are now in /lib so this issue won't happen anymore.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.