failed to load module "nvidia" after upgrade to 11.04

Bug #773095 reported by Merlin
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
NVIDIA Drivers Ubuntu
New
Undecided
Unassigned

Bug Description

I upgraded from 10.10 to 11.04 today.
The upgrade process seemed to go smoothly, and there was no hint of trouble until after the reboot, when I got nothing but a fullscreen terminal and a command line.

After logging in and typing "startx", after a large amount of text scrolled up the screen I got the following:

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

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
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
merlin@merlin-desktop:~$

Revision history for this message
Daniel Zappala (daniel-zappala) wrote :

/var/lib/dkms/nvidia-current/270.41.06/build/make.log:

DKMS make.log for nvidia-current-270.41.06 for kernel 2.6.38-8-generic (x86_64)
Sat Apr 30 10:20:05 MDT 2011
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1

Revision history for this message
Daniel Zappala (daniel-zappala) wrote :

For now, a workaround is to rename /etc/X11/xorg.conf and restart gdm. This will allow you to use the Nouveau driver with classic mode in Ubuntu 11.04.

Revision history for this message
Daniel Zappala (daniel-zappala) wrote :

Fixed it:

sudo apt-get install --reinstall linux-headers-2.6.38-8
sudo apt-get install --reinstall nvidia-current

Revision history for this message
N Carter (ncarter100) wrote :

you may need to do
sudo apt-get install linux-headers-2.6.38-8-generic-pae
sudo apt-get install --reinstall nvidia-current
if running a pae kernel

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.