Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154197 - root fs on USB not found in time
Summary: root fs on USB not found in time
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-05 18:41 UTC by Richard Benjamin Voigt
Modified: 2006-11-06 05:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
blkdev_wakeup-2.6.18.patch (blkdev_wakeup-2.6.18.patch,4.82 KB, patch)
2006-11-05 18:41 UTC, Richard Benjamin Voigt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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