bb-qq / uas

DSM Driver for UASP supported USB storage devices
20 stars 1 forks source link

Unable to get system to use the UASP driver / uas module #3

Open dotWee opened 8 months ago

dotWee commented 8 months ago

Description of the problem

Bug report, as I couldn't get UASP working after a quick try. I'm stuck at following the kernel logs. Not sure about further debugging actions. If you have some ideas, let me know.

Fresh reboots have been performed and the loading of the custom UASP driver validated in the kernel logs before reattaching the HDD enclosure.

UASP functionality has been successfully validated on a linux vm.

Description of your products

Linux StudioSynNAS 4.4.302+ #69057 SMP Fri Jan 12 17:02:28 CST 2024 x86_64 GNU/Linux synology_geminilake_920+

Description of your environment

Screenshot 2024-02-23 at 22 57 14

Output of dmesg command

[526178.855950] usb 1-2: USB disconnect, device number 10
[526178.861715] usb 1-2.5: USB disconnect, device number 11
[526178.966209] xhci_hcd 0000:00:15.0: device is plugged out, empty URBs
[526179.631192] hub 2-2:1.0: hub_port_status failed (err = -71)
[526179.640940] usb 2-2-port1: cannot reset (err = -71)
[526179.649937] usb 2-2-port1: cannot reset (err = -71)
[526180.654899] usb 2-2-port1: cannot reset (err = -110)
[526181.659709] usb 2-2-port1: cannot reset (err = -110)
[526181.796708] usb 2-2: USB disconnect, device number 15
[526181.802489] usb 2-2.1: USB disconnect, device number 16
[526182.664521] usb 2-2-port1: cannot reset (err = -110)
[526182.670205] usb 2-2-port1: Cannot enable. Maybe the USB cable is bad?
[526182.677525] usb 2-2-port1: logical disconnect on port 1 [usb-storage]
[526182.686018] scsi 18:0:0:0: rejecting I/O to offline device
[526182.692245] scsi 18:0:0:0: killing request
[526182.708662] usb 2-2.2: USB disconnect, device number 18
[526182.719994] usb 2-2.3: USB disconnect, device number 17
[526182.751437] usb 2-2.4: USB disconnect, device number 19
[526262.754753] usb 2-1.2: new SuperSpeed USB device number 23 using xhci_hcd
[526262.773633] Got empty serial number. Generate serial number from product.
[526265.078456] usb 2-1.2: reset SuperSpeed USB device number 23 using xhci_hcd
[526266.022198] usb 2-1.2: USB disconnect, device number 23
[526266.402100] usb 2-1.2: new SuperSpeed USB device number 24 using xhci_hcd
[526266.420819] Got empty serial number. Generate serial number from product.
[526267.733110] usb 2-1.2: reset SuperSpeed USB device number 24 using xhci_hcd
[526269.041810] usb 2-1.2: reset SuperSpeed USB device number 24 using xhci_hcd
[526272.219135] usb 2-1.2: reset SuperSpeed USB device number 24 using xhci_hcd
[526274.009813] usb 2-1.2: reset SuperSpeed USB device number 24 using xhci_hcd
[526275.564795] usb 2-1.2: Device not responding to setup address.
[526275.775739] usb 2-1.2: Device not responding to setup address.
[526275.983245] usb 2-1.2: device not accepting address 24, error -71
[526276.498244] usb 2-1.2: reset SuperSpeed USB device number 24 using xhci_hcd
[526281.516250] usb 2-1.2: unable to get BOS descriptor set
[526281.522229] usb 2-1.2: device firmware changed
[526281.527340] usb 2-1-port2: logical disconnect on port 2 [kworker/0:3]
[526281.535558] usb 2-1.2: USB disconnect, device number 24
[526281.956266] usb 2-1.2: new SuperSpeed USB device number 25 using xhci_hcd
[526281.974911] Got empty serial number. Generate serial number from product.
[526283.626109] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526284.990785] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526286.095593] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526286.967415] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526289.002039] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526290.141899] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526291.494623] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526293.744220] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526296.262771] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526297.940410] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526299.480093] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526301.287762] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526302.109921] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526302.594538] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526304.936612] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526305.411998] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526306.460809] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526306.490028] usb 2-1.2: device descriptor read/8, error -71
[526306.596557] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526306.624969] usb 2-1.2: device descriptor read/8, error -71
[526306.815747] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526307.797575] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526310.256758] Module [uas] is removed.
[526310.260965] usbcore: deregistering interface driver uas
[526310.273207] Module [usb_storage] is removed.
[526310.278197] usbcore: deregistering interface driver usb-storage
[526310.315594] usb-storage 1-4:1.0: USB Mass Storage device detected
[526310.323413] scsi host22: usb-storage 1-4:1.0
[526310.328481] usbcore: registered new interface driver usb-storage
[526311.286976] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526311.331237] scsi 22:0:0:0: Direct-Access     Synology DiskStation              DL17 PQ: 0 ANSI: 6
[526311.342875] sd 22:0:0:0: Attached scsi generic sg4 type 0
[526311.344495] sd 22:0:0:0: [synoboot] 245760 512-byte logical blocks: (126 MB/120 MiB)
[526311.346811] sd 22:0:0:0: [synoboot] Write Protect is off
[526311.346814] sd 22:0:0:0: [synoboot] Mode Sense: 23 00 00 00
[526311.347719] sd 22:0:0:0: [synoboot] No Caching mode page found
[526311.347721] sd 22:0:0:0: [synoboot] Assuming drive cache: write through
[526311.354261] GPT:Primary header thinks Alt. header is not at the end of the disk.
[526311.354262] GPT:239649 != 245759
[526311.354263] GPT:Alternate GPT header not at the end of the disk.
[526311.354263] GPT:239649 != 245759
[526311.354264] GPT: Use GNU Parted to correct GPT errors.
[526311.354273]  synoboot: synoboot1 synoboot2
[526311.360380] sd 22:0:0:0: [synoboot] Attached SCSI disk
[526312.900649] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526317.173829] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526318.996488] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526320.138286] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526323.332975] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526324.273544] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526325.091353] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526325.647255] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526326.552087] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526327.366960] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526328.975664] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526331.571208] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526332.408140] audit: type=1325 audit(1705194737.896:79501): table=nat family=2 entries=70
[526332.427441] audit: type=1325 audit(1705194737.915:79502): table=filter family=2 entries=91
[526332.480634] audit: type=1325 audit(1705194737.968:79503): table=nat family=2 entries=69
[526332.597953] audit: type=1325 audit(1705194738.086:79504): table=nat family=2 entries=68
[526332.617594] audit: type=1325 audit(1705194738.105:79505): table=filter family=2 entries=90
[526332.637214] audit: type=1325 audit(1705194738.125:79506): table=nat family=2 entries=67
[526332.910958] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526332.911393] audit: type=1325 audit(1705194738.399:79507): table=nat family=2 entries=66
[526332.928309] audit: type=1325 audit(1705194738.416:79508): table=filter family=2 entries=89
[526332.948276] audit: type=1325 audit(1705194738.436:79509): table=nat family=2 entries=65
[526333.565554] docker-418397a6: port 1(docker4919f31) entered disabled state
[526333.573297] docker77a74ba: renamed from eth0
[526334.073560] docker-418397a6: port 1(docker4919f31) entered disabled state
[526334.081571] device docker4919f31 left promiscuous mode
[526334.087434] docker-418397a6: port 1(docker4919f31) entered disabled state
[526335.751488] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526335.780524] usb 2-1.2: device descriptor read/8, error -71
[526335.887170] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526335.916271] usb 2-1.2: device descriptor read/8, error -71
[526336.753413] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526337.420461] usb 2-1.2: Device not responding to setup address.
[526337.631177] usb 2-1.2: Device not responding to setup address.
[526337.838781] usb 2-1.2: device not accepting address 25, error -71
[526338.152863] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526338.727062] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526340.166709] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526341.383347] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526343.838890] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526345.366814] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526347.444264] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526348.664004] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526350.961589] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526352.044367] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526352.867291] usb 2-1.2: reset SuperSpeed USB device number 25 using xhci_hcd
[526353.159329] usb 2-1.2: USB disconnect, device number 25
[526353.762913] usb 2-1.2: new SuperSpeed USB device number 26 using xhci_hcd
[526353.781776] Got empty serial number. Generate serial number from product.
[526355.746695] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526358.974164] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526359.873979] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526362.990407] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526365.893153] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526369.190289] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526371.723772] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526372.690696] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526372.833309] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[526372.974720] usb 1-2: not running at top speed
[526373.348241] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[526373.490521] usb 1-2: not running at top speed
[526373.867153] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[526374.008342] usb 1-2: not running at top speed
[526374.382084] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[526374.523278] usb 1-2: not running at top speed
[526374.897995] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[526375.041990] usb 1-2: not running at top speed
[526375.417886] usb 1-2: new high-speed USB device number 12 using xhci_hcd
[526375.560160] usb 1-2: not running at top speed
[526375.568693] hub 1-2:1.0: USB hub found
[526375.573347] hub 1-2:1.0: 5 ports detected
[526375.878394] usb 2-1.2: Device not responding to setup address.
[526376.089105] usb 2-1.2: Device not responding to setup address.
[526376.296668] usb 2-1.2: device not accepting address 26, error -71
[526376.610693] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526376.711637] usb 1-2.5: new high-speed USB device number 13 using xhci_hcd
[526377.657689] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526379.997221] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526380.736085] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526380.888846] usb 1-2.1: new high-speed USB device number 14 using xhci_hcd
[526381.047283] drivers/usb/core/hub.c (2962) Same device found. Change serial to 0000000000000000
[526381.058058] usb-storage 1-2.1:1.0: USB Mass Storage device detected
[526381.065422] scsi host23: usb-storage 1-2.1:1.0
[526381.315741] usb 1-2.3: new high-speed USB device number 15 using xhci_hcd
[526381.479212] usb-storage 1-2.3:1.0: USB Mass Storage device detected
[526381.489751] scsi host24: usb-storage 1-2.3:1.0
[526382.072654] scsi 23:0:0:0: Direct-Access              VirtualDisk                   PQ: 0 ANSI: 6
[526382.083063] sd 23:0:0:0: Attached scsi generic sg5 type 0
[526382.090211] sd 23:0:0:0: [usb1] Attached SCSI removable disk
[526382.498583] scsi 24:0:0:0: Direct-Access              VirtualDisk                   PQ: 0 ANSI: 6
[526382.509174] sd 24:0:0:0: Attached scsi generic sg6 type 0
[526382.519487] sd 24:0:0:0: [usb2] Attached SCSI removable disk
[526382.962726] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526382.992070] usb 2-1.2: device descriptor read/8, error -71
[526383.098414] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526383.127908] usb 2-1.2: device descriptor read/8, error -71
[526383.541538] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526383.570833] usb 2-1.2: device descriptor read/8, error -71
[526383.677308] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526383.705854] usb 2-1.2: device descriptor read/8, error -71
[526384.321472] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526385.814475] Module [usb_storage] is removed.
[526385.819471] usbcore: deregistering interface driver usb-storage
[526385.873209] usb-storage 1-4:1.0: USB Mass Storage device detected
[526385.881908] scsi host25: usb-storage 1-4:1.0
[526385.886960] usb-storage 1-2.1:1.0: USB Mass Storage device detected
[526385.894383] scsi host26: usb-storage 1-2.1:1.0
[526385.899638] usb-storage 1-2.3:1.0: USB Mass Storage device detected
[526385.907046] scsi host27: usb-storage 1-2.3:1.0
[526385.912291] usbcore: registered new interface driver usb-storage
[526385.921175] usbcore: registered new interface driver uas
[526386.055081] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526386.892579] scsi 25:0:0:0: Direct-Access     Synology DiskStation              DL17 PQ: 0 ANSI: 6
[526386.906265] sd 25:0:0:0: Attached scsi generic sg4 type 0
[526386.906620] sd 25:0:0:0: [synoboot] 245760 512-byte logical blocks: (126 MB/120 MiB)
[526386.907556] sd 25:0:0:0: [synoboot] Write Protect is off
[526386.907559] sd 25:0:0:0: [synoboot] Mode Sense: 23 00 00 00
[526386.908372] sd 25:0:0:0: [synoboot] No Caching mode page found
[526386.908373] sd 25:0:0:0: [synoboot] Assuming drive cache: write through
[526386.914908] GPT:Primary header thinks Alt. header is not at the end of the disk.
[526386.914909] GPT:239649 != 245759
[526386.914909] GPT:Alternate GPT header not at the end of the disk.
[526386.914910] GPT:239649 != 245759
[526386.914910] GPT: Use GNU Parted to correct GPT errors.
[526386.914918]  synoboot: synoboot1 synoboot2
[526386.925523] sd 25:0:0:0: [synoboot] Attached SCSI disk
[526386.983477] scsi 27:0:0:0: Direct-Access              VirtualDisk                   PQ: 0 ANSI: 6
[526386.994578] sd 27:0:0:0: Attached scsi generic sg5 type 0
[526386.997960] sd 27:0:0:0: [usb1] Attached SCSI removable disk
[526387.008433] scsi 26:0:0:0: Direct-Access              VirtualDisk                   PQ: 0 ANSI: 6
[526387.019112] sd 26:0:0:0: Attached scsi generic sg6 type 0
[526387.026457] sd 26:0:0:0: [usb2] Attached SCSI removable disk
[526388.891883] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526389.134334] usb 1-2: USB disconnect, device number 12
[526389.140131] usb 1-2.1: USB disconnect, device number 14
[526389.160377] usb 1-2.3: USB disconnect, device number 15
[526389.189004] usb 1-2.5: USB disconnect, device number 13
[526389.981440] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526392.727885] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526395.736288] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526398.622796] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526403.994765] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526405.284595] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526406.202396] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526406.602062] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[526406.743341] usb 1-2: not running at top speed
[526407.117006] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[526407.258319] usb 1-2: not running at top speed
[526407.631891] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[526407.773430] usb 1-2: not running at top speed
[526408.147790] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[526408.289056] usb 1-2: not running at top speed
[526408.662723] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[526408.804864] usb 1-2: not running at top speed
[526409.178624] usb 1-2: new high-speed USB device number 16 using xhci_hcd
[526409.320637] usb 1-2: not running at top speed
[526409.329229] hub 1-2:1.0: USB hub found
[526409.333617] hub 1-2:1.0: 5 ports detected
[526409.409799] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526409.996440] usb 1-2.5: new high-speed USB device number 17 using xhci_hcd
[526414.618577] usb 1-2.1: new high-speed USB device number 18 using xhci_hcd
[526414.776665] drivers/usb/core/hub.c (2962) Same device found. Change serial to 0000000000000000
[526414.787686] usb-storage 1-2.1:1.0: USB Mass Storage device detected
[526414.803600] scsi host28: usb-storage 1-2.1:1.0
[526415.048521] usb 1-2.3: new high-speed USB device number 19 using xhci_hcd
[526415.207498] usb-storage 1-2.3:1.0: USB Mass Storage device detected
[526415.214903] scsi host29: usb-storage 1-2.3:1.0
[526415.812390] scsi 28:0:0:0: Direct-Access              VirtualDisk                   PQ: 0 ANSI: 6
[526415.822754] sd 28:0:0:0: Attached scsi generic sg5 type 0
[526415.830134] sd 28:0:0:0: [usb1] Attached SCSI removable disk
[526416.222213] scsi 29:0:0:0: Direct-Access              VirtualDisk                   PQ: 0 ANSI: 6
[526416.232744] sd 29:0:0:0: Attached scsi generic sg6 type 0
[526416.239904] sd 29:0:0:0: [usb2] Attached SCSI removable disk
[526417.212383] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526418.872005] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526420.577768] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526422.368370] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526425.290826] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526426.144662] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526428.305301] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526428.334474] usb 2-1.2: device descriptor read/8, error -71
[526428.441021] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526428.469458] usb 2-1.2: device descriptor read/8, error -71
[526428.886235] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526429.037911] usb 1-2.2: new high-speed USB device number 20 using xhci_hcd
[526429.197299] usb-storage 1-2.2:1.0: USB Mass Storage device detected
[526429.204993] scsi host30: usb-storage 1-2.2:1.0
[526430.213913] scsi 30:0:0:0: Direct-Access     WDC WD80 EDAZ-11TA3A0             81.0 PQ: 0 ANSI: 6
[526430.224463] sd 30:0:0:0: Attached scsi generic sg7 type 0
[526430.233445] sd 30:0:0:0: [usb3] Very big device. Trying to use READ CAPACITY(16).
[526430.243214] sd 30:0:0:0: [usb3] 15628053168 512-byte logical blocks: (8.00 TB/7.28 TiB)
[526430.252301] sd 30:0:0:0: [usb3] 4096-byte physical blocks
[526430.259519] sd 30:0:0:0: [usb3] Write Protect is off
[526430.265204] sd 30:0:0:0: [usb3] Mode Sense: 2f 00 00 00
[526430.265791] sd 30:0:0:0: [usb3] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[526430.277322] sd 30:0:0:0: [usb3] Very big device. Trying to use READ CAPACITY(16).
[526430.907863] usb 2-1.2: reset SuperSpeed USB device number 26 using xhci_hcd
[526431.059532] usb 1-2.4: new high-speed USB device number 21 using xhci_hcd
[526431.218966] usb-storage 1-2.4:1.0: USB Mass Storage device detected
[526431.226319] scsi host31: usb-storage 1-2.4:1.0
[526432.235265] scsi 31:0:0:0: Direct-Access     ST10000D M005-3AW101              DN04 PQ: 0 ANSI: 6
[526432.245855] sd 31:0:0:0: [usb4] Very big device. Trying to use READ CAPACITY(16).
[526432.245875] sd 31:0:0:0: Attached scsi generic sg8 type 0
[526432.260861] sd 31:0:0:0: [usb4] 19532873728 512-byte logical blocks: (10.0 TB/9.10 TiB)
[526432.269984] sd 31:0:0:0: [usb4] 4096-byte physical blocks
[526432.276657] sd 31:0:0:0: [usb4] Write Protect is off
[526432.282347] sd 31:0:0:0: [usb4] Mode Sense: 2f 00 00 00
[526432.282847] sd 31:0:0:0: [usb4] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[526432.294228] sd 31:0:0:0: [usb4] Very big device. Trying to use READ CAPACITY(16).
[526432.649654] xhci_hcd 0000:00:15.0: device is plugged out, empty URBs
[526432.705790] usb 1-1: USB disconnect, device number 2

Output of lsusb command

|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.302+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
  |__1-2         2109:2822:05a3 09  2.10  480MBit/s 0mA 1IF  (VIA Labs, Inc. USB2.0 Hub 000000001) hub
    |__1-2.5     2109:8818:0001 11  2.01  480MBit/s 100mA 1IF  (VIA Labs, Inc. USB Billboard Device    0000000000000001)
  |__1-4         f400:f400:0100 00  2.00  480MBit/s 200mA 1IF  (Synology DiskStation 7F000470EF13F256)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.302+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
  |__2-2         2109:8822:05a3 09  3.20 5000MBit/s 0mA 1IF  (VIA Labs, Inc. USB3.1 Hub 000000000) hub
    |__2-2.1     2109:0715:0614 00  3.10 5000MBit/s 8mA 1IF  (VIA Labs,Inc. USB3.1 SATA Bridge 0000000000000000)
    |__2-2.2     2109:0715:0614 00  3.10 5000MBit/s 8mA 1IF  (VIA Labs,Inc. USB3.1 SATA Bridge 0000000000000002)
    |__2-2.3     2109:0715:0614 00  3.10 5000MBit/s 8mA 1IF  (VIA Labs,Inc. USB3.1 SATA Bridge 0000000000000003)
    |__2-2.4     2109:0715:0614 00  3.10 5000MBit/s 8mA 1IF  (VIA Labs,Inc. USB3.1 SATA Bridge 0000000000000004)
bb-qq commented 8 months ago

UASP functionality has been successfully validated on a linux vm.

What kernel version did you use? And did you use USB pass-through?

Unfortunately, 2109:0715(VL817 SATA Bridge) seems blacklisted to not use UASP. https://github.com/torvalds/linux/blob/master/drivers/usb/storage/unusual_devs.h#L2320-L2324