Messages in this thread | | | Subject | Re: rootdelay | From | (David N. Welton) | Date | 03 May 2005 10:07:35 +0200 |
| |
William Park <opengeometry@yahoo.ca> writes:
> On Mon, Apr 25, 2005 at 11:34:23PM +0200, David N. Welton wrote: > > > > > > http://dedasys.com/freesoftware/patches/blkdev_wakeup.patch > > I patched it to 2.6.11, and it compiles okey. On boot, it prints > "Waiting for root device to wake us up." then it waits for my USB > key to register. After USB partition info prints to screen, above > message is printed "Waiting for root device to wake us up." again. > Then, it just hangs forever.
Ok, I updated to 2.6.11.8, and indeed it does have problems that weren't there before - although in my case it can't mount the root partition because it's not quite ready yet. In part, it seems to be caused by the fact that the USB start up sequence introduces a new thread that delays the scsi_host_scan by 5 seconds, which is long enough to cause problems. I added some code to wait for not only the disk name to be online, but the partition, but even that doesn't seem to be quite enough.
Is there anyplace generic that could be hooked that will report when a device is actually online and ready to run? Perhaps I was just lucky in the past with add_disk :-/
Ciao, -- David N. Welton - http://www.dedasys.com/davidw/
Apache, Linux, Tcl Consulting - http://www.dedasys.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/
| |