View previous topic :: View next topic |
Author |
Message |
TechwoIf n00b
Joined: 06 Aug 2007 Posts: 38
|
Posted: Tue Sep 25, 2012 11:39 pm Post subject: Warning! ehci_hcd should always be loaded before uhci_hcd a |
|
|
I get this in dmesg: " Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after"
Google searching and these forums did not revel the answer.
Gentoo did have a bug report of this error and it was fixed in module-init-tools, however, they are not used anymore as it was moved to KMOD now.
How to fix this using kmod? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9890 Location: almost Mile High in the USA
|
Posted: Tue Sep 25, 2012 11:59 pm Post subject: |
|
|
Odd, I haven't seen this in ages. Did you perhaps compile uhci_hcd into the kernel and ehci_hcd as a module?
All your module tools up to date (including config files?) _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
elxa n00b
Joined: 15 Oct 2012 Posts: 18
|
Posted: Fri Oct 19, 2012 2:56 am Post subject: |
|
|
me, too
Quote: | Oct 19 00:50:28 thinkgentoo kernel: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after |
using sys-kernel/vanilla-sources:3.6.2 with this .config http://bpaste.net/show/52107/ |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9890 Location: almost Mile High in the USA
|
Posted: Fri Oct 19, 2012 5:08 pm Post subject: |
|
|
elxa wrote: | me, too
Quote: | Oct 19 00:50:28 thinkgentoo kernel: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after |
using sys-kernel/vanilla-sources:3.6.2 with this .config http://bpaste.net/show/52107/ |
Yes this shows the problem that I was warning about. If you have UHCI compiled into the kernel (in which it is:
Code: | CONFIG_USB_XHCI_HCD=m
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
|
) once you load the EHCI module the warning will be emitted. Either build UHCI as a module or build EHCI into the kernel, I suspect you want the latter for newer machine else the USB keyboard won't work. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Fri Oct 19, 2012 8:05 pm Post subject: |
|
|
eccerr0r wrote: | elxa wrote: | me, too
Quote: | Oct 19 00:50:28 thinkgentoo kernel: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after |
using sys-kernel/vanilla-sources:3.6.2 with this .config http://bpaste.net/show/52107/ |
Yes this shows the problem that I was warning about. If you have UHCI compiled into the kernel (in which it is:
Code: | CONFIG_USB_XHCI_HCD=m
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
|
) once you load the EHCI module the warning will be emitted. Either build UHCI as a module or build EHCI into the kernel, I suspect you want the latter for newer machine else the USB keyboard won't work. | that most probably will not work, EHCI and UHCI will continue fight on who is control the device, compiling them as modules should fix it. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9890 Location: almost Mile High in the USA
|
Posted: Sat Oct 20, 2012 12:37 am Post subject: |
|
|
DaggyStyle wrote: | that most probably will not work, EHCI and UHCI will continue fight on who is control the device, compiling them as modules should fix it. |
My XHCI machine works just fine this way, I have all three compiled statically and it will negotiate the correct speed for all.
The kernel developers already understand this situation and enumerate the host interfaces in the proper order to allow the fastest speeds. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Sat Oct 20, 2012 6:58 am Post subject: |
|
|
eccerr0r wrote: | DaggyStyle wrote: | that most probably will not work, EHCI and UHCI will continue fight on who is control the device, compiling them as modules should fix it. |
My XHCI machine works just fine this way, I have all three compiled statically and it will negotiate the correct speed for all.
The kernel developers already understand this situation and enumerate the host interfaces in the proper order to allow the fastest speeds. |
XHCI is not EHCI/UHCI, no do long ago, when they were compile into the kernel on my machine, none of the usb worked and I could see them fight over it in dmesg. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
|
Back to top |
|
|
|