Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190202 - ohci_hcd hangs system when enabled
Summary: ohci_hcd hangs system when enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-25 16:42 UTC by David Mulford
Modified: 2007-08-31 18:14 UTC (History)
1 user (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 David Mulford 2007-08-25 16:42:25 UTC
When loading the ohci_hcd option as required by my hardware, the system stops responding completely. This happens when compiling as a module when I attempt to load the module. This also happens at boot when compiling in kernel.

Reproducible: Always

Steps to Reproduce:
1. Enable to following kernel option (either as a module or built-in):

   Device Drivers --->
      USB Support ---->
           --- USB Host Controller Drivers
               <*> OHCI HCD Support

2. Recompile kernel
3. If compiled in kernel, copy new kernel to boot partition. If as a module, attempt to load module.

Actual Results:  
The system immediately stops responding

Expected Results:  
The system should load the option requested and return to normal processing.

I have not tried this using a previous kernel version. I will attempt to do so and report back.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-25 16:45:28 UTC
(In reply to comment #0)
> I have not tried this using a previous kernel version. I will attempt to do so
> and report back.

Not really needed to test w/ previous versions, this one is outdated enough. Reopen if you can reproduce with gentoo-sources-2.6.22-r5; thanks.
Comment 2 David Mulford 2007-08-25 22:37:22 UTC
I just tried with kernel-2.6.22-r5 and got the same result. Here is the info I get at boot:

PCI: Guessed IRQ 10 for device 0000:00:14.0
ohci_hcd 0000:00:14.0 OHCI Host Controller
ohci_hcd 0000:00:14.0 new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:14.0 irq 10, io mem 0x81c00000

Once this occurs, the boot process stops and I get a blinking cursor. I've let it sit there for 15+ minutes and nothing happens.

If I take the ohci option out of the kernel, everything boots fine, but my usb ports are not activated.

Could this be a hardware issue? Or would something like this be caused by an improperly configured kernel? I've never had issues with this before.
Comment 3 David Mulford 2007-08-25 23:40:26 UTC
Just an update, I saw that I have an old 2.6.17 kernel in my /boot directory, so I gave it a try and saw that the ohci loads and boots properly. Tried a couple devices on the ports and they worked fine.

Any ideas as to why it hangs in newer versions of the kernel?
Comment 4 Mike Pagano gentoo-dev 2007-08-25 23:52:53 UTC
Can you please test with the latest development kernel in the portage tree which is 2.6.23_rc3 as of this writing?
Comment 5 David Mulford 2007-08-26 01:21:18 UTC
Same issue with 2.6.23-rc3.
Comment 6 Mike Pagano gentoo-dev 2007-08-26 10:35:01 UTC
I wonder if this is related:
http://lkml.org/lkml/2007/7/12/64

Not sure as I don't see much info that describes your hardware. What was the last working kernel? Can you provide the output of:

lspci -v
emerge --info
Comment 7 David Mulford 2007-08-26 13:55:17 UTC
The last known working kernel for me with my usb ports is 2.6.17 (I verified this yesterday).

I apologize for not giving details on my hardware in the original post.

Here is my lspci output: http://pastebin.com/ma872431
Here is my emerge output: http://pastebin.com/m5579d27b

Yes, the hardware is old and I'm assuming that some of my system tools are out of date as well. Problem is that compiling anything that takes a long time on this machine tends to make it overheat and shutoff.

Thanks for looking into this!
Comment 8 Mike Pagano gentoo-dev 2007-08-26 20:28:37 UTC
I did see references to problems related to gcc versions.  Can't seem to find it again. Is there a reason you are not using a 4.1.X stable gcc version for compilation?
Comment 9 David Mulford 2007-08-26 21:06:28 UTC
Honestly, no, there is no technical reason for me not using that.

I'll perform an emerge -uD world and see if that fixes the problem.
Comment 10 David Mulford 2007-08-31 18:14:33 UTC
This was fixed after updating the entire system.