[karmic] software RAID not assembled at boot - blkid hangs using 100% CPU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
mdadm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
udev (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
util-linux (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: udev
Since upgrading to Karmic yesterday (through "apt-get dist-upgrade", not update-manager), I cannot boot anymore: the encrypted root filesystem does not get found ("Waiting for encrypted source device").
After some time, I get dropped to a busybox, where apparently, the RAID has not been scanned/assembled (/proc/mdstat does not exist).
I can manually open the device using "mdadm -A -s", "cryptsetup luksOpen /dev/md1 name" and "vgscan; vgchange -a y".
I guess that udev does not handle the "opening" of the raid correctly.
I've observed a lot of "/sbin/blkid -o udev -p /dev/.tmp-
I'm attaching also busybox-udev.tgz, which is /dev/.udev (from within the busybox), and find-dev (which is find /dev), maybe that contains some clues.
I'll also attach the initramfs-debug output, but apparently that file got lost/not saved correctly - so this needs another round of failure-and-LiveCD booting.
Changed in util-linux (Ubuntu): | |
status: | Fix Released → Invalid |
status: | Invalid → Fix Released |
I've opened tasks for mdadm and cryptsetup, too - because I don't know where the problem really comes from.
I've tried hacking /scripts/ local-top/ cryptroot and added a call to "/sbin/mdadm -A -s" in setup_mapping after the "modprobe -q dm_crypt" call.
However, when dropped into busybox, only /dev/md2 was visible in /proc/mdstat.
Executing "mdadm -A -s" in busybox assembled all RAID arrays though.
I suspect this may have something to do with the changes in udev (e.g. using blkid instead of vol_id - the hanging blkid processes are suspect).