[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337045: race condition?: sometimes fails to correctly detect my harddisk



Hi,

I've seen similar symptoms (missing devices at boot) go away when I've increased the delay after the call to udevsynthesize in the initrd's init. You can try increasing the argument to sleep in /usr/share/initramfs-tools/init (around line 72):

# Populate /dev tree
log_begin_msg "Initializing /dev"
mkdir /dev/.udevdb
UDEVD_EXPECTED_SEQNUM=$(($(cat /sys/kernel/hotplug_seqnum) + 1)) udevd --daemon
udevsynthesize
sleep 2
log_end_msg

Try changing 'sleep 2' to 'sleep 20', regenerate the initrd and reboot. Let us know if it fixes the problem.

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC



Reply to: