On Thu, Feb 01, 2007 at 05:16:11PM +0100, maximilian attems wrote:
On Thu, Feb 01, 2007 at 04:38:03PM +0100, David Härdeman wrote:
So, as a workaround for Etch until this is fixed (presumably by upstream
changes to udev and/or the kernel), how about changing the following lines
in the udev initramfs script:
udevtrigger
udevsettle || true
to something like this:
udevtrigger
udevsettle || true
while ps | grep -q "[usb-stor-scan]"; do
sleep 1;
done
while ps | grep -q "[scsi_scan_.*]"; do
sleep 1;
done
udevsettle || true
mika, you could reliable trigger that race by using
grml2hd with lilo.
could you please test aboves proposed solution
and tell us how it works out?
And if you do, please make sure to change the greps to use "\[...\]"
instead of "[...]"
The file to edit is:
/usr/share/initramfs-tools/scripts/init-premount/udev
--
David Härdeman