system fails to boot with too many /etc/fstab entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Since my upgrade to Karmic, my system fails to boot about 80% of the time. One of several possibilities will happen:
- many of the boot processes will terminate (status 1, 4, or 5) in the console log. The system will hang at some point in the boot process (the last output being either about sysfs or about Timidity)
- the system will boot to a console login. however, trying to login crashes the shell with SEGV each time.
- the system will boot to a console login where I can actually login. Manually starting gdm ("sudo service gdm start") crashes gdm with SEGV.
- the system will boot to X, where I can log in. However, one or several partitions are not mounted, so I need to run "sudo mount -a" manually.
- the system will boot normally
If the system fails to boot, it is not possible to use Ctrl+Alt+Del to reboot the system - the key combination will be mostly ignored (short disk activity, no relevant console output). The only way to cleanly reboot the system each time until it finally boots properly is SysRq+RSEIUB.
About my Xubuntu/xfce4 system:
The only thing that is probably unusual is that /usr, /home, and /var/lib are sitting on a different partition, due to a small root partition. My disk setup has become a bit strange over the ages. I have 3 physical disks with several partitions each.
/dev/sda3 - /
/dev/sda2 - swap
/dev/sdb6 - /mnt/hdf6; /usr, /home, and /var/lib are here, all softlinked on the root-fs (this has never caused any problems at all)
/dev/sda4, /dev/sdb5, /dev/sdc1 - non-essential vfat filesystems
From what I can see from the console messages is that device and/or partition detection seems to fail at random during the boot phase (upstart/mountall). Depending on which partition(s) are not recognized (or if for example /dev/sdb6 is recognized/mounted too late, so that /usr is unavailable), the system will fail to boot at certain points. But this is just a guess, since I am not familiar with the methodology of upstart.
If the system does boot and fails to mount some of the vfat partitions, the ones which are not mounted appear to be random - sometimes sdb5, sometimes sdc1, sometimes both. However, the one vfat that is *always* mounted correctly is sda4, sitting on the boot disk and the same disk as the root-fs.
I only now removed the "quiet" and "splash" options from grub, so hopefully I'll get some error logs I can attach next time.
Unfortunately, this very annoying problem, together with several other work-impeding regressions, make Karmic the worst Ubuntu experience ever for me :-(
I found bug #434395, describing very similar symptoms; however, the reported no longer appears to have this problem and set his report to "Invalid".
ProblemType: Bug
.etc.asound.conf:
pcm.!default front:Live
ctl.!default front:Live
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'CMI8738'/'C-Media CMI8738 (model 55) at 0xb800, irq 21'
Mixer name : 'CMedia PCI'
Components : ''
Controls : 41
Simple ctrls : 22
Card1.Amixer.info:
Card hw:1 'Live'/'SB PCI512 [CT4790] (rev.7, serial:0x80231102) at 0xb400, irq 23'
Mixer name : 'TriTech TR28602'
Components : 'AC97a:54524123'
Controls : 216
Simple ctrls : 38
Date: Thu Jan 7 14:45:43 2010
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=
IwConfig:
lo no wireless extensions.
eth2 no wireless extensions.
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: System Manufacturer System Name
NonfreeKernelMo
Package: linux-image-
ProcCmdLine: root=UUID=
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/tcsh
ProcVersionSign
RelatedPackageV
linux-
linux-firmware 1.25
RfKill:
SourcePackage: linux
Uname: Linux 2.6.31-17-generic i686
WpaSupplicantLog:
XsessionErrors: (polkit-
dmi.bios.date: 02/21/2003
dmi.bios.vendor: Award Software, Inc.
dmi.bios.version: ASUS P4B533 ACPI BIOS Revision 1014
dmi.board.name: P4B533
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: REV 1.xx
dmi.chassis.
dmi.chassis.type: 7
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: System Name
dmi.product.
dmi.sys.vendor: System Manufacturer
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: karmic |
summary: |
- system fails to boot most of the time since Karmic upgrade + system fails to boot with too many /etc/fstab entries |
At the moment I am in "case 4" as described above (mounting of non-essential fs failed). On the console I get messages like:
mount: special device /dev/disk/ by-uuid/ 42B6-1CF0 does not exist
mountall: mount /mnt/hdc1 [2022] terminated with status 32
mountall: Filesystem could not be mounted: /mnt/hdc1
/dev/disk/by-uuid does not exist:
$ ls -d /dev/disk/by-*
/dev/disk/by-id /dev/disk/by-path
I get these messages only for partitions that failed to mount, although *all* partitions listed in fstab are listed only by UUID.