I haven't submitted any patches to uhci-hcd in a while so if this is something recent, it could be something else has changed.
I don't think this is a new thing, I think I've seen this in the past, but haven't really tested removing devices a bunch on this machine before (it's a USB 2.0 controller with a UHCI controller for the "slow" part.)
The UHCI driver has been noisy on disconnect for as long as I remember. I rarely see the "looping" symptom Greg described, but it certainly wants to emit more than just a polite message; and I do need to work to avoid it, even if no serial console is causing delays.
If I unplug a "usbnet" link that's up, each of the URBs in the RX queue generates a message ... most of which just report TDs that are nowhere near the head of the queue, and didn't relate to the error. This is with the default "non-verbose" debug mode. That clutters the log with noise, since that's several dozen lines most of which are useless (even if I happen to be debugging). (So the workaround is always "ifconfig usb0 down".)
Would it be possible to change the default level of uhci debug output so it doesn't print any TDs after the one that reoorted trouble? Or maybe, only a line with that one TD. Of course, more debug output can be needed when debuging UHCI itself; but that level of output should IMO not be the default.
- Dave
p.s. I recently noticed another out-of-order problem with that
driver. There was a queue of control messages (this was
"testusb -t10" as I recall). The first completed OK,
there was a problem with the second, so cleanup unlinked
all the others (another dozen in the queue) in FIFO order.
All the unlinks got reported out-of-order. (After a
rather huge debug dump of course!) That's just FYI since you're looking at disconnect issues
with uhci just now, and an unplug in the middle of some
of those "testusb" runs will likely turn up issues.
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
