X fall in failsafe mode after install if nvidia restricted drivers are installed during LiveCD session in intrepid

Bug #258486 reported by Saivann Carignan on 2008-08-16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-173 (Ubuntu)
ubiquity (Ubuntu)

Bug Description

New jockey 0.4+r345-0ubuntu1 can now install and enable restricted drivers directly from the intrepid a4 LiveCD, so people can test nvidia drivers and compiz even before installing ubuntu.

However, when doing this, a more important problem happens. If nvidia drivers are installed during the LiveCD session, once the computer has rebooted to the new intrepid installation, X will fails to start and fall to safe mode. Strangely, almost all changes that has been made inside the LiveCD session seems to have persisted. nvidia-* packages are all marked as installed in synaptic and /etc/X11/xorg.conf is already configured to use proprietary nvidia driver (Driver "nvidia" Option "NoLogo" "True").

This problem will always reproduce, regardless of the number of reboot. It's possible to fix this problem with a simple re-installation of all "nvidia-*" packages in synaptic, after what X really uses nvidia driver.

Steps to reproduce :
1. Have a computer with a nvidia card which needs nvidia restricted drivers.
2. Boot intrepid alpha 4 LiveCD
3. Inside the LiveCD session, install nvidia drivers through Hardware Drivers and reload X with CTRL + ALT + Backspace
4. Install Ubuntu and reboot

Results :
The freshly installed ubuntu intrepid a4 will boot, but X will fail 3 times to load and then fall in failsafe mode.

Saivann Carignan (oxmosys) wrote :

Might be related to bug 253463

Martin Pitt (pitti) wrote :

Two options here:
- Fix the nvidia-glx-* packages to auto-rebuild the drivers on boot; this is already the way it is *supposed* to work, right Alberto?
- Fix the casper hook to also copy the generated .ko files. This is desirable for efficiency reasons, but will also paper of the the auto-rebuild bug.

IMHO we should do both.

Changed in jockey:
milestone: none → ubuntu-8.10
status: New → Triaged
Changed in casper:
assignee: nobody → pitti
milestone: none → ubuntu-8.10
status: New → In Progress
Martin Pitt (pitti) wrote :

Oh, hang on. I bet the DKMS module is not even registered, so it can't be autorebuilt on boot.

Changed in nvidia-graphics-drivers-173:
milestone: ubuntu-8.10 → none
status: Triaged → Invalid
Martin Pitt (pitti) wrote :

Oops, the ubiquity hook is shipped in jockey, not in casper.

Alberto Milone (albertomilone) wrote :

I would like to see the /var/log/Xorg.0.log (after reproducing the problem) and the output of this command:
locate nvidia.ko

Alberto Milone (albertomilone) wrote :

I meant:
sudo updatedb
locate nvidia.ko

Martin Pitt (pitti) wrote :

The output of "dkms status" would also be helpful.

Martin Pitt (pitti) wrote :

On second look this isn't all that clear. apt-install'ing nvidia-glx-* into the target system should cause the dkms tree to be reinitialized and built there.

Changed in jockey:
status: In Progress → Triaged
Martin Pitt (pitti) wrote :

Some debugging between Colin and Alberto revealed that /usr/lib/ubiquity/target-config/31jockey_pkgs is run and apt-install is run with the correct driver package. It appears in /var/lib/ubiquity/apt-installed, but the package isn't actually installed into /target.

(from IRC):
cjwatson| pitti: so that suggests to me that install_extras is busted, *again*

Changed in ubiquity:
assignee: pitti → nobody
Alberto Milone (albertomilone) wrote :

Here's the output of the following command:
ls /target/var/lib/apt/lists/

Alberto Milone (albertomilone) wrote :

the output of dpkg --list | grep nvidia (from the chroot)

Alberto Milone (albertomilone) wrote :


Alberto Milone (albertomilone) wrote :


Saivann Carignan (oxmosys) wrote :

Just a comment to say that this bug is still present now that 8.10 is released, I just tested it to be sure.

Evan (ev) on 2010-07-07
Changed in ubiquity (Ubuntu):
assignee: nobody → Evan Dandrea (ev)
importance: Undecided → High
milestone: ubuntu-8.10 → none
Evan (ev) on 2011-02-08
Changed in ubiquity (Ubuntu):
assignee: Evan Dandrea (ev) → nobody
tags: added: ubiquity-1.10.3
tags: added: intrepid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers