Re: All 2.6.26-rcX hang immediately after loading ohci_hcd

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrey Borzenkov <arvidjaar@...>
Cc: Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Rafael J. Wysocki <rjw@...>, Linux Kernel Mailing List <linux-kernel@...>, <linux-usb@...>, Alan Stern <stern@...>, Greg Kroah-Hartman <gregkh@...>
Date: Saturday, July 5, 2008 - 8:04 pm

On Saturday 05 July 2008, Linus Torvalds wrote:

I seem to recall some oddness with RHSC on some platforms,
way back when I had lots of OHCI hardware and did comparative.
testing.  RHSC and RD did not act quite like the docs said ...

Simple experiments:  add "distrust_firmware=y" to the ohci
module options.  Or:  try a kernel without CONFIG_PM enabled.


More complex experiments:  try building with CONFIG_USB_DEBUG and
after editing drivers/usb/host/ohci-hcd.c to #define OHCI_VERBOSE_DEBUG
(just change the #undef to a #define) ... then restart things
(passing debug=8 on the kernel command line may help) and see what
it says on the system console.

If this is really an IRQ storm that may turn up more data.
Alternatively, it might not show info until you tweak ohci_irq()
(in that same file) to dump "ints" after it checks whether the
IRQ was "for some other device".  And if even that doesn't show
a storm of messages ... then the problem may not be directly
caused by OHCI.  Lots of stuff seems to be sharing that same
IRQ, after all...

- Dave
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
All 2.6.26-rcX hang immediately after loading ohci_hcd, Andrey Borzenkov, (Sat Jul 5, 3:08 am)
Re: All 2.6.26-rcX hang immediately after loading ohci_hcd, David Brownell, (Sat Jul 5, 8:04 pm)
Re: All 2.6.26-rcX hang immediately after loading ohci_hcd, Andrey Borzenkov, (Sun Jul 6, 12:59 am)
Re: All 2.6.26-rcX hang immediately after loading ohci_hcd, Andrey Borzenkov, (Fri Jul 11, 1:03 am)
Re: All 2.6.26-rcX hang immediately after loading ohci_hcd, Andrey Borzenkov, (Sun Jul 6, 1:35 am)