Red Hat Bugzilla – Bug 460762
Recent kernels don't boot off USB devices
Last modified: 2008-09-10 16:00:18 EDT
Description of problem:
When using latest kernels I can't boot off my USB Hard drive
Version-Release number of selected component (if applicable):
latest working kernel is kernel-2.6.27-0.244.rc2.git1.fc10.i686
just boot off an HD drive
Steps to Reproduce:
1.switch on computer
I get following messages:
stabilized: stat /proc/bus/usb/devices: No such file or directory
Reading all physical volumes.This may take a while
Volume group "VolGroup00" not found
Unable to access resume device (dev/VolGroup00/LogVol01)
mount: error mounting /dev/root on /sysroot as ext3: No such file or directory
setuproot moving /dev failed:No such file or directory
setuproot error mounting /proc
switchroot: mount failed: /sys No such file or directory
some other reporter sees slightly different messages
kernel-2.6.27-0.186.rc0.git15.fc10.i686 has same problem...
I switch to urgent as in continuous upgrading some user booting off any USB device can experience a system that is not booting any more....
my previous comment has to be read as kernel-2.6.27-0.297.rc5.git2.fc10.i686
kernel-2.6.27-0.186.rc0.git15.fc10.i686 is running fine....
kernel-2.6.27-0.305.rc5.git6.fc10.i686 doesn't boot either
kernel-2.6.27-0.312.rc5.git7.fc10.i686 doesn't boot either
I was looking around this bug, I can't boot from usb too.
Problem is located inside mkinitrd, new kernels don't use ?hci-hcd.ko modules, but mkinitrd uses them for usb boot detection. In all these broken initrd.imgs there is missing line:
mount -t usbfs /proc/bus/usb /proc/bus/usb
if you add this line into your initrd.img/init after this line:
it'll be bootable again (I won't write here how to modify initrd.img, you can find it via google)
Problem is that all these modules are not modules anymore, but they are directly in kernel. For now only usb-storage.ko is remaining as a module, but for how long?
Better usb detection in mkinitrd is needed
I've prepared patch to fix this, going to test it now
Created attachment 316076 [details]
patch against mkinitrd-6.0.62
Well... I can see it's already fixed in mkinitrd's git repository since 11 Aug 2008. This will be fixed in new released version.
Created attachment 316160 [details]
upstream's patch for usb booting
this patch is applicable against mkinitrd 6.0.62 in cvs, new version of mkinitrd should be released or mkinitrd-6.0.62 should repackaged with this patch to fix this for F10Beta
2.6.27-0.317.rc5.git10.fc10.i686 is booting fine.
I suggest that it can be closed...