Saturday 18 June 2016

Inateck 2.5 Inch USB 3.0 Hard Drive Enclosure External SATA HDD and SSD Case - Optimized for 9.5mm 7mm 2.5" SSD, Tool Free (FE2002)

Purchased another USB 3.0 hard disk enclosure [Inateck 2.5 Inch USB 3.0 Hard Drive Enclosure External SATA HDD and SSD Case - Optimized for 9.5mm 7mm 2.5" SSD, Tool Free (FE2002)]

dmesg
[18230.601026] usb 1-7: new high-speed USB device number 2 using ehci-pci [18230.718914] usb 1-7: New USB device found, idVendor=174c, idProduct=55aa [18230.718921] usb 1-7: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [18230.718926] usb 1-7: Product: ASM1153E [18230.718930] usb 1-7: Manufacturer: Inateck [18230.718934] usb 1-7: SerialNumber: 123456789111 [18230.830322] usbcore: registered new interface driver usb-storage [18230.838751] scsi host4: uas [18230.839585] usbcore: registered new interface driver uas [18230.840569] scsi 4:0:0:0: Direct-Access Inateck ASM1153E 0 PQ: 0 ANSI: 6 [18230.842579] sd 4:0:0:0: Attached scsi generic sg2 type 0 [18230.843552] sd 4:0:0:0: [sdb] Spinning up disk... [18231.844019] ..ready [18232.848344] sd 4:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB) [18232.848351] sd 4:0:0:0: [sdb] 4096-byte physical blocks [18232.850332] sd 4:0:0:0: [sdb] Write Protect is off [18232.850340] sd 4:0:0:0: [sdb] Mode Sense: 43 00 00 00 [18232.851660] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [18232.921374] sdb: sdb1 [18232.924707] sd 4:0:0:0: [sdb] Attached SCSI disk

Shall be updating more details about the product as I get used to it. Watch this space!

Tuesday 14 June 2016

Spinido Hard Disk Enclosure Support UASP SATA III USB 3.0/2.0 enclosure

Purchased a USB 3.0 hard disk enclosure [Spinido Hard Disk Enclosure Support UASP SATA III USB 3.0/2.0 Aluminum External Tool-free Box & Mobile Device Optimized For 2.5 Inch SSD and HDD(Black)]

[ 65.772392] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd [ 65.787752] usb 2-2: New USB device found, idVendor=152d, idProduct=8561 [ 65.787762] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 65.787767] usb 2-2: Product: USB3.0 External HDD [ 65.787772] usb 2-2: Manufacturer: Jmicron [ 65.787776] usb 2-2: SerialNumber: 612C20000 [ 65.846564] usbcore: registered new interface driver usb-storage [ 65.855134] scsi host6: uas [ 65.855278] usbcore: registered new interface driver uas [ 65.855841] scsi 6:0:0:0: Direct-Access TOSHIBA MK2561GSYN 8105 PQ: 0 ANSI: 6 [ 65.856996] sd 6:0:0:0: Attached scsi generic sg2 type 0 [ 65.857158] sd 6:0:0:0: [sdb] Spinning up disk... [ 66.857823] ..ready [ 67.858945] sd 6:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB) [ 67.858955] sd 6:0:0:0: [sdb] 4096-byte physical blocks [ 67.859848] sd 6:0:0:0: [sdb] Write Protect is off [ 67.859862] sd 6:0:0:0: [sdb] Mode Sense: 53 00 00 08 [ 67.860277] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 67.957150] sdb: sdb1 sdb2 sdb3 < sdb5 sdb6 sdb7 sdb8 sdb9 > [ 67.961100] sd 6:0:0:0: [sdb] Attached SCSI disk [ 68.692869] EXT4-fs (sdb5): mounted filesystem with ordered data mode. Opts: (null) [ 68.798436] EXT4-fs (sdb7): mounted filesystem with ordered data mode. Opts: (null) [ 68.857341] EXT4-fs (sdb8): mounted filesystem with ordered data mode. Opts: (null)

Shall be updating more details about the product as I get used to it. Watch this space!

Monday 13 June 2016

ORICO 2588US3 Portable USB 2.5 3.0 SATA external HDD enclosure

Probably does not support UASP. Found no mention of that on the product description. The system reports it as:

idVendor 0x357d Sharkoon idProduct 0x7788 QuickPort XT

Linux starts using the uas driver, but the drive goes offline after a short period of idle without informing the system. Not sure whether this is a linux driver issue or about the device supporting UASP. Very annoying.

ORICO 2588US3 Portable USB 2.5 3.0 SATA external HDD enclosure

[ 9448.672288] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd [ 9448.684149] usb 2-2: New USB device found, idVendor=357d, idProduct=7788 [ 9448.684154] usb 2-2: New USB device strings: Mfr=10, Product=11, SerialNumber=3 [ 9448.684156] usb 2-2: Product: USB to ATA/ATAPI Bridge [ 9448.684158] usb 2-2: Manufacturer: JMicron [ 9448.684159] usb 2-2: SerialNumber: 000012345678 [ 9448.699991] usbcore: registered new interface driver usb-storage [ 9448.703525] scsi host4: uas [ 9448.704366] usbcore: registered new interface driver uas [ 9448.705036] scsi 4:0:0:0: Direct-Access TOSHIBA MQ01XXXNNN 0100 PQ: 0 ANSI: 6 [ 9448.707804] sd 4:0:0:0: Attached scsi generic sg1 type 0 [ 9448.708435] sd 4:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 9448.708437] sd 4:0:0:0: [sdb] 4096-byte physical blocks [ 9448.711541] sd 4:0:0:0: [sdb] Write Protect is off [ 9448.711544] sd 4:0:0:0: [sdb] Mode Sense: 67 00 10 08 [ 9448.712759] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 9448.788026] sdb: sdb1 [ 9448.794082] sd 4:0:0:0: [sdb] Attached SCSI disk [ 9449.625260] EXT4-fs (sdb1): recovery complete [ 9449.625390] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)

A way forward is to register a quirk with Linux to tell it to use the usb-storage driver instead.

/etc/modprobe.d/uas.conf

options usb-storage quirks=357d:7788:u

followed by rebuilding the initramfs

sudo dracut -f

rebooted and plugged in the USB3 drive. So far it's working fine.

From dmesg:

[43697.312058] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd [43697.327316] usb 2-2: New USB device found, idVendor=357d, idProduct=7788 [43697.327324] usb 2-2: New USB device strings: Mfr=10, Product=11, SerialNumber=3 [43697.327328] usb 2-2: Product: USB to ATA/ATAPI Bridge [43697.327331] usb 2-2: Manufacturer: JMicron [43697.327334] usb 2-2: SerialNumber: 000012345678 [43697.373991] usb 2-2: UAS is blacklisted for this device, using usb-storage instead [43697.374005] usb-storage 2-2:1.0: USB Mass Storage device detected [43697.374341] usb-storage 2-2:1.0: Quirks match for vid 357d pid 7788: 800000 [43697.374405] scsi host6: usb-storage 2-2:1.0 [43697.374598] usbcore: registered new interface driver usb-storage [43697.379279] usbcore: registered new interface driver uas [43698.374486] scsi 6:0:0:0: Direct-Access TOSHIBA MQ01XXXNNN 0100 PQ: 0 ANSI: 6 [43698.375209] sd 6:0:0:0: Attached scsi generic sg2 type 0 [43698.375435] sd 6:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB) [43698.375927] sd 6:0:0:0: [sdb] Write Protect is off [43698.375934] sd 6:0:0:0: [sdb] Mode Sense: 67 00 10 08 [43698.376575] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA [43698.468754] sdb: sdb1 [43698.470369] sd 6:0:0:0: [sdb] Attached SCSI disk [43722.817407] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)