Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281114 - genkernel initramfs no blkid and usb issues
Summary: genkernel initramfs no blkid and usb issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 15:17 UTC by Peter
Modified: 2009-12-26 23:12 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2009-08-11 15:17:25 UTC
genkernel initramfs creates an initrd without blkid, which causes init to complain on boot if one uses UUID.

I then made my own initrd with blkid.  This fails to find the UUID and then after hitting return once, finds it.  I.e., that it needs about a 1 or 2 second delay at most.  This is with an external usb disk.

I see that there is a do and force slowusb flag in init, and that slowusb is loaded from init.defaults, but I cannot see how they are used and slowusb as kernel argument to grub does nothing.  rootwait and rootdelay do nothing either.

Reproducible: Sometimes

Steps to Reproduce:
Happens almost every time.  Sometimes if I reboot, it won't happen, a cold boot, always.


Expected Results:  
genkernel initramfs should add blkid, or perhaps this is a USE flag?

init script should have useful slowusb and boot without stopping
Comment 1 Fabio Erculiani (RETIRED) gentoo-dev 2009-08-12 12:14:01 UTC
About blkid, mainly used to solve UUIDs or LABELs into devices. You may want to look at --disklabel genkernel argument (see genkernel --help)
Comment 2 Peter 2009-08-12 19:32:07 UTC
Well assuming that --disklabel puts blkid into the ramdisk, that's helpful, but seems like init script shouldn't call it if its not there.

And then there's still the issue of slowusb within the init script.
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2009-08-14 15:05:35 UTC
I've uncommented DISKLABEL=yes in genkernel.conf to make it the default. For the USB issue, try using 'scandelay'.
Comment 4 Peter 2009-08-18 22:59:23 UTC
scandelay works in that it boots without producing an error.  EXCEPT, its really excessive.  I need maybe a second delay tops.  Instead, there's a 20 second delay, and then another 15 second delay after.  Is scandelay=1 possible or something like that?
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2009-12-26 23:12:14 UTC
This was released.