On Sun, 3 Oct 2004 19:34:20 -0700 (PDT) Mike Keithley wrote:

| Hello list.
| 
| I'm running 2.4.26 with Slackware 10.0.
| 
| I want to make a kernel that will access the root Linux filesystem on a
| hard-drive over the USB bus.  I'm doing this for portability and, at this
| moment, to get Linux running on my Dell Dimention 8400 which uses a SATA
| controller that I cannot access yet.
| 
| I used the bare-acpi bootdisk and the root disks to make the Linux system on
| the USB drive.  There were no problems accessing the USB hard-drive and the 
| installation went smoothly.  In this case, modules were loaded to access the
| USB 2.0 controller and the USB hard drive.
| 
| In compiling the kernel to run this system, I've built the USB controller and
| the USB mass storage components into the kernel (as well as SCSI support and
| SCSI disk support).  Compilation went fine.
| 
| but the kernel cannot find the root device on /dev/sda1. In the boot messages, 
| I see that the USB 2.0 controller is found, and registered, and that mass 
| storage is also registered.  However, there is no
| evidence that the controller sees the disk drive.
| 
| In summing up: when inserted as modules,it seems the USB components work 
| properly, and the hard-drive is seen and configured as /dev/sda1, but when 
| built into the kernel, the USB components do not work properly and the USB
| drive is not seen.  The USB drive is an Iomega 250 GB drive.
| 
| Does anyone have suggestions as to why this is and what I can do about it?
| 
| Many thanks.
| What's needed?

Search the linux-usb-devel mailing list archives for /usb boot/.

Short summary:  the usb subsystem and devices (like hubs, storage)
aren't ready/available yet when the kernel looks for them.
Adding a delay in the kernel code that looks for the root device
has been known to help.

I have an (old) 2.4.22 patch here:
http://www.xenotime.net/linux/usb/usbboot-2422.patch

There are several other patches floating around.  One recent one was
by David Welton, and for both USB and IEEE1394 IIRC.
(You can search for email by author at http://marc.theaimsgroup.com/ .)


I have some other similar patches saved in a mail folder at work.
I can look for them tomorrow if you don't have some success before
then.  Please let me know.

--
~Randy


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to