Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 154197

Summary: root fs on USB not found in time
Product: Gentoo Linux Reporter: Richard Benjamin Voigt <richardvoigt>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: blkdev_wakeup-2.6.18.patch

Description Richard Benjamin Voigt 2006-11-05 18:41:24 UTC
Around 2.6.8, a separate thread was spawned to detect USB devices because some devices have to perform lengthy initialization.  Because the boot continues in parallel, the kernel then tries to mount the root filesystem and the USB device isn't discovered yet.  I found a patch at http://dedasys.com/freesoftware/patches/ which fixes the problem, and made the necessary changes to make it compile with 2.6.18.

My laptop now can boot from a USB hard disk, which it could not without this patch.  From inspecting the patch, it looks as though it waits for USB detection to complete if and only if the root filesystem can't be found, so I think it's a candidate for inclusion into the gentoo patchset.
Comment 1 Richard Benjamin Voigt 2006-11-05 18:41:47 UTC
Created attachment 101312 [details, diff]
blkdev_wakeup-2.6.18.patch