From: Willy Tarreau <willy@w.ods.org>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: wcatlan@yahoo.com, lkml <linux-kernel@vger.kernel.org>
Subject: Re: Possible to delay boot process to boot from USB subsystem?
Date: Tue, 4 May 2004 06:51:33 +0200 [thread overview]
Message-ID: <20040504045133.GA25278@alpha.home.local> (raw)
In-Reply-To: <20040503193205.2004f249.rddunlap@osdl.org>
Hi Randy,
On Mon, May 03, 2004 at 07:32:05PM -0700, Randy.Dunlap wrote:
> I wish that I had a way to test this patch.
> Apparently Willy does, so I recommend his patch.... :)
You should never recommend anything from me to anyone if you want to
keep some friends :-)
> with one change:
>
> change
> +static int setuptime; /* time(ms) to let devices set up before root mount */
>
> to
> +static int setuptime = 10000; /* time(ms) to let devices set up before root mount */
>
>
> or 60000 (= 1 minute). Whatever is comfortable for you.
>
> Willy, it seems that some default value would be good there.
It was intentionnal, I don't like to change the default kernel behaviour.
So by default it's 0 and behaves as if the patch was not applied. However,
I think that a very small value (a few seconds) may be acceptable by default.
Of course, if Bill doesn't use the patch anywhere else, he should be fine
with a higher value.
Another (dirty) hack would be to export this variable, keep it to 0 by
default, and have usb_hub_thread() set it to a reasonable value when
starting khubd.
Regards,
Willy
next prev parent reply other threads:[~2004-05-04 4:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-04 2:32 Possible to delay boot process to boot from USB subsystem? Randy.Dunlap
2004-05-04 4:51 ` Willy Tarreau [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-02 23:27 Bill Catlan
2004-05-03 1:27 ` Randy.Dunlap
2004-05-03 5:17 ` Bill Catlan
2004-05-03 20:31 ` Bill Catlan
2004-05-04 18:53 ` Paulo Marques
2004-05-05 14:18 ` Bill Catlan
2004-05-03 5:34 ` Willy Tarreau
2004-05-03 20:44 ` Bill Catlan
2004-05-03 21:05 ` Willy TARREAU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040504045133.GA25278@alpha.home.local \
--to=willy@w.ods.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.org \
--cc=wcatlan@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox