From: David Brownell <david-b@pacbell.net>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-usb@vger.kernel.org, Alan Stern <stern@rowland.harvard.edu>,
Greg Kroah-Hartman <gregkh@suse.de>
Subject: Re: All 2.6.26-rcX hang immediately after loading ohci_hcd
Date: Sat, 5 Jul 2008 17:04:55 -0700 [thread overview]
Message-ID: <200807051704.56141.david-b@pacbell.net> (raw)
In-Reply-To: <alpine.LFD.1.10.0807051317450.2815@woody.linux-foundation.org>
On Saturday 05 July 2008, Linus Torvalds wrote:
> Alan - if it _is_ an interrupt flood, it looks like it basically starts
> just as ohci_hub_status_data() does that spin_unlock_irqrestore() to
> re-enable interrupts. And there has been some changes to
> ohci_root_hub_state_changes() recently, and that OHCI_INTR_RHSC enable
> logic in particular.
>
> That root hub status interrupt changing thing is commit e872154921a6b5
> ("USB: don't explicitly reenable root-hub status interrupts"), and it
> _did_ happen after 2.6.25.
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
next prev parent reply other threads:[~2008-07-06 0:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-05 7:08 All 2.6.26-rcX hang immediately after loading ohci_hcd Andrey Borzenkov
2008-07-05 20:51 ` Linus Torvalds
2008-07-06 0:04 ` David Brownell [this message]
2008-07-06 0:28 ` Linus Torvalds
2008-07-06 4:59 ` Andrey Borzenkov
2008-07-06 5:29 ` Linus Torvalds
2008-07-06 5:35 ` Andrey Borzenkov
2008-07-06 16:40 ` Alan Stern
2008-07-11 5:03 ` Andrey Borzenkov
2008-07-11 14:16 ` Alan Stern
2008-07-06 17:25 ` David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200807051704.56141.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=akpm@linux-foundation.org \
--cc=arvidjaar@mail.ru \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=stern@rowland.harvard.edu \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.