Bug#401916:
Looking at:
http://cvs.mandriva.com/cgi-bin/viewvc.cgi/gi/tools/draklive?revision=1.116&view=markup
there's an interesting line which sleeps while the usb storage scanning
kernel thread is running (search the page for usb-stor-scan).
The usb scanning thread is called usb-stor-scan and the scsi scanning
threads are called scsi_scan_NUM (AFAIK).
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
--
David Härdeman
Reply to:
- Follow-Ups:
- Bug#401916:
- From: maximilian attems <maks@sternwelten.at>