Re: [linux-usb-devel] PROBLEM: when booting from USB-HDD device kernel

Ilia A. Petrov (masmas@mcst.ru)
Mon, 07 Jul 2003 13:20:32 +0400


David Brownell wrote:
> Ilia A. Petrov wrote:
>
>> When kernel is mounting root file system it is doing it too fast so
>> usb-support have not ime to scan bus for mass-storage devices and
>> connect them.
>> ...
>> or, imho better way, - when completing init of usb bus, first scans it
>> and connect all devices and only after all devices were connected
>> returns to main kernel code.
>
>
> That might not entirely solve the problem, since the relevant device
> could drop off the bus temporarily, but it seems like it'd be a step
> forward. How would you make root hub ("bus") initialization do that?

i'm not familiar with linux usb implementation so may be it's wrong:
after sending global reset over the bus you can manually check (not
trough the hub driver) root port connection status and call enumeration
if needed.

another way- add an option to kernel for booting from usb mass-storage,
where place an input-waiting code, because my current solution adds such
delay for all boots (ide,scsi,usb)

-
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/