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.

Linux/66AK2H12: USB disk

Part Number: 66AK2H12

Tool/software: Linux

usb ssd harddisk question

use sdk 4.3.0.5,kernel print

[    3.243073] (NULL net_device): Link is Down                                                                                                                                                                                                                                  
[    3.247269] (NULL net_device): Link is Down                                                                                                                                                                                                                                  
[    3.823140] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd                                                                                                                                                                                                       
[    3.860576] scsi host0: uas                                                                                                                                                                                                                                                  
[    3.864232] scsi 0:0:0:0: Direct-Access     Samsung  Portable SSD T1  0    PQ: 0 ANSI: 6                                                                                                                                                                                     
[    3.865227] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233 GiB)                                                                                                                                                                                            
[    3.865772] sd 0:0:0:0: [sda] Write Protect is off                                                                                                                                                                                                                           
[    3.866005] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA                                                                                                                                                                          
[    3.866130] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring                                                                                                                                                                    
[    3.905228] xhci-hcd xhci-hcd.0.auto: @00000000fbc44420 00000000 00000000 1b000000 01038001                                                                                                                                                                                  
[    3.915578]  sda: sda1 sda2 < sda5 >                                                                                                                                                                                                                                         
[    3.920911] sd 0:0:0:0: [sda] Attached SCSI disk                                                                                                                                                                                                                             
[    6.157082] random: fast init done                                                                                                                                                                                                                                           
[    6.169949] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)                                                                                                                                                                                          
[    6.177658] VFS: Mounted root (ext4 filesystem) on device 8:1.                                                                                                                                                                                                               
[    6.186646] devtmpfs: mounted                                               

  • Hi,

    Not sure where did you downloaded this kernel from, since it is not official TI release (it is not part of any TI SDK Linux).

    However, the first error you see:
    [ 3.866005] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    You can have a look at the following document for details:
    lwn.net/.../

    The next xhci errors:

    [ 3.866130] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
    [ 3.905228] xhci-hcd xhci-hcd.0.auto: @00000000fbc44420 00000000 00000000 1b000000 01038001

    come from xhci-ring.c, specifically the handle_tx_event() function. It means it got a Transfer event with a corrupted endpoint ID.

    I suggest you compare your xhci-ring.c with the one in the latest TISDK Linux.

    Best Regards,
    Yordan
  • I down load sdk from [http://software-dl.ti.com/processor-sdk-linux-rt/esd/K2HK/latest/index_FDS.html] ,version is 4.0.3.5.and use the kernel src in board dir.my board is evm-k2hk buy from TI.

    please help me,thanks.

    I get the error from version 3.0.0.3

  • Hi,

    I get the error from version 3.0.0.3


    This is a very old linux sdk, which is no longer supported. Please update to the latest TI SDK, which can be downloaded from here:
    www.ti.com/.../processor-sdk-k2h

    From what you say I get the impression that the problem is with the older sdk version (v 3.0.0.3).

    Best Regards,
    Yordan