Re: error during device resume

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wednesday 10 October 2007, Oliver Neukum wrote:
> Hi,
> 
> I got this error with 2.6.23-rc9 on X86_64. I am trying to replicate it.

And I guess you did, then started a second thread for it?


> Oct 10 14:13:42 oenone kernel: usb 1-4.2: usb auto-resume
> Oct 10 14:13:42 oenone kernel: usb 1-4.2: finish resume
> Oct 10 14:13:42 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:13:42 oenone kernel: usb 1-4: clear tt buffer port 2, a8 ep0 t00080248
> Oct 10 14:13:42 oenone kernel: usb 1-4.2: gone after usb resume? status -71
> Oct 10 14:13:42 oenone kernel: usb 1-4.2: can't resume, status -71

At this point it looks as if the device had problems exiting
a USB suspend state.  When the host couldn't talk to that device,
it did the usual disconnect processing:

> Oct 10 14:13:42 oenone kernel: hub 1-4:1.0: logical disconnect on port 2
> Oct 10 14:13:42 oenone kernel: hub 1-4:1.0: state 7 ports 7 chg 0004 evt 0000
> Oct 10 14:13:42 oenone kernel: hub 1-4:1.0: port 2, status 0101, change 0000, 12 Mb/s
> Oct 10 14:13:42 oenone kernel: usb 1-4.2: USB disconnect, address 8
> Oct 10 14:13:42 oenone kernel: usb 1-4.2: unregistering device
> Oct 10 14:13:42 oenone kernel: usb 1-4.2: usb_disable_device nuking all URBs
> 
> The port is dead afterwards:

Is this with the same device, or a different one?  If it's the same
device, that could be explained by persistent problems in that device,
which its firmware didn't clear up.

If it's a different device, I'll wonder about that high speed hub.
I have seen a few ill-behaved hubs, but the high speed ones tend to
be saner.  Some things to try then include a disconnect/reconnect
cycle for that hub; and power cycling the hub.


> Oct 10 14:16:50 oenone kernel: hub 1-4:1.0: state 7 ports 7 chg 0000 evt 0004
> Oct 10 14:17:36 oenone kernel: hub 1-4:1.0: state 7 ports 7 chg 0000 evt 0004
> Oct 10 14:17:36 oenone kernel: hub 1-4:1.0: port 2, status 0100, change 0001, 12 Mb/s
> Oct 10 14:17:36 oenone kernel: hub 1-4:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
> Oct 10 14:17:38 oenone kernel: hub 1-4:1.0: state 7 ports 7 chg 0000 evt 0004
> Oct 10 14:17:38 oenone kernel: hub 1-4:1.0: port 2, status 0101, change 0001, 12 Mb/s
> Oct 10 14:17:38 oenone kernel: hub 1-4:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
> Oct 10 14:17:38 oenone kernel: usb 1-4.2: new full speed USB device using ehci_hcd and address 17

All this next stuff looks compatible with a misbehaving peripheral connected
to port 2 on this hub:

> Oct 10 14:17:38 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:38 oenone kernel: usb 1-4: clear tt buffer port 2, a17 ep0 t00080248
> Oct 10 14:17:38 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:38 oenone kernel: usb 1-4: clear tt buffer port 2, a17 ep0 t00080248
> Oct 10 14:17:38 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:38 oenone kernel: usb 1-4: clear tt buffer port 2, a17 ep0 t00080248
> Oct 10 14:17:38 oenone kernel: usb 1-4.2: device descriptor read/64, error -71
> Oct 10 14:17:38 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:38 oenone kernel: usb 1-4: clear tt buffer port 2, a17 ep0 t00080248
> Oct 10 14:17:38 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:38 oenone kernel: usb 1-4: clear tt buffer port 2, a17 ep0 t00080248
> Oct 10 14:17:38 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:38 oenone kernel: usb 1-4: clear tt buffer port 2, a17 ep0 t00080248
> Oct 10 14:17:39 oenone kernel: usb 1-4.2: device descriptor read/64, error -71
> Oct 10 14:17:39 oenone kernel: usb 1-4.2: new full speed USB device using ehci_hcd and address 18
> Oct 10 14:17:39 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:39 oenone kernel: usb 1-4: clear tt buffer port 2, a18 ep0 t00080248
> Oct 10 14:17:39 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:39 oenone kernel: usb 1-4: clear tt buffer port 2, a18 ep0 t00080248
> Oct 10 14:17:39 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:39 oenone kernel: usb 1-4: clear tt buffer port 2, a18 ep0 t00080248
> Oct 10 14:17:39 oenone kernel: usb 1-4.2: device descriptor read/64, error -71
> Oct 10 14:17:39 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:39 oenone kernel: usb 1-4: clear tt buffer port 2, a18 ep0 t00080248
> Oct 10 14:17:39 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:39 oenone kernel: usb 1-4: clear tt buffer port 2, a18 ep0 t00080248
> Oct 10 14:17:39 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0in 3strikes
> Oct 10 14:17:39 oenone kernel: usb 1-4: clear tt buffer port 2, a18 ep0 t00080248
> Oct 10 14:17:39 oenone kernel: usb 1-4.2: device descriptor read/64, error -71
> Oct 10 14:17:39 oenone kernel: usb 1-4.2: new full speed USB device using ehci_hcd and address 19
> Oct 10 14:17:39 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0out 3strikes
> Oct 10 14:17:39 oenone kernel: usb 1-4: clear tt buffer port 2, a19 ep0 t00080248
> Oct 10 14:17:39 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0out 3strikes
> Oct 10 14:17:39 oenone kernel: usb 1-4: clear tt buffer port 2, a19 ep0 t00080248
> Oct 10 14:17:40 oenone kernel: usb 1-4.2: device not accepting address 19, error -71
> Oct 10 14:17:40 oenone kernel: usb 1-4.2: new full speed USB device using ehci_hcd and address 20
> Oct 10 14:17:40 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0out 3strikes
> Oct 10 14:17:40 oenone kernel: usb 1-4: clear tt buffer port 2, a20 ep0 t00080248
> Oct 10 14:17:40 oenone kernel: ehci_hcd 0000:00:02.2: devpath 4.2 ep0out 3strikes
> Oct 10 14:17:40 oenone kernel: usb 1-4: clear tt buffer port 2, a20 ep0 t00080248
> Oct 10 14:17:40 oenone kernel: usb 1-4.2: device not accepting address 20, error -71
> Oct 10 14:17:40 oenone kernel: hub 1-4:1.0: state 7 ports 7 chg 0000 evt 0004
> 
> 	Regards
> 		Oliver
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.