Hello,

 I'm having an issue with a pcie connected Texas Instruments TUSB7340
host controller. I've been stress testing an embedded ARM system by
writing then reading back large blocks of data to UAS connected USB
3.0 storage.  A typical test run writes 128GB of data and I'd say
about 75% of the time the run is interrupted by the following crash:

 xhci_hcd 0001:01:00.0: xHCI host not responding to stop endpoint command.
 xhci_hcd 0001:01:00.0: Assuming host is dying, halting host.
 xhci_hcd 0001:01:00.0: Host not halted after 16000 microseconds.
 xhci_hcd 0001:01:00.0: Non-responsive xHCI host is not halting.
 xhci_hcd 0001:01:00.0: Completing active URBs anyway.
 xhci_hcd 0001:01:00.0: HC died; cleaning up
 usb 1-3: USB disconnect, device number 2
 usb 2-1: USB disconnect, device number 2

After this point the host controller will not respond. Removing the
driver and reinserting it produces:

 xhci_hcd 0001:01:00.0: xHCI Host Controller
 xhci_hcd 0001:01:00.0: new USB bus registered, assigned bus number 1
 xhci_hcd 0001:01:00.0: Host not halted after 16000 microseconds.
 xhci_hcd 0001:01:00.0: can't setup: -110
 xhci_hcd 0001:01:00.0: USB bus 1 deregistered
 xhci_hcd 0001:01:00.0: init 0001:01:00.0 fail, -110
 xhci_hcd: probe of 0001:01:00.0 failed with error -110

Only a power cycle brings the host controller back.

My initial attempts were with a 4.4.0 kernel, but I can reproduce it
with 4.9.15 and 4.11-rc2. I don't have enough data yet to say with
certainty, but anecdotally it seems like the crash occurs more
frequently with the newer kernels.

I've tried several different storage devices, and the crash appears
regardless of what I'm writing to.

There appears to be quite a list of errata posted for the TUSB73x0
host controllers: ( http://www.ti.com/lit/er/sllz076/sllz076.pdf ) and
I noticed that recently Roger Quadros added a patch to address one of
the issues. This patch didn't resolve my issue however.

There appeared to be some discussion about other issues with this chip
over the years, the most recent being (
http://marc.info/?l=linux-usb&m=147745611801558&w=2 ) but I can't tell
from recent sources what specific issues if any have been resolved and
adopted into the driver.

I'm not very familiar with the USB stack so I'm hoping someone here
can help point me in the right direction.

Thanks for any help anyone can offer,

Ryan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to