Synopsis XHCI controller lock up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm using a Texas Instruments PCIe XHCI USB card on x86-64 machine running Linux v4.11-rc6 with Ubuntu.
I can manage to get the XHCI controller in a unresponsive state with the following message on a
device disconnect

[  242.817353] usb 9-3: USB disconnect, device number 9
[  247.919845] xhci_hcd 0000:03:00.0: xHCI host not responding to stop endpoint command.
[  247.919898] xhci_hcd 0000:03:00.0: Assuming host is dying, halting host.
[  247.947777] xhci_hcd 0000:03:00.0: Host halt failed, -110
[  247.947781] xhci_hcd 0000:03:00.0: Non-responsive xHCI host is not halting.
[  247.947782] xhci_hcd 0000:03:00.0: Completing active URBs anyway.
[  247.947789] xhci_hcd 0000:03:00.0: HC died; cleaning up
[  247.948070] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[  247.948074] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 26 9a 00 00 f0 00
[  247.948076] blk_update_request: I/O error, dev sdb, sector 9882
[  247.948086] sd 6:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[  247.948087] sd 6:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 27 8a 00 00 10 00
[  247.948088] blk_update_request: I/O error, dev sdb, sector 10122
[  247.948586] sd 6:0:0:0: [sdb] Synchronizing SCSI cache
[  247.948605] sd 6:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK

Test case is pretty simple
1) connect *full-speed* mass storage device
2) start file transfer from mass storage to host (Bulk IN transfer)
3) while transfer is active pull out the mass storage device

I can see the lock up within 10 iterations

NOTE: I cannot reproduce the problem if transfer direction is from host to device or on a high speed device.
Same issue is seen on older kernels as well. I've tried v4.1 and v4.4.

lspci -nn shows
03:00.0 USB controller [0c03]: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller [104c:8241] (rev 02)

Apparently this controller uses Synopsis XHCI core which is XHCI v0.96 compliant
SNPS_ID: 0x5533171a

John,
Is there any quirk required for this controller that we're missing?

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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux