Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-20-2005, 02:56 PM   #1
LQ Newbie
Registered: Apr 2003
Location: London, UK
Distribution: Gentoo
Posts: 13

Rep: Reputation: 0
Annoying Linux USB uhci_hcd problem

I'm not sure whether this strictly belongs under Hardware, but I can't see any better place to put it...

When I load the uhci_hcd module with no USB devices plugged in, or if I unplug all devices with the module loaded, my system hangs.
It is fine if I have any USB 1 device plugged in (I don't have any USB 2 ones to try), only when there are none connected is there a problem.
ehci_hcd has no problems at all, although, as said before, I don't have any USB 2 devices, and ehci_hcd does not detect USB 1 devs.
I have tried loading uhci_hcd both with and without ehci_hcd already loaded, and with "legacy USB" both on and off in my BIOS.
This problem has happened on various distros, although I have only been able to investigate it properly on my main Gentoo system.
I have tried many kernels from 2.6.11 to 2.6.12, both vanilla and with Gentoo patches, and other distros using those kernels also
hang unless I plug a USB device in. I did not have the problem with kernel 2.6.10. The ports are USB2 ones.
I have managed to capture a log of the crash, using the USB debug option, and putting an endless loop of sync commands after the command to load the uhci_hcd module, in order to get the logs onto the hard drive before the system hung (I did confirm on the console that the log I got had everything that was produced there, with dmesg -n 8). This logged run was with no USB modules loaded beforehand and no USB devices plugged in.

uname -a output:
Linux sodashark 2.6.12-gentoo #2 Mon Jun 20 19:40:08 BST 2005 i686 Intel(R) Pentium(R) M processor 1500MHz GenuineIntel GNU/Linux

URLs with information on problem (all of these are plain text files with DOS EOL):
Latest info on problem -
System log from module load to hang -
Kernel config file -
Old 06-20-2005, 11:02 PM   #2
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 174

Rep: Reputation: 17
what does dmesg say?

have you tryed running usbview and finding out some info there?
Old 06-21-2005, 01:53 PM   #3
LQ Newbie
Registered: Apr 2003
Location: London, UK
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
I have not actually run dmesg itself after loading the module, but I have done dmesg -n 8 beforehand, and checked that no messages appear on the console that have not also got into the kernel log. In case you didn't notice, I have the kernel log uploaded:
I have just installed usbview, but I'm not sure what you want me to do with it... running it after loading the module is completely out of the question, as I only have about 2 seconds before the computer hangs. I might just about be able to copy a proc file to the hard disk and sync before it hangs, if you tell me what file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel without uhci_hcd gives slow video. firedance Linux - Newbie 1 10-04-2005 12:58 AM
A really annoying wine problem amyoto Linux - Software 2 09-26-2005 11:52 AM
Upgraded Kernel 2.6.9 Locks at Boot (At point uhci_hcd)*Searched and found nothing! DreameR-X Linux - Newbie 3 12-07-2004 06:11 AM
Annoying vsftp problem Avenger Linux - Software 0 12-16-2003 10:14 AM
Very annoying problem therion12 Linux - General 2 04-05-2002 11:58 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration