Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

The ghost kernel module - ehci-hcd

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
smelialichu
n00b
n00b
Posts: 16
Joined: Sat Jan 31, 2004 9:17 pm

The ghost kernel module - ehci-hcd

  • Quote

Post by smelialichu » Thu Feb 19, 2004 3:20 pm

In order to get my Creative Zen Xtra to work, I modified my kernel config to disable compiling of ehci, so that my Xtra would be forced on to the ohci bus on my nforce motherboard, and forced in to USB 1.1 mode (I don't know why, but works!). This works great, as long as I run rmmod ehci-hcd every time I reboot, you see lsmod lists ehci-hcd as a loaded module:
ehci-hcd 14944 0 (unused)

However, find /lib/modules/ -name 'ehci-hcd.o' yields no results and if I modprobe ehci-hcd I get modprobe: Can't locate module ehci-hcd. I can't fathom what is going on here? I find this in my /var/log/messages, which occurs each time I boot:
Feb 19 14:36:09 faifbox ehci_hcd 00:02.2: nVidia Corporation nForce2 USB Controller
Feb 19 14:36:09 faifbox ehci_hcd 00:02.2: irq 5, pci mem e0826000
Feb 19 14:36:09 faifbox ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4

If I plug in my Zen Xtra without rmmod'ing ehci-hcd, /var/log/messages tells me a usb device has been connected but /proc/bus/usb/devices doesn't list it (It also doesn't list my ehci hub, which is what I'd expect). However, if I rmmod ehci-hcd and then connect my Xtra, everything works great, it's put on the usb-ohci bus and although transfers are a little slow - they work :)

I'm running kernel 2.4.22-gentoo-r5. Does anyone have any idea where this ehci-hcd module is coming from? If you need any more information, just ask. Thankyou
Top
smelialichu
n00b
n00b
Posts: 16
Joined: Sat Jan 31, 2004 9:17 pm

  • Quote

Post by smelialichu » Fri Feb 20, 2004 2:14 pm

^bump^

Nobody have any ideas where this ehci-hcd module can possibly be appearing from?
Top
ronmon
Veteran
Veteran
User avatar
Posts: 1043
Joined: Mon Apr 15, 2002 12:53 pm
Location: Key West, FL

  • Quote

Post by ronmon » Fri Feb 20, 2004 3:00 pm

Try this:

Code: Select all

find /lib/modules/ -iname 'ehci*'
In a 2.6 kernel, the module is named ehci-hcd.ko but shows up in lsmod as ehci_hcd (an underscore vs. a hyphen). Can't remember how the 2.4.x kernels name them except that they changed from *.o to *.ko.

I have both ohci and ehci modules and several USB devices. The 1.1 capable stuff uses the ohci and the two 2.0 drives use the ehci automatically. If yours isn't woking that way and you don't have any USB 2.0 devices, you could just not build the ehci module. Or delete it from /lib/modules/[version] and run 'depmod -a'.

USB View screenie
Top
smelialichu
n00b
n00b
Posts: 16
Joined: Sat Jan 31, 2004 9:17 pm

  • Quote

Post by smelialichu » Fri Feb 20, 2004 3:26 pm

Thankyou for your response - the command also gives no output. I disabled ehci in my kernel config (# CONFIG_USB_EHCI_HCD is not set) and recompiled and installed the new kernel and modules (it's a procedure I've done several times before - I'm certain there's no problem there). The reason I disabled ehci ronmon is so that my USB 2.0 Creative Zen Xtra is forced to use ohci (usb 1.1). I read from someone else on the forum who said the jukebox only worked with usb 1.1, so decided to do the same - and it works great now when I rmmod ehci_hcd.

I have no idea where this ehci_hcd is coming from, and when I'm loaded it simply blocks usb 2.0 devices (they don't show up in /proc/bus/usb/devices).
Top
ronmon
Veteran
Veteran
User avatar
Posts: 1043
Joined: Mon Apr 15, 2002 12:53 pm
Location: Key West, FL

  • Quote

Post by ronmon » Fri Feb 20, 2004 6:04 pm

You got me there. I don't know how you can load a module that doesn't exist.

Good luck.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic