Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441032 - Release media - USB ports stop working during loading of kernel modules
Summary: Release media - USB ports stop working during loading of kernel modules
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL: https://bbs.archlinux.org/viewtopic.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-03 02:51 UTC by Jerrod Frost
Modified: 2012-12-25 10:10 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 Jerrod Frost 2012-11-03 02:51:54 UTC
The issue evidently happens when modules aren't loaded in order. ehci cannot be loaded before ohci. loading of ohci then uhci then ehci evidently prevents the issue from occuring. If you can get your keyboard working long enough (if at all), "sudo rmmod ehci_hcd && sudo modprobe ehci_hcd" fixes the issue

Reproducible: Always

Steps to Reproduce:
1.download new gentoo iso
2.burn iso
3.boot disc
4.be frustrated at the fact you can see gentoo, but not use it :( just as though it were dangling a nice t-bone steak in front of your eyes behind bullet proof glass.
Actual Results:  
Unfornately nothing.. thats the problem.. I can't do anything without USB keyboard and mouse. If I can get ahold of an OLD PS2 keyboard I could possibly get somewhere.

Expected Results:  
Loaded the modules in order allowing me to keep USB port support.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-11-03 04:51:47 UTC
Are you using module-init-tools or kmod, and which version? Please post the output of `emerge -pv --nodeps sys-apps/module-init-tools sys-apps/kmod`

Do you have file called /etc/modprobe.d/usb-load-ehci-first.conf?
If yes, what is the content of it?

We used to install the file with content of:

install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install ohci_hcd $CMDLINE_OPTS
install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install uhci_hcd $CMDLINE_OPTS

And we changed it to:

softdep uhci_hcd pre: ehci_hcd
softdep ohci_hcd pre: ehci_hcd

So you need to verify which one is the one causing problems and does changing from one to another solve the problem?

Thank you.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-11-03 04:53:39 UTC
Moving to maintainers -> repoter needs to reopen the bug with requested data ->
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-11-03 04:54:25 UTC
(In reply to comment #2)
> Moving to maintainers -> repoter needs to reopen the bug with requested data
> ->

*reporter
Comment 4 Jerrod Frost 2012-11-03 15:43:44 UTC
Live CD doesn't have portage installed... This isn't an installed system I'm having issues with, its the live disc. I can't use the live disc in order to install then test and installed system.

The only reason I found out this is/could be the fix as this was a common issue for Arch linux and is in their forums and their are others who claim similar results when rmmod ehci_hcd and modprobe ehci_hcd.

https://bbs.archlinux.org/viewtopic.php?id=114077 I also noticed at boot that ehci_hcd was loaded before ohci_hcd and uhci_hcd. I just acquired a PS2 keyboard from a friend to day. I'll see what info I can come up with regarding my USB failure issues.

The System I'm using that is currently affected.

AM3+ ASUS Sabertooth 990fx (R1 and R2)
AMD FX8350
Mushkin 16GB 1600mhz DDR3
Crossfire HD6950s
ASUS N53 Wireless card
128GB OCZ Vertex 4
1000Watt Rosewill Lightening PS 

My Sabayon System currently works (although I'd rather be on gentoo). Is there any info I can grab from that System that may help us in understanding the differences in why one works and one doesn't?
Comment 5 Jerrod Frost 2012-11-03 16:02:21 UTC
OK, this issue may not be related ehci, My eagerness to get gentoo running on my PC and viewing of old posts may have cause me to report misleading information. :( I apologize..

seems my issue may be related to ohci_hcd? or possibly driver related.

Now that I have a PS2 keyboard I'm able to see that the system is complaining about ohci?

usb 5-2: new full-speed USB device number 2 using ohci_hcd
usb 5-2: device descriptor read/64, error -32
usb 5-2: device descriptor read/64, error -32
usb 5-2: new full-speed USB device number 3 using ohci_hcd
usb 5-2: device descriptor read/64, error -32
usb 5-2: device descriptor read/64, error -32
usb 5-2: new full-speed USB device number 4 using ohci_hcd
usb 5-2: device not accepting address 4, error -32
usb 5-2: new full-speed USB device number 5 using ohci_hcd
usb 5-2: device not accepting address 4, error -32
hub 5-0:1.0: unable to enumerate USB device on port 2


This is from a livecd downloaded an burned yesterday. As I said before, Windows and Sabayon both work fine. I can jump into my sabayon system (as it is gentoo based) and possibly provide some useful info. I only need to know what u need.
Comment 6 Jerrod Frost 2012-11-03 16:11:40 UTC
I'm writing this Post to apologize to the devs and bug maintainers. This is a horrible start for a user and devs to start trusting someone reporting bugs. I'm really ashamed at my noobish attempt to hurry along bug reporting without proper logs as google searching doesn't solve everything.  I really do feel bad about possibly causing an problem for the devs.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-11-03 16:28:33 UTC
sabayon? one-line of undebugged error in dmesg about unknown release media? not sure what to make of this, but isn't definately bug for base-system/udev-bugs
we put files in place to enforce loading order as other distribs do too, if that is missing from one of the livecd's, then this could be one for releng...
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2012-11-03 18:16:34 UTC
The first thing we need from you is the exact name of the install-cd.
In any case, this might be related to the missing /run dir bug. I'm going to run some builds today and tomorrow to try to fix that bug.
Comment 9 Jerrod Frost 2012-11-04 23:04:37 UTC
This problem affects the install-amd64-minimal-20121013.iso

I'm also having an issue with USB ports on livedvd-amd64-multilib-2012.1.iso
Comment 10 Jerrod Frost 2012-11-04 23:08:32 UTC
Also, as I said. The issue doesn't exist on Sabayon. The issue exists on the gentoo live discs. This has nothing to do with sabayon, I was just letting you know I have Sabayon on this tower and its working fine. So if you need to know differences (as in why it Sabayon is working and gentoo is not) in possible configs or files I can look into it, if it will help track down the issue.