From: David Brownell <david-b@pacbell.net>
To: Colin Leroy <colin.lkml@colino.net>
Cc: linux-usb-devel@lists.sourceforge.net,
Colin Leroy <colin@colino.net>,
Linux-kernel@vger.kernel.org,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Greg KH <greg@kroah.com>, Andrew Morton <akpm@osdl.org>
Subject: Re: [linux-usb-devel] [PATCH] Ohci-hcd: fix endless loop (second take)
Date: Fri, 26 Nov 2004 09:57:52 -0800 [thread overview]
Message-ID: <200411260957.52971.david-b@pacbell.net> (raw)
In-Reply-To: <20041126183749.1a230af9@jack.colino.net>
On Friday 26 November 2004 09:37, Colin Leroy wrote:
> On 26 Nov 2004 at 09h11, David Brownell wrote:
> > This isn't a good patch either... maybe your best
> > bet would be to find out why the IRQs stopped getting
> > delivered.
>
> It's probably a linux-wlan-ng issue...
I suspect PPC resume issues myself.
> What do you think
> of these logs ?
>
> #resume logs...
> #disconnecting the stick:
> usb 4-1: USB disconnect, address 2
> ohci_hcd 0001:10:1b.1: IRQ INTR_SF lossage
That does seem to be the first problem; fixing
it (that is, making sure IRQs arrive again!)
should make the rest go away.
> hfa384x_usbin_callback: Fatal, failed to resubmit rx_urb. error=-19
> hfa384x_dorrid: ctlx failure=REQ_TIMEOUT
> prism2sta_mlmerequest: Failed to read eth1 statistics: error=-5
Those look like plausible ways for that driver to
behave. "-19" == "-ENODEV" for device-gone (you
unplugged it!), though the rest (timeout, EIO)
suggest that WLAN code fault recovery is wierd.
> #reconnecting the stick:
> usb 4-1: new full speed USB device using address 3
> usb 4-1: control timeout on ep0out
As expected, if IRQs aren't arriving. Though you
may not be using the latest kernel; it's supposed
to give warnings about IRQ delivery problems after
resume too, not just on initial startup.
> maybe the lwlan driver should catch these and kill the urbs or
> something?
The only obvious "looks wrong" thing from that WLAN
code is discarding the non-recoverable ENODEV status
in favor of reporting a usually-recoverable (timeout)
then maybe-recoverable (EIO) error. But that's not
necessarily troublesome here.
> Thanks for your help, I'm not an expert at all in the usb world...
Most people aren't... :)
I'm not expert in PPC IRQ delivery, which is where the
root cause of this problem seems to live. We all have
places where we need help!
- Dave
next prev parent reply other threads:[~2004-11-27 6:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-26 10:30 Colin Leroy
2004-11-26 17:28 ` [linux-usb-devel] " David Brownell
2004-11-26 17:37 ` Colin Leroy
2004-11-26 17:57 ` David Brownell [this message]
2004-11-26 22:12 ` Benjamin Herrenschmidt
2004-11-29 8:04 ` Colin Leroy
2004-11-29 22:26 ` Benjamin Herrenschmidt
2004-11-29 22:34 ` Colin Leroy
2004-11-29 22:43 ` Benjamin Herrenschmidt
2004-11-30 0:41 ` David Brownell
2004-11-26 18:46 ` 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=200411260957.52971.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=Linux-kernel@vger.kernel.org \
--cc=akpm@osdl.org \
--cc=benh@kernel.crashing.org \
--cc=colin.lkml@colino.net \
--cc=colin@colino.net \
--cc=greg@kroah.com \
--cc=linux-usb-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®