External Intel SSD in various USB-Cases is not recognized

Hi,
i buy an Renkforce 2,5’’ USB-Case, fit with an 3,86TB Intel-SSD.
This works on an Windows-System. But my Turris Omnia doesnt detect this case:

dmesg
[ 1904.055861] usb 3-1: new SuperSpeed USB device number 3 using xhci-hcd
[ 1904.087122] usb 3-1: USB controller f10f0000.usb3 does not support streams, which are required by the UAS driver.
[ 1904.097461] usb 3-1: Please try an other USB controller if you wish to use UAS.
[ 1904.104790] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 1904.111304] usb-storage 3-1:1.0: Quirks match for vid 152d pid 0578: 1000000
[ 1904.118538] scsi host2: usb-storage 3-1:1.0
[ 1905.192171] scsi 2:0:0:0: Direct-Access JMicron Generic 3102 PQ: 0 ANSI: 6
[ 1915.228504] sd 2:0:0:0: [sdb] Spinning up disk…
nothing happens…

lsusb -t
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 3, If 0, Class=, Driver=usb-storage, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

Reforis/Storage:
detects sdb as “JMicron Generic (0 GiB)”. When i execute “Format & Set” i will see in dmesg:
[ 1915.228504] sd 2:0:0:0: [sdb] Spinning up disk…
[ 1918.268799] …not responding…
[ 2023.658990] sd 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK
[ 2023.668005] sd 2:0:0:0: [sdb] Sense Key : 0x2 [current]
[ 2023.673339] sd 2:0:0:0: [sdb] ASC=0x4 ASCQ=0x1
[ 2023.677899] sd 2:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[ 2023.684104] sd 2:0:0:0: [sdb] 0-byte physical blocks
[ 2025.694544] sd 2:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 2027.705907] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 2027.711424] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 2033.734067] sd 2:0:0:0: [sdb] Spinning up disk…
[ 2036.785708] …not responding…
[ 2313.935821] sd 2:0:0:0: tag#0 timing out command, waited 180s
[ 2493.923856] sd 2:0:0:0: tag#0 timing out command, waited 180s
[ 2673.951385] sd 2:0:0:0: tag#0 timing out command, waited 180s
[ 2673.957182] sd 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK
[ 2673.966186] sd 2:0:0:0: [sdb] Sense Key : 0x4 [current]
[ 2673.971525] sd 2:0:0:0: [sdb] ASC=0x44 <>ASCQ=0x81
[ 2853.996874] sd 2:0:0:0: tag#0 timing out command, waited 180s
[ 3034.027657] sd 2:0:0:0: tag#0 timing out command, waited 180s
[ 3034.033453] sd 2:0:0:0: [sdb] Attached SCSI disk

Firmware-Update of the JMicron in the case doesnt change anything.

Has someone an idea?

Seems like real chip enclosure. Your drive looks to be detected as hdd not ssd. Pleade check?

# cat /sys/block/sda/queue/rotational
0

You could try making udev rule to force it to be rotational 0

https://unix.stackexchange.com/questions/439109/set-usb-flash-drive-as-non-rotational-drive

Could help but also maybe not at all. Maybe if it wont try to spin up disk that doesnt have that function.

Hey,

thank you for your answer :slight_smile:
[ 8421.623122] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 8421.629931] usb-storage 3-1:1.0: Quirks match for vid 152d pid 0578: 1000000
[ 8421.637312] scsi host2: usb-storage 3-1:1.0
[ 8422.684210] scsi 2:0:0:0: Direct-Access JMicron Generic 3102 PQ: 0 ANSI: 6
[ 8432.720662] sd 2:0:0:0: [sdb] Spinning up disk…
root@Fritz:~# cat /sys/block/sdb/queue/rotational
cat: can’t open ‘/sys/block/sdb/queue/rotational’: No such file or directory


Maybe interesting, an working Orico-Case with the same chipset (2TB SSD):
[ 4367.935809] usb 3-1: USB disconnect, device number 3
[ 4560.900276] usb 3-1: new SuperSpeed USB device number 4 using xhci-hcd
[ 4560.931572] usb 3-1: USB controller f10f0000.usb3 does not support streams, which are required by the UAS driver.
[ 4560.941931] usb 3-1: Please try an other USB controller if you wish to use UAS.
[ 4560.949319] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 4560.955979] scsi host2: usb-storage 3-1:1.0
[ 4561.970460] scsi 2:0:0:0: Direct-Access TO Exter nal USB 3.0 0204 PQ: 0 ANSI: 6
[ 4561.979453] sd 2:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 4561.987581] sd 2:0:0:0: [sdb] Write Protect is off
[ 4561.992438] sd 2:0:0:0: [sdb] Mode Sense: 47 00 00 08
[ 4561.997870] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 4562.207043] sdb: sdb1
[ 4562.211501] sd 2:0:0:0: [sdb] Attached SCSI disk

=>
The problematic case means “Quirks match for vid 152d pid 0578” - is this important?
Ok, and no “spinnig up”-message …

Chinezium it seems.

(first, thank you for your answer)
What a mess with the firmwares, with the v124.01.00.02 from station drivers nothing changes :frowning:
Do you have another idea?
---- Or:
Do you have a tip - for an external case 4TB SSD?
I am not sure AS-Media / VL / …?

O also have Orico case and it worked. Seems like day-shift chinese product

Also, do you have enough power for the disk? Did you try a powered hub?

I made more checks:

An old USB 2.0-Case ASMT 2105:
[173419.938627] usb 3-1: new SuperSpeed USB device number 5 using xhci-hcd
[173419.969969] usb-storage 3-1:1.0: USB Mass Storage device detected
[173419.976533] scsi host3: usb-storage 3-1:1.0
[173421.018853] scsi 3:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 6
[173441.840137] sd 3:0:0:0: [sdc] Spinning up disk…
[173442.856887] …not responding…
[173573.046238] sd 3:0:0:0: [sdc] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK
[173573.055335] sd 3:0:0:0: [sdc] Sense Key : 0x2 [current]
[173573.060765] sd 3:0:0:0: [sdc] ASC=0x4 ASCQ=0x1
[173573.065401] sd 3:0:0:0: [sdc] 0 512-byte logical blocks: (0 B/0 B)
[173573.071694] sd 3:0:0:0: [sdc] 0-byte physical blocks
[173580.306512] sd 3:0:0:0: [sdc] Test WP failed, assume Write Enabled
[173587.611287] sd 3:0:0:0: [sdc] Asking for cache data failed
[173587.616898] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[173609.479695] sd 3:0:0:0: [sdc] Spinning up disk…
[173610.524430] …not responding…
[173740.712411] sd 3:0:0:0: [sdc] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK
[173740.721509] sd 3:0:0:0: [sdc] Sense Key : 0x2 [current]
[173740.726941] sd 3:0:0:0: [sdc] ASC=0x4 ASCQ=0x1

After [173441.840137] i start in reforis-storage the format&set (show up with 0GB Capacity)
(Same with an ASM1053E-Case)

JMS578:
[173819.058937] usb 3-1: new SuperSpeed USB device number 6 using xhci-hcd
[173819.090398] usb 3-1: USB controller f10f0000.usb3 does not support streams, which are required by the UAS driver.
[173819.100827] usb 3-1: Please try an other USB controller if you wish to use UAS.
[173819.108261] usb-storage 3-1:1.0: USB Mass Storage device detected
[173819.114781] usb-storage 3-1:1.0: Quirks match for vid 152d pid 0578: 1000000
[173819.122047] scsi host3: usb-storage 3-1:1.0
[173820.189166] scsi 3:0:0:0: Direct-Access JMicron Generic 4102 PQ: 0 ANSI: 6
[173830.224956] sd 3:0:0:0: [sdc] Spinning up disk…
[173833.307826] …not responding…

not visible in reforis-storage to format&set

The JMS578-Case works with a small Samsung-SSD-Case.

Also nothing changed with an powered USB-Hub.
Also nothing changed with differnt USB-Cables.
SSD-Firmware-Update doesnt change anything.

Edit 13:42:
The tip “became visible and auto-mounted when connecting through 2.0 hub.” from External Hard Drive NOT Showing Up - #34 by adminX also does not solve the problem (“Spinning up disk…”)

The device on a Ubuntu-Server:
[ 110.246064] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 110.443029] usb 1-1: New USB device found, idVendor=152d, idProduct=0578, bcd Device= 1.00
[ 110.443032] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 110.443034] usb 1-1: Product: USB to ATA/ATAPI Bridge
[ 110.443035] usb 1-1: Manufacturer: JMicron
[ 110.443037] usb 1-1: SerialNumber: 0123456789ABCDEF
[ 110.460289] usbcore: registered new interface driver usb-storage
[ 110.464639] scsi host4: uas
[ 110.464770] usbcore: registered new interface driver uas
[ 110.465221] scsi 4:0:0:0: Direct-Access JMicron Generic 4102 PQ : 0 ANSI: 6
[ 110.470050] sd 4:0:0:0: Attached scsi generic sg4 type 0
[ 117.463976] sd 4:0:0:0: [sde] 7501476528 512-byte logical blocks: (3.84 TB/3. 49 TiB)
[ 117.463982] sd 4:0:0:0: [sde] 4096-byte physical blocks
[ 117.464233] sd 4:0:0:0: [sde] Write Protect is off
[ 117.464239] sd 4:0:0:0: [sde] Mode Sense: 5f 00 00 08
[ 117.464804] sd 4:0:0:0: [sde] Disabling FUA
[ 117.464810] sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, does n’t support DPO or FUA
[ 117.465124] sd 4:0:0:0: [sde] Optimal transfer size 33553920 bytes not a mult iple of physical block size (4096 bytes)
[ 117.494979] sde:
[ 117.496669] sd 4:0:0:0: [sde] Attached SCSI disk

Detected…

The SSD is an Intel-Server SSD (SSDSC2KB038T801). Does Turris Omnia have problems with big USB-Drives?

Hi BeCube, some chipsets have issues to properly work I UAS mode. The XHCI is fallback with significantly lower performance. Google will tell you more :wink:

Hi,

thank you for your answer, conclusion:

  • UAS: Is not active, see my first post
    [ 1904.087122] usb 3-1: USB controller f10f0000.usb3 does not support streams, which are required by the UAS driver.
    [ 1904.097461] usb 3-1: Please try an other USB controller if you wish to use UAS.

    lsusb -t
    /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 3, If 0, Class=, Driver=usb-storage, 5000M
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

    According to [SOLVED] How to check UASP support? / Kernel & Hardware / Arch Linux Forums it should look like:

    lsusb -t
    /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 3, If 0, Class=, Driver=uas, 5000M
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

  • 3 Cases does not work: ASM 2105, ASM1053E, JMS578 (Firmware-Version doesnt solve the problem)

  • The Case JMS578 works with an small, old Samsung SSD on the Turris

  • The Case JMS578 works the Intel SSD on an separate i386-Ubuntu-Server

  • Intel-SSD Firmware is freshly updated

  • Several USB-Cables tested, doesnt solve the problem

  • Powered USB3.0 + USB2.0 Hubs doesnt solve the problem

It seems, that the Turris has a problem with the Intel-SSD?