Did 2.5.44 work, but 2.5.45 not work for the printer?
Nope. That machine ran 2.5.42 (or maybe 41) before that, and failed similarly. I updated it to BK as of an hour ago, and since it still failed I did the report. So it's been going on for at least a few weeks.

Ok, so it wasn't a recent thing, that helps.
Right, I'll treat it as confirmation that there's a bug on an unlink path
in the current ohci code ... I've been wondering about that given some of
the symptoms reported, which only suggested that rather indirectly.  Some
problems seem to appear for urbs with multiple TDs, like control requests.

No patch to try yet, but there aren't many places such a problem can hide.


Enabling USB debug doesn't show much more. I get

	Oct 31 22:51:54 tove kernel: drivers/usb/core/hcd.c: (no bus?): hcd_unlink_urb fail -22
Hmm, -EINVAL there suggests the driver (usblp) is unlinking an urb
that's not linked.  Not exactly wrong, but a sign that the driver is
loose about its state management.


The other diagnostics looked OK except for that last set:

Oct 31 22:58:47 tove kernel: drivers/usb/core/message.c: usb_control/bulk_msg: timeout
Oct 31 22:58:47 tove kernel: drivers/usb/host/ohci-dbg.c: UNLINK dc8e2b1c dev:4,ep=0-I,CTRL,flags:0,len:0/1,stat:-2
Oct 31 22:58:47 tove kernel: drivers/usb/core/hcd.c: 00:02.2: wait for giveback urb dc8e2b1c

and clearly the "wait for giveback" never happens. (There are some other messages too, but they seem to be for the storage devices that do work)
One thing that might help is to provide the /sys/bus/pci/devices/00:02.2/async
file contents when this happens. That'll be present since you enabled debug
support, and it will show what your queues look like. Sometimes seeing that
information has been enough to zoom right in on the problem, saving a bunch of
time on mental "what if ..." experiments.

- Dave





-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to