** Description changed: - Booting a system with a software raid device can randomly or systematically - fail. + [IMPACT] - The system boot will fail at the initramfs stage and the system complain - that it can't find the software raid device. + * Due to small time-outs udev may not detect all attached drives quick + enough to be processed and assembled into a RAID array - The user ends up on the initramfs console. Rebooting might solve the issue - (or not). + * This results in dropping a user into an initramfs shell or if + BOOT_DEGRADED is set the boot will proceed degrading RAID unnecessary - --- + * The fix is to include wait_for_udev call to give udev more time to + find the drives which are part of RAID - Happens at once on boot. + [TESTCASE] - I happened to use the kernel 3.0.0-17, because the computer would not boot because of the bug that the line - udevadm settle - is missing in function degraded_arrays() in the file /usr/share/initramfs-tools/scripts/mdadm-functions which results in a halt on an initram fs console. + * Install RAID preferably with a "slow" interface, e.g. RAID1 with one + drive on external USB - --- + * Reboot multiple times and notice that sometimes boot fails - ProblemType: Crash - Date: Mon Feb 27 17:46:23 2012 - ExecutablePath: /usr/bin/update-manager - ExecutableTimestamp: 1326448883 - InterpreterPath: /usr/bin/python2.7 - ProcCmdline: /usr/bin/python ./xorg_fix_proprietary.py - ProcCwd: /tmp/update-manager-Qp_QfE - PythonArgs: ['/usr/bin/update-manager'] - Traceback: - Traceback (most recent call last): - File "./xorg_fix_proprietary.py", line 160, in <module> - if ver and apt_pkg.VersionCompare(ver, "2:1.5.0") > 0: - ValueError: _system not initialized - UserGroups: + * Upgrade to the -proposed package + + * Reboot multiple times and notice that boot fail less often + + [Regression Potential] + + * boot speed is decreased due to the nature of the fix, i.e. adding a physical delay + * Multiple reports in this bug and on the ubuntuforums reporting that this change "fixes" the boot issue for the users
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/942106 Title: software raid doesn't assemble before mount on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/942106/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
