Bug 188398 - FORCE_slowusb causes unnecessary long delays
Bug#: 188398 Product:  Gentoo Hosted Projects Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: genkernel@gentoo.org Reported By: gentoo@fivevalve.com
Component: genkernel
URL: 
Summary: FORCE_slowusb causes unnecessary long delays
Keywords:  
Status Whiteboard: 
Opened: 2007-08-10 20:03 0000
Description:   Opened: 2007-08-10 20:03 0000
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 From Andrew Evans 2007-08-10 20:17:54 0000 -------
Err, that should be the --slowusb genkernel option.

------- Comment #2 From Nelson Batalha 2007-08-10 21:21:30 0000 -------
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 From Nelson Batalha 2007-08-10 21:27:05 0000 -------
(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 From Nelson Batalha 2007-08-10 22:16:33 0000 -------
Just got a pc to try, this is solved in the SVN (rev. 509)

------- Comment #5 From Jakub Moc (RETIRED) 2007-08-11 12:51:25 0000 -------
*** Bug 187816 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2007-08-11 13:02:09 0000 -------
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 From Andrew Evans 2007-08-12 01:02:37 0000 -------
Great, I'll look forward to this being in the next version of genkernel.
Thanks!

------- Comment #8 From Chris Gianelloni (RETIRED) 2007-08-22 19:54:15 0000 -------
Please test genkernel 3.4.9_prer1 or better.  This should be fixed now.