Re: [PATCH] Wait and retry mounting root device

From: William Park
Date: Tue Jan 04 2005 - 17:25:56 EST


On Tue, Jan 04, 2005 at 12:37:16PM +0000, Daniel Drake wrote:
> This is based a patch by William Park <opengeometry@xxxxxxxx> included in
> 2.6.10-mm1, in order to fix booting from usb-storage devices which no longer
> make their partitions immediately available.
>
> While William's patch fixed the situation where you boot from a "root=8:1"
> parameter (to correspond to /dev/sda1), it does not allow you to use
> "root=/dev/sda1" (which apparently worked in 2.6.9 and earlier), because
> the name-->dev_t discovery is done before the "retry" loop starts, and is
> not retried during the loop.
>
> This patch, which replaces William's, solves the above problems.

It's funny... Your patch does the opposite. It works for
root=/dev/sda1
from the kernel command line, but not from Lilo or 'root=8:1' on command
line. :-)

--
William Park <opengeometry@xxxxxxxx>
Open Geometry Consulting, Toronto, Canada
Linux solution for data processing.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/