Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188398 - FORCE_slowusb causes unnecessary long delays
Summary: FORCE_slowusb causes unnecessary long delays
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
: 187816 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-10 20:03 UTC by Andrew Evans
Modified: 2007-08-22 19:54 UTC (History)
3 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 Andrew Evans 2007-08-10 20:03:10 UTC
Booting my Gentoo system recently started taking much longer than before. I've tracked this down to the $FORCE_slowusb logic. It seems this was inserted to help users booting from USB storage devices. Unfortunately, it ends up penalizing users like me with normal workstations booting from hard disks by delaying bootup by 20 seconds.

Based on what little I know, I think the FORCE_slowusb autodetection logic should be removed. Users who need the delay can still use the --doslowusb genkernel option at initrd build time.

Reproducible: Always

Steps to Reproduce:
Comment 1 Andrew Evans 2007-08-10 20:17:54 UTC
Err, that should be the --slowusb genkernel option.
Comment 2 Nelson 2007-08-10 21:21:30 UTC
I saw this in the bug #187816, could you solve using noslowusb? That supposedly would be sufficient, however my livecd with genkernel 3.4.8 takes the same delay whether I use doslowusb or not.

(I also thought slowusb was default but it isn't, it's the $MY_HWOPTS in  genkernel/trunk/generic/initrd.defaults).
Comment 3 Nelson 2007-08-10 21:27:05 UTC
(hum, I thought you corrected force_slowusb <-> slowusb in your argument. Thing is in the svn "FORCE_slowusb" could only possibly delay 10 seconds for normal boots, but it doesn't seem to be set nowhere now, so not even that)
Comment 4 Nelson 2007-08-10 22:16:33 UTC
Just got a pc to try, this is solved in the SVN (rev. 509)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-11 12:51:25 UTC
*** Bug 187816 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-08-11 13:02:09 UTC
Yeah, fixed by reverting the patch for bug #160333, was wondering for quite some time why does it takes ages w/ USB stick plugged in.

http://sources.gentoo.org/viewcvs.py/genkernel/trunk/generic/initrd.scripts?r1=503&r2=509&diff_format=u
Comment 7 Andrew Evans 2007-08-12 01:02:37 UTC
Great, I'll look forward to this being in the next version of genkernel. Thanks!
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-22 19:54:15 UTC
Please test genkernel 3.4.9_prer1 or better.  This should be fixed now.