lkml.org 
[lkml]   [2005]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Wait and retry mounting root device (revised)
Helge Hafting <helge.hafting@hist.no> wrote:
>
> The USB block driver should know that 10s (or whatever) hasn't yet
> passed, and simply
> block any attempt to access block devices (or scan for them) knowing
> that it will
> not work yet, but any device will be there after the pause. A root mount
> on USB will
> then succeed at the _first_ try everytime, so no need for retries.

Maybe a simple delay somewhere in the boot sequence would suffice? Boot
with `mount_delay=10'.

But it sure would be nice to simply get this stuff right somehow. If the
USB block driver knows that discovery is still in progress it should wait
until it has completed. (I suggested that before, but wasn't 100% convinced
by the answer).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.206 / U:1.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site