2013-01-22 21:41:18 |
Péter Prőhle |
bug |
|
|
added bug |
2013-01-23 02:18:17 |
Phillip Susi |
grub2 (Ubuntu): status |
New |
Incomplete |
|
2013-01-23 20:11:21 |
Péter Prőhle |
tags |
amd64 apport-bug quantal |
amd64 quantal |
|
2013-01-24 22:35:34 |
Péter Prőhle |
attachment added |
|
tar bzip2 of the 4 RESULTS.txt https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1103187/+attachment/3499254/+files/results.tbz |
|
2013-01-25 18:18:57 |
Phillip Susi |
summary |
automatic updates tend to reboot and die into grub rescue |
xfs left inconcistent after reboot, causing grub to fail |
|
2013-01-25 18:24:17 |
Phillip Susi |
description |
On 3 essentially different Ubuntu 12.10 installations
bios or uefi boot,
linux is alone or other system is along,
legacy or guid partiton table
it is a regularly appearing issue since 12.10, that if the automatic update touches a package which has some impact on the boot,
then the next reboot get stock at either the grub rescue prompt, or booting the new kernel hangs at the missing initial ram disk, the latter is typical after kernel update, even just after the virgin installation of a fresh Ubuntu.
Grub rescue prompt is the much harder situation, I either type in the correct grub commands to boot the previous kernel, or I use a "boot an existing linux from a partition" menu of a SYSRESC pen drive.
Never really clear, what was wrong and what really helped.
Here is a list of my manual struggling and accidental solution methods:
(1) Sometimes I do nothing, except for booting once more the system by hand or by SYSRESC pen, and surprisingly the next time the system boots, asif there was no kind of problem before. THIS happens more frequently on the combination below, and less frequently on the other 2 combinations:
bios boot + other system along + legacy partition table
(2) More frequent in general is that remove/reinstall grub2, and/or remove/reinstall new kernel, and/or simply grub-install and update-grub helps, but usually NOT IN ONE STEP, however even after a logical and defensive
grub-install /dev/sda
the situation likes to become worse, usually changes between the two possibilities below:
"error: invalid arch-independant ELF magic."
"error: ELF header smaller than expected."
and naturally I have the grub rescue prompt. This time, just before this error report, the solution appeared to be the
removal of memtest86+ and reinstall of it,
as first there was a normal grub menu, but memtest was missing from it and the boot was unsuccessful, and after the usual kernel and grub tampering I got the invalid arch-independant ELF magic, furter usual tampering bought the ELF header smaller than expected, and finally my desperate trial was the removal of the memtest against it's dependencies, ... and it helped this time.
This kind of struggling is more frequent on the 2 combination below:
bios boot + linux alone + legacy partition table
uefi boot + linux alone + either legacy or guid partition table (the both yields the error)
The latter uefi shows the problem most stable, even if I reinstall the 12.10 back to bios, from scratch.
I work with computers since 1972, and with linux 1994, but I still has no firm idea which package is buggy.
My guess is that not the grub itself is buggy, but the other packages have a buggy configuration relation to grub.
I suggest to rate this bug serious, if we take serious the #1 main bug, see this site.
I spread linux among my students at the university since the 90's, however if their system can become unavailable due to an automatic update, then some of then will give up learning linux.
I understand that a usual other bug can be serious and hard. But if I suggest the someone to switch to linux, and he/she can lost even the booting opportunity, then it is scary for most of the average users, and usually they have no enough skills to tackle the situtation, even to rescue their own personal files back to a proprietary system.
That's why I suggest to rate this bug serious. Serious in the consequencies in public relations.
The version of the all the packages I use are the most up to date due to my policy to update as frequent as possible.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: grub2 (not installed)
Uname: Linux 3.2.34-std312-amd64 x86_64
NonfreeKernelModules: raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath linear radeon r8169 mii usb_storage ttm drm_kms_helper drm i2c_algo_bit i2c_core wmi
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Tue Jan 22 21:28:32 2013
InstallationDate: Installed on 2012-10-19 (95 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install) |
take a 12.10 with XFS root partition containing the /boot/ tree
dpkg-reconfigure grub-pc ; sync
reboot (either by command, or by menu)
diverse error messages + grub rescue + /boot/ is partially accessible
boot UBUNTU 12.10 pendrive + choose "try Ubuntu" + open a terminal
sudo -s; mkdir foo; mount [the XFS root partition] foo; umount foo
reboot into the "original" Ubuntu is NOW successful
It appears that the kernel xfs filesystem driver leaves the fs in an inconsistent state even after a sync. That is corrected by a journal playback done either via having the kernel mount or running fsck, but grub does not use the xfs journal. |
|
2013-01-25 18:24:38 |
Phillip Susi |
grub2 (Ubuntu): importance |
Undecided |
Medium |
|
2013-01-25 18:24:38 |
Phillip Susi |
grub2 (Ubuntu): status |
Incomplete |
Triaged |
|
2013-01-25 18:24:48 |
Phillip Susi |
bug task added |
|
linux (Ubuntu) |
|
2013-01-25 18:30:09 |
Brad Figg |
linux (Ubuntu): status |
New |
Incomplete |
|
2013-01-25 20:39:56 |
Phillip Susi |
tags |
amd64 quantal |
amd64 bot-stop-nagging patch quantal |
|
2013-01-25 20:40:03 |
Phillip Susi |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2013-01-25 20:40:49 |
Phillip Susi |
grub2 (Ubuntu): status |
Triaged |
Invalid |
|
2013-01-25 21:29:26 |
Péter Prőhle |
tags |
amd64 bot-stop-nagging patch quantal |
amd64 apport-collected bot-stop-nagging package-from-proposed patch quantal |
|
2013-01-25 21:29:29 |
Péter Prőhle |
description |
take a 12.10 with XFS root partition containing the /boot/ tree
dpkg-reconfigure grub-pc ; sync
reboot (either by command, or by menu)
diverse error messages + grub rescue + /boot/ is partially accessible
boot UBUNTU 12.10 pendrive + choose "try Ubuntu" + open a terminal
sudo -s; mkdir foo; mount [the XFS root partition] foo; umount foo
reboot into the "original" Ubuntu is NOW successful
It appears that the kernel xfs filesystem driver leaves the fs in an inconsistent state even after a sync. That is corrected by a journal playback done either via having the kernel mount or running fsck, but grub does not use the xfs journal. |
take a 12.10 with XFS root partition containing the /boot/ tree
dpkg-reconfigure grub-pc ; sync
reboot (either by command, or by menu)
diverse error messages + grub rescue + /boot/ is partially accessible
boot UBUNTU 12.10 pendrive + choose "try Ubuntu" + open a terminal
sudo -s; mkdir foo; mount [the XFS root partition] foo; umount foo
reboot into the "original" Ubuntu is NOW successful
It appears that the kernel xfs filesystem driver leaves the fs in an inconsistent state even after a sync. That is corrected by a journal playback done either via having the kernel mount or running fsck, but grub does not use the xfs journal.
---
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: prohlep 1969 F.... pulseaudio
/dev/snd/controlC0: prohlep 1969 F.... pulseaudio
/dev/snd/seq: timidity 1533 F.... timidity
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
DistroRelease: Ubuntu 12.10
InstallationDate: Installed on 2012-10-19 (98 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: System manufacturer System Product Name
MarkForUpload: True
Package: linux 3.5.0.23.29
PackageArchitecture: amd64
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-23-generic root=UUID=39082c0a-8360-4ade-8f2e-f557a8a65035 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
PulseList:
Error: command ['pacmd', 'list'] failed with exit code 1: Home directory /home/prohlep not ours.
No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
linux-restricted-modules-3.5.0-23-generic N/A
linux-backports-modules-3.5.0-23-generic N/A
linux-firmware 1.95
RfKill:
Tags: quantal package-from-proposed
Uname: Linux 3.5.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 07/18/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2301
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A89GTD-PRO/USB3
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2301:bd07/18/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A89GTD-PRO/USB3:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer |
|
2013-01-25 21:29:30 |
Péter Prőhle |
attachment added |
|
AlsaInfo.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500621/+files/AlsaInfo.txt |
|
2013-01-25 21:29:32 |
Péter Prőhle |
attachment added |
|
BootDmesg.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500622/+files/BootDmesg.txt |
|
2013-01-25 21:29:33 |
Péter Prőhle |
attachment added |
|
CurrentDmesg.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500623/+files/CurrentDmesg.txt |
|
2013-01-25 21:29:36 |
Péter Prőhle |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500624/+files/Dependencies.txt |
|
2013-01-25 21:29:38 |
Péter Prőhle |
attachment added |
|
Lspci.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500625/+files/Lspci.txt |
|
2013-01-25 21:29:40 |
Péter Prőhle |
attachment added |
|
Lsusb.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500626/+files/Lsusb.txt |
|
2013-01-25 21:29:42 |
Péter Prőhle |
attachment added |
|
ProcCpuinfo.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500627/+files/ProcCpuinfo.txt |
|
2013-01-25 21:29:44 |
Péter Prőhle |
attachment added |
|
ProcInterrupts.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500628/+files/ProcInterrupts.txt |
|
2013-01-25 21:29:46 |
Péter Prőhle |
attachment added |
|
ProcModules.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500629/+files/ProcModules.txt |
|
2013-01-25 21:29:49 |
Péter Prőhle |
attachment added |
|
UdevDb.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500630/+files/UdevDb.txt |
|
2013-01-25 21:29:52 |
Péter Prőhle |
attachment added |
|
UdevLog.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500631/+files/UdevLog.txt |
|
2013-01-25 21:29:57 |
Péter Prőhle |
attachment added |
|
WifiSyslog.txt https://bugs.launchpad.net/bugs/1103187/+attachment/3500632/+files/WifiSyslog.txt |
|
2013-03-24 09:19:44 |
Thomas Heidrich |
bug |
|
|
added subscriber Thomas Heidrich |
2013-03-29 11:57:53 |
Thomas Heidrich |
summary |
xfs left inconcistent after reboot, causing grub to fail |
xfs left inconsistent after reboot, causing grub to fail |
|
2014-01-03 16:19:15 |
penalvch |
tags |
amd64 apport-collected bot-stop-nagging package-from-proposed patch quantal |
amd64 apport-collected bios-outdated-3029 bot-stop-nagging package-from-proposed patch quantal |
|
2014-01-03 16:23:01 |
penalvch |
linux (Ubuntu): importance |
Undecided |
Low |
|
2014-01-03 16:23:01 |
penalvch |
linux (Ubuntu): status |
Confirmed |
Incomplete |
|
2014-01-03 17:12:13 |
Phillip Susi |
linux (Ubuntu): importance |
Low |
High |
|
2014-01-03 17:12:13 |
Phillip Susi |
linux (Ubuntu): status |
Incomplete |
Triaged |
|
2014-01-03 17:12:51 |
Phillip Susi |
tags |
amd64 apport-collected bios-outdated-3029 bot-stop-nagging package-from-proposed patch quantal |
amd64 apport-collected bot-stop-nagging package-from-proposed patch quantal |
|
2014-01-03 17:22:16 |
penalvch |
tags |
amd64 apport-collected bot-stop-nagging package-from-proposed patch quantal |
amd64 apport-collected bios-outdated-3029 bot-stop-nagging package-from-proposed patch quantal |
|
2014-01-03 18:26:48 |
Phillip Susi |
tags |
amd64 apport-collected bios-outdated-3029 bot-stop-nagging package-from-proposed patch quantal |
amd64 apport-collected bot-stop-nagging package-from-proposed patch quantal |
|
2014-01-03 18:48:50 |
penalvch |
tags |
amd64 apport-collected bot-stop-nagging package-from-proposed patch quantal |
amd64 apport-collected bios-outdated-3029 bot-stop-nagging package-from-proposed patch quantal |
|
2014-01-03 18:56:44 |
Phillip Susi |
linux (Ubuntu): status |
Triaged |
Fix Released |
|