mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* getting usb mass storage to finish before running init?
@ 2004-02-13  1:54 Nick Bartos
  0 siblings, 0 replies; 7+ messages in thread
From: Nick Bartos @ 2004-02-13  1:54 UTC (permalink / raw)
  To: linux-kernel

Is there any way to get the kernel to finish initializing usb mass storage
devices before running init?

I have a problem where I am trying to boot off usb, but the storage device
is not detected when I am trying to do fsck and mount the flash device
from my init scripts.

I can put a sleep in there but that is sloppy, and can not really be
relied apon (since technically there is no way I can know how long the
detection phase will take), and also I may be waisting time (which I don't
want to, I want a fast booting router).

I cannot poll to wait for the device to exist in /proc/partitions or in
/dev, since some routers will boot off ide and may not even have usb
devices.

I would like to hack the kernel to wait to run init until after the usb
stuff is done (although I don't really know where to start, I don't know
where the usb or init stuff is ran from), or find some clean & reliable
way of detecting when it is done (even if it doesn't need to load usb).

I was sort of hoping there was some little-known kernel option that may
help me...

Ideas?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-02-13 12:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1oAMR-6St-13@gated-at.bofh.it>
2004-02-13  2:09 ` getting usb mass storage to finish before running init? der.eremit
2004-02-13  2:34   ` Nick Bartos
2004-02-13 12:48     ` der.eremit
2004-02-13 12:56       ` Nick Bartos
2004-02-13  4:06   ` Randy Dunlap
2004-02-13 12:55     ` der.eremit
2004-02-13  1:54 Nick Bartos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®