online upgrade 6.06 to 8.04 failed - kernel panic on reboot

Bug #224634 reported by Malakoffee
4
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.24 (Ubuntu)
Fix Released
High
Unassigned
Hardy
Invalid
High
Unassigned

Bug Description

Note : Reference to the "UpgradeNotes" specifies that the upgrade has to be done one version at a time.
However reading the "Upgrading" web page I formed the opinion that the online update would cope with the jump from 6.06 to 8.04 automatically. Maybe I guessed incorrectly ?

During the upgrade installation I noticed a first significant error :-
The messages stated that this should be reported as a bug.

> update-manager package /var/log/dist-upgrade
> InstallArchives() failed

Activity continued for many more minutes before the installation aborted itself.
Upon restarting the computer the following message appeared :

>Kernel panic - not synching : VFS : Unable to mount root fs on unknown block(0,0)

Trying to reboot with prior OS versions locks up & halts when resolving the USB ports. (Only Windows XP works now in GRUB)

Attached are the dist-upgrade/logs.

Tags: hardy
Revision history for this message
Malakoffee (x-keepsys) wrote :
Revision history for this message
Malakoffee (x-keepsys) wrote :
Revision history for this message
Malakoffee (x-keepsys) wrote :
Revision history for this message
Malakoffee (x-keepsys) wrote :
Revision history for this message
Malakoffee (x-keepsys) wrote :
Revision history for this message
ringostar (slehembre) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in update-manager.

Revision history for this message
Michael Vogt (mvo) wrote :

Here is what causes the error, I reassign:

2008-04-30 07:48:03,421 DEBUG running apport_pkgfailure() nvidia-glx: subprocess pre-installation script returned error exit status 2

Changed in update-manager:
importance: Undecided → High
milestone: none → ubuntu-8.04.1
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Preparing to replace nvidia-glx 1:1.0.9640 (using .../nvidia-glx_1%3a96.43.05+2.6.24.12-16.34_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB:en",
        LC_ALL = (unset),
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB:en",
        LC_ALL = (unset),
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
dpkg-divert: `diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/libglx.so.xserver-xorg-core by nvidia-glx' clashes with `diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/libglx.so.xlibmesa by nvidia-glx'
dpkg: error processing /var/cache/apt/archives/nvidia-glx_1%3a96.43.05+2.6.24.12-16.34_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
dpkg: regarding .../xserver-xorg-core_2%3a1.4.1~git20080131-1ubuntu9_i386.deb containing xserver-xorg-core:
 xserver-xorg-core conflicts with xserver-xorg-video-1.0
  nvidia-glx provides xserver-xorg-video-1.0 and is present and installed.

Revision history for this message
Michael Vogt (mvo) wrote :

If your system hangs now at boot, could you please attach the /etc/fstab?

Revision history for this message
Malakoffee (x-keepsys) wrote :

Hopefully, the attached file is readable . . . I got it via WinXP, peeking over into the Ubuntu partition.

Revision history for this message
Steve Langasek (vorlon) wrote :

Nominating for hardy, but dropping the 8.04.1 milestone; diversions are very tricky and I'm not sure that this bug is fixable at all except by removing and then re-installing the nvidia-glx package, because you simply cannot remove a diversion while the package is installed which provides a file of the same name. I guess it could be done by manually removing the file from the previous package version before trying to remove the diversion, as seems to be done for a number of cases in this package preinst, but diversions are sufficiently error-prone that I don't think we should commit to this for 8.04.1 since we might end up making things worse rather than better.

Anyway, the convention used in nvidia-glx, to divert files to a filename based on the /diverted/ package name instead of the /diverting/ package name, is itself error-prone for precisely this reason and ought to be discontinued for any future diversions precisely because it induces bugs of this sort.

Changed in linux-restricted-modules-2.6.24:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

As a further note, this diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/libglx.so.xlibmesa does not appear to be present in the Ubuntu 6.06 version of the nvidia-glx package.

Changed in linux-restricted-modules-2.6.24:
milestone: ubuntu-8.04.1 → none
Revision history for this message
Alberto Milone (albertomilone) wrote :

Try this command:

sudo dpkg-divert --remove --rename --package nvidia-glx --divert /usr/lib/nvidia/libglx.so.xlibmesa /usr/lib/xorg/modules/extensions/libglx.so

then try to update the system again

Bryce Harrington (bryce)
tags: added: hardy
Revision history for this message
bugbot (bugbot) wrote :

This bug report was filed against an old version of Ubuntu.
Can you confirm whether this is still an issue in natty?

If you don't mind, it would be very helpful if you could update the bug
report in launchpad to 'Fix Released' if it is no longer an issue for
you, or if it is still occurring under natty, please tag the bug 'natty'
so it's easier for us to track.

Changed in linux-restricted-modules-2.6.24 (Ubuntu):
status: Confirmed → New
status: New → Incomplete
Revision history for this message
Malakoffee (x-keepsys) wrote :

No further problems encountered over a number of upgrades. Marked as "Fix Released" as requested.

Changed in linux-restricted-modules-2.6.24 (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Ubuntu 8.04 (Hardy) is EOL.

Changed in linux-restricted-modules-2.6.24 (Ubuntu Hardy):
status: Confirmed → Invalid
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.