public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Calvin Walton <calvin.walton@gmail.com>
To: Ben Ryan <ben@impulse.net.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: USB HDD boot panic (2.6.31)
Date: Sun, 27 Sep 2009 13:45:33 -0400	[thread overview]
Message-ID: <1254073533.9459.4.camel@ayu> (raw)
In-Reply-To: <002701ca3d9b$53250240$f96f06c0$@net.au>

On Fri, 2009-09-25 at 14:47 +1000, Ben Ryan wrote:
> I've a question regarding boot from USB-attached IDE HDD under 2.6.31
> (slackware/lilo).

> From what I can gather the USB drivers aren't finished initialising before
> the disks are enumerated and mapped to /dev.
> 
> Is this a known, current issue?
> Does anyone have a patch that can help? If so, why isn't it mainlined?
> (Please CC responses!)

This is a bit of a known issue, because USB simply doesn't have a way of
letting you know when scanning for devices has been completed. Current
versions of linux have a simple workaround: add "rootwait" to your
kernel command line in LILO.

(from Documentation/kernel-parameters.txt:)
        rootwait        [KNL] Wait (indefinitely) for root device to show up.
                        Useful for devices that are detected asynchronously
                        (e.g. USB and MMC devices).

Alternately, you can use an initramfs which is set up to wait for the
device to appear. The rootwait option is off by default in order to
speed up booting under normal circumstances.

> Thanks
> Ben

-- 
Calvin Walton <calvin.walton@gmail.com>


      parent reply	other threads:[~2009-09-27 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-25  4:47 USB HDD boot panic (2.6.31) Ben Ryan
2009-09-26  2:51 ` Robert Hancock
2009-09-27 17:45 ` Calvin Walton [this message]

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=1254073533.9459.4.camel@ayu \
    --to=calvin.walton@gmail.com \
    --cc=ben@impulse.net.au \
    --cc=linux-kernel@vger.kernel.org \
    /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