Re: wait for the boot device
- To: md@Linux.IT
- Cc: debian-boot@lists.debian.org
- Subject: Re: wait for the boot device
- From: Ferenc Wagner <wferi@niif.hu>
- Date: Thu, 25 Jun 2009 13:54:02 +0200
- Message-id: <[🔎] 87ljngo7fp.fsf@tac.ki.iif.hu>
- In-reply-to: <87bpp4j9dy.fsf@tac.ki.iif.hu> (Ferenc Wagner's message of "Thu, 04 Jun 2009 17:39:37 +0200")
- References: <20090322113908.GA21870@bongo.bofh.it> <87fxh5iajw.fsf@tac.ki.iif.hu> <20090322213233.GA7403@bongo.bofh.it> <87skl5ci3b.fsf@tac.ki.iif.hu> <20090322223225.GA12962@bongo.bofh.it> <87ljqxcgk2.fsf@tac.ki.iif.hu> <20090322230835.GA13609@bongo.bofh.it> <8763i1cave.fsf@tac.ki.iif.hu> <87bpp4j9dy.fsf@tac.ki.iif.hu>
Ferenc Wagner <wferi@niif.hu> writes:
> So I'm back again, with the below patch running fine on a couple of
> our production machines for a couple of months now. Please consider
> incorporating it in some form.
>
> --- /usr/share/initramfs-tools/scripts/init-premount/udev 2009-04-15 23:05:42.000000000 +0200
> +++ udev 2009-06-04 17:31:05.919424375 +0200
> @@ -20,6 +20,14 @@
> udevadm trigger
> udevadm settle || true
>
> +if [ -d /sys/bus/scsi ]; then
> + echo -n "Waiting for SCSI scan ..."
> + modprobe scsi_wait_scan
> + modprobe -r scsi_wait_scan
> + udevadm settle || true
> + echo " SCSI scan finished."
> +fi
> +
> # If the rootdelay parameter has been set, we wait a bit for devices
> # like usb/firewire disks to settle.
> if [ "$ROOTDELAY" ]; then
Hi Marco,
Any word on this?
--
Thanks,
Feri.
--
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: