Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31694 - [mkinitcpio] Boot partition search: break boot without `udev` hook on slow hdd
Attached to Project:
Arch Linux
Opened by Far Wayer (farwayer) - Tuesday, 25 September 2012, 18:31 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 24 October 2012, 01:31 GMT
Opened by Far Wayer (farwayer) - Tuesday, 25 September 2012, 18:31 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 24 October 2012, 01:31 GMT
|
DetailsIf you don't have udev running by initcpio (udev start latter by systemd on my system) and boot partition didn't detect enough fast than you have a chance to break in recovery shell. If than type 'exit' - booting continue successfully.
The problem is in /usr/lib/initcpio/init_function `pool_device` function: ... if [ "$udevd_running" -eq 1 ]; then msg "Waiting $seconds seconds for device $device ..." >&2 while [ ! -b "$device" -a "$seconds" -gt 0 ]; do sleep 1 seconds=$(( $seconds - 1 )) done fi ... Initcpio wait boot device if *only* udevd running. P.S. IMHO waiting device for seconds is too long. Maybe you can add `usleep` or some other in mkinitcpio? |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 24 October 2012, 01:31 GMT
Reason for closing: Fixed
Additional comments about closing: linux 3.6
Wednesday, 24 October 2012, 01:31 GMT
Reason for closing: Fixed
Additional comments about closing: linux 3.6
#if [ "$udevd_running" -eq 1 ]; then
...
#fi
And insert usleep instead sleep in initramfs for more fast booting.
Do you really need this initramfs?
>Do you really need this initramfs?
Is there something preventing you from posting it?
No problem.
http://dl.dropbox.com/u/8531768/initramfs-linux.img
>>It'd be nice if you could try to reproduce this with the distro kernel.
Booting also fail on archlinux kernel too.