Re: [PATCH] USB HardDisk Booting 2.4.20

From: Samuel Flory (sflory@rackable.com)
Date: Thu Jan 30 2003 - 17:35:01 EST


Alan Cox wrote:

>On Thu, 2003-01-30 at 17:27, Wesley Wright wrote:
>
>
>>My tests show that it seems to work, and I haven't noticed any odd side
>>affects by initcall-ing the usb devices (concern over this topic is why
>>I enabled it for static USB MSD only).
>>
>>Does this seem a reasonable solution, or does anyone have something more
>>elegant?
>>
>>
>
>Is there a reason for not using initrd for this. That should let you
>use any kind of root device even ones requiring user space work before
>the real root is mounted.
>
>

  The problem I've seen is there is a several second delay before the
usb device is availble. My solution was to stick a sleep in my initrd
before attempting to mount /. A more rational patch might be to retry
mounting / after a few seconds delay before giving up. I think I saw
patch doing this on the usb list.

-- 
There is no such thing as obsolete hardware.
Merely hardware that other people don't want.
(The Second Rule of Hardware Acquisition)
Sam Flory  <sflory@rackable.com>

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



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:24 EST