Skip to content

Instantly share code, notes, and snippets.

@marcan
Last active July 31, 2022 14:54
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save marcan/43903a0e21778f2507ee4236359e5861 to your computer and use it in GitHub Desktop.
CRCH35U31CIS_FP HDD cage logs

Topology: VL822 hub + 4x ASM235CM (?) USB Gen2 - SATA bridges.

Tested with 4x WDC WD80EAZZ-00BKLB0 on an AMD X399 chipset.

~200MB/s from a single drive (this is about what the drive can do).

On a Gen1 port, I get ~400MB/s across all 4 drives. On a Gen2 port, ~800MB/s, give or take.

Power buttons power cycle the individual ASMedia controllers.

UAS does not pass through the drive identification at the SCSI layer, but does do ATA/SMART passthrough properly, so hdparm and smartctl work as expected. Block sizes are passed through properly. minimum_io_size is 4K (this is the same as a direct-attached SATA drive of similar characteristics, so probably just kernel behavior these days).

# cat /sys/block/sdi/device/vendor 
ASMT    
# cat /sys/block/sdi/device/model 
CRCH35U31CIS  
# cat /sys/block/sdi/queue/logical_block_size 
512
# cat /sys/block/sdi/queue/physical_block_size 
4096
# hdparm -I /dev/sdi | head

/dev/sdi:

ATA device, with non-removable media
        Model Number:       WDC WD80EAZZ-00BKLB0                    
        Serial Number:      <snip>
        Firmware Revision:  80.00A80
        Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
# smartctl --all /dev/sdi | head
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.18.7-gentoo] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD80EAZZ-00BKLB0
Serial Number:    <snip>
LU WWN Device Id: <snip>
Firmware Version: 80.00A80
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Bus 002 Device 005: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x174c ASMedia Technology Inc.
idProduct 0x55aa ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
bcdDevice 1.00
iManufacturer 2 ASMT
iProduct 3 CRCH35U31CIS
iSerial 1 91400000CC13
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0079
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 4
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 98
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Data-in pipe (0x03)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Data-out pipe (0x04)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 15
MaxStreams 32
Status pipe (0x02)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Command pipe (0x01)
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x002a
bNumDeviceCaps 3
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x0000f41e
BESL Link Power Management (LPM) Supported
BESL value 1024 us
Deep BESL value 61440 us
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
SuperSpeedPlus USB Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 10
bmAttributes 0x00000001
Sublink Speed Attribute count 1
Sublink Speed ID count 0
wFunctionalitySupport 0x1100
bmSublinkSpeedAttr[0] 0x000a4030
Speed Attribute ID: 0 10Gb/s Symmetric RX SuperSpeedPlus
bmSublinkSpeedAttr[1] 0x000a40b0
Speed Attribute ID: 0 10Gb/s Symmetric TX SuperSpeedPlus
Device Status: 0x0001
Self Powered
[1623740.703373] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[1623740.922647] usb 1-2: New USB device found, idVendor=2109, idProduct=2822, bcdDevice=90.13
[1623740.922650] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1623740.922652] usb 1-2: Product: USB2.0 Hub
[1623740.922653] usb 1-2: Manufacturer: VIA Labs, Inc.
[1623740.922655] usb 1-2: SerialNumber: 000000001
[1623740.927613] hub 1-2:1.0: USB hub found
[1623740.930603] hub 1-2:1.0: 4 ports detected
[1623741.068044] usb 2-2: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
[1623741.112619] usb 2-2: New USB device found, idVendor=2109, idProduct=0822, bcdDevice=90.13
[1623741.112622] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1623741.112624] usb 2-2: Product: USB3.1 Hub
[1623741.112625] usb 2-2: Manufacturer: VIA Labs, Inc.
[1623741.112626] usb 2-2: SerialNumber: 000000001
[1623741.118654] hub 2-2:1.0: USB hub found
[1623741.119386] hub 2-2:1.0: 4 ports detected
[1623741.762257] usb 2-2.1: new SuperSpeed Plus Gen 2x1 USB device number 3 using xhci_hcd
[1623741.783941] usb 2-2.1: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[1623741.783944] usb 2-2.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[1623741.783945] usb 2-2.1: Product: CRCH35U31CIS
[1623741.783946] usb 2-2.1: Manufacturer: ASMT
[1623741.783947] usb 2-2.1: SerialNumber: 91400000CC11
[1623741.804527] scsi host12: uas
[1623741.804847] scsi 12:0:0:0: Direct-Access ASMT CRCH35U31CIS 0 PQ: 0 ANSI: 6
[1623741.805296] sd 12:0:0:0: Attached scsi generic sg4 type 0
[1623741.806769] sd 12:0:0:0: [sdg] 15628053168 512-byte logical blocks: (8.00 TB/7.28 TiB)
[1623741.806774] sd 12:0:0:0: [sdg] 4096-byte physical blocks
[1623741.806846] sd 12:0:0:0: [sdg] Write Protect is off
[1623741.806849] sd 12:0:0:0: [sdg] Mode Sense: 43 00 00 00
[1623741.807007] sd 12:0:0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[1623741.807580] sd 12:0:0:0: [sdg] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[1623741.874255] usb 2-2.2: new SuperSpeed Plus Gen 2x1 USB device number 4 using xhci_hcd
[1623741.895946] usb 2-2.2: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[1623741.895950] usb 2-2.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[1623741.895951] usb 2-2.2: Product: CRCH35U31CIS
[1623741.895953] usb 2-2.2: Manufacturer: ASMT
[1623741.895954] usb 2-2.2: SerialNumber: 91400000CC12
[1623741.915851] scsi host14: uas
[1623741.916142] scsi 14:0:0:0: Direct-Access ASMT CRCH35U31CIS 0 PQ: 0 ANSI: 6
[1623741.916579] sd 14:0:0:0: Attached scsi generic sg5 type 0
[1623741.918028] sd 14:0:0:0: [sdi] 15628053168 512-byte logical blocks: (8.00 TB/7.28 TiB)
[1623741.918032] sd 14:0:0:0: [sdi] 4096-byte physical blocks
[1623741.918105] sd 14:0:0:0: [sdi] Write Protect is off
[1623741.918107] sd 14:0:0:0: [sdi] Mode Sense: 43 00 00 00
[1623741.918267] sd 14:0:0:0: [sdi] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[1623741.918842] sd 14:0:0:0: [sdi] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[1623741.985252] usb 2-2.3: new SuperSpeed Plus Gen 2x1 USB device number 5 using xhci_hcd
[1623742.006963] usb 2-2.3: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[1623742.006966] usb 2-2.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[1623742.006968] usb 2-2.3: Product: CRCH35U31CIS
[1623742.006969] usb 2-2.3: Manufacturer: ASMT
[1623742.006970] usb 2-2.3: SerialNumber: 91400000CC13
[1623742.027830] scsi host16: uas
[1623742.028127] scsi 16:0:0:0: Direct-Access ASMT CRCH35U31CIS 0 PQ: 0 ANSI: 6
[1623742.028547] sd 16:0:0:0: Attached scsi generic sg6 type 0
[1623742.029498] sd 16:0:0:0: [sdk] 15628053168 512-byte logical blocks: (8.00 TB/7.28 TiB)
[1623742.029504] sd 16:0:0:0: [sdk] 4096-byte physical blocks
[1623742.029576] sd 16:0:0:0: [sdk] Write Protect is off
[1623742.029579] sd 16:0:0:0: [sdk] Mode Sense: 43 00 00 00
[1623742.029737] sd 16:0:0:0: [sdk] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[1623742.030303] sd 16:0:0:0: [sdk] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[1623742.097201] usb 2-2.4: new SuperSpeed Plus Gen 2x1 USB device number 6 using xhci_hcd
[1623742.118979] usb 2-2.4: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[1623742.118983] usb 2-2.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[1623742.118985] usb 2-2.4: Product: CRCH35U31CIS
[1623742.118986] usb 2-2.4: Manufacturer: ASMT
[1623742.118987] usb 2-2.4: SerialNumber: 91400000CC14
[1623742.139650] scsi host17: uas
[1623742.139925] scsi 17:0:0:0: Direct-Access ASMT CRCH35U31CIS 0 PQ: 0 ANSI: 6
[1623742.140347] sd 17:0:0:0: Attached scsi generic sg7 type 0
[1623742.141766] sd 17:0:0:0: [sdl] 15628053168 512-byte logical blocks: (8.00 TB/7.28 TiB)
[1623742.141769] sd 17:0:0:0: [sdl] 4096-byte physical blocks
[1623742.141844] sd 17:0:0:0: [sdl] Write Protect is off
[1623742.141846] sd 17:0:0:0: [sdl] Mode Sense: 43 00 00 00
[1623742.142005] sd 17:0:0:0: [sdl] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[1623742.142562] sd 17:0:0:0: [sdl] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[1623751.694277] sd 14:0:0:0: [sdi] Attached SCSI disk
[1623751.919386] sd 12:0:0:0: [sdg] Attached SCSI disk
[1623752.226622] sd 16:0:0:0: [sdk] Attached SCSI disk
[1623752.246396] sd 17:0:0:0: [sdl] Attached SCSI disk
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.20
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x2109 VIA Labs, Inc.
idProduct 0x0822
bcdDevice 90.13
iManufacturer 1 VIA Labs, Inc.
iProduct 2 USB3.1 Hub
iSerial 3 000000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x001f
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 19
Transfer Type Interrupt
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 8
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 4
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 175 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.4 micro seconds
wHubDelay 2292 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.0203 lowspeed enable connect
Port 2: 0000.0203 lowspeed enable connect
Port 3: 0000.0203 lowspeed enable connect
Port 4: 0000.0203 lowspeed enable connect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0049
bNumDeviceCaps 5
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000006
BESL Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 4 micro seconds
bU2DevExitLat 231 micro seconds
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {30eef35c-07d5-2549-b001-802d79434c30}
SuperSpeedPlus USB Device Capability:
bLength 28
bDescriptorType 16
bDevCapabilityType 10
bmAttributes 0x00000023
Sublink Speed Attribute count 3
Sublink Speed ID count 1
wFunctionalitySupport 0x1100
bmSublinkSpeedAttr[0] 0x00050030
Speed Attribute ID: 0 5Gb/s Symmetric RX SuperSpeed
bmSublinkSpeedAttr[1] 0x000500b0
Speed Attribute ID: 0 5Gb/s Symmetric TX SuperSpeed
bmSublinkSpeedAttr[2] 0x000a4031
Speed Attribute ID: 1 10Gb/s Symmetric RX SuperSpeedPlus
bmSublinkSpeedAttr[3] 0x000a40b1
Speed Attribute ID: 1 10Gb/s Symmetric TX SuperSpeedPlus
** UNRECOGNIZED: 03 10 0b
Device Status: 0x0001
Self Powered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment