This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCIEVMK2X: xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command

Part Number: TCIEVMK2X

The EVM board I'm using is labeled rev 40 running TI processor SDK ver 03.03.00.04.

root@k2hk-evm:~# uname -r
4.4.41-rt50-g968d071ce9

I run a USB transfer test which includes reading from a USB 2.0 flash drive and writing to /dev/null in a loop

dd of=/tmp/400M if=/dev/sda1 bs=100M count=4 

After a few iterations, dd command would fail with the following message in dmesg:

[  158.182218] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.                                   
[  158.190347] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host.                                                
[  158.217515] xhci-hcd xhci-hcd.0.auto: HC died; cleaning up
[  158.223138] usb 1-1: USB disconnect, device number 2
[  158.292307] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00                                  
[  158.292315] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 01 35 10 00 00 10 00                                         
[  158.292321] blk_update_request: I/O error, dev sda, sector 79120                                                           
[  158.325628] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00                                  
[  158.325638] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 01 35 20 00 00 f0 00                                         
[  158.325643] blk_update_request: I/O error, dev sda, sector 79136                                                           
[  158.423929] Buffer I/O error on dev sda1, logical block 9856, async page read  

The following UCD updates have been done:

  1. UCD9090_104_A04_TI_30%_20151120.txt
  2. UCD9244_52_A05.txt

Any suggestions?

  • Hi, Ben,

    Let me try with the latest SDK and see if I can reproduce the issue. Your kernel version is very old and beyond support. The latest kernel version is 4.19. I'll get back to you once I have a result.

    Rex

  • Hi, Ben,

    I don't see the issue with 4.19.59 kernel (PLSDK 6.1 release). Below is the console log. I increased the loop to 100 and still not seeing the issue. Do you want to try the latest SDK? 

    root@k2hk-evm:~# cat test.sh
    for (( i=0; i<10; i++ ))
    do
    echo -n "$i "
    dd of=/tmp/400M if=/dev/sda bs=100M count=4
    printf "\r\n"
    done
    root@k2hk-evm:~# ./test.sh
    0 0+1 records in
    0+1 records out

    1 0+1 records in
    0+1 records out

    2 0+1 records in
    0+1 records out

    3 0+1 records in
    0+1 records out

    4 0+1 records in
    0+1 records out

    5 0+1 records in
    0+1 records out

    6 0+1 records in
    0+1 records out

    7 0+1 records in
    0+1 records out

    8 0+1 records in
    0+1 records out

    9 0+1 records in
    0+1 records out

    root@k2hk-evm:~#


    97 0+1 records in
    0+1 records out

    98 0+1 records in
    0+1 records out

    99 0+1 records in
    0+1 records out

    root@k2hk-evm:~# uname -a
    Linux k2hk-evm 4.19.59-g5f8c1c6121 #1 SMP PREEMPT Sat Oct 19 16:21:42 UTC 2019 armv7l GNU/Linux
    root@k2hk-evm:~#