Public bug reported: I have a SATA HDD in an external case which has a USB to SATA bridge. I ran into disconnect issues with this bridge in certain conditions. If I rsync a 300G backup from a fast external SDD to the HDD, things work fine. When I copy this backup on the HDD to a new dir on the HDD, I get the disconnect issue.
The solution I found was described here: https://leo.leung.xyz/wiki/How_to_disable_USB_Attached_Storage_(UAS) The ASMedia device is the problematic one. jlquinn@cerberus:/media/jlquinn/vm21/backups$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:800a Intel Corp. Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 29ea:0102 Kinesis Corporation Advantage2 Keyboard Bus 002 Device 003: ID 0b0e:245d GN Netcom Jabra Link 370 Bus 002 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 002 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 002 Device 006: ID 058f:9410 Alcor Micro Corp. Keyboard Bus 002 Device 009: ID 21c4:3000 General USB Flash Disk Bus 002 Device 017: 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 Bus 002 Device 018: ID 2109:2811 VIA Labs, Inc. Hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 004: ID 0bc2:ac23 Seagate RSS LLC BUP Ultra Touch Bus 003 Device 005: ID 2109:8110 VIA Labs, Inc. Hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 002: ID 8087:8002 Intel Corp. 8 channel internal hub jlquinn@cerberus:/media/jlquinn/vm21/backups$ lsscsi [4:0:0:0] disk ATA Samsung SSD 860 1B6Q /dev/sda [5:0:0:0] cd/dvd PIONEER BD-RW BDR-209D 1.34 /dev/sr0 [6:0:0:0] disk ATA WDC WUH721414AL W2G0 /dev/sdb [8:0:0:0] disk ATA WDC WUH721414AL W2L0 /dev/sdc [9:0:0:0] disk ATA WDC WUH721414AL W2L0 /dev/sdd [10:0:0:0] disk General USB Flash Disk 1100 /dev/sde [11:0:0:0] disk Seagate BUP Ultra Touch 0004 /dev/sdf [12:0:0:0] disk ST28000N T000-4AB103 0 /dev/sdg [N:0:1:1] disk Vi3000 SSD__1 /dev/nvme0n1 jlquinn@cerberus:/space/home/jlquinn/Videos$ lsb_release -d No LSB modules are available. Description: Ubuntu 24.04.4 LTS jlquinn@cerberus:/space/home/jlquinn/Videos$ apt-cache policy linux-modules-7.0.0-28-generic linux-modules-7.0.0-28-generic: Installed: 7.0.0-28.28~24.04.1 Candidate: 7.0.0-28.28~24.04.1 Version table: *** 7.0.0-28.28~24.04.1 500 500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages 100 /var/lib/dpkg/status With the UAS module controlling the disk and SATA bridge, I get the following within a minute of starting the copy: Jul 21 15:39:15 cerberus kernel: scsi 12:0:0:0: Direct-Access ST28000N T000-4AB103 0 PQ: 0 ANSI: 6 Jul 21 15:39:15 cerberus kernel: sd 12:0:0:0: Attached scsi generic sg7 type 0 Jul 21 15:39:21 cerberus kernel: sd 12:0:0:0: [sdg] 54689529856 512-byte logical blocks: (28.0 TB/25.5 TiB) Jul 21 15:39:21 cerberus kernel: sd 12:0:0:0: [sdg] 4096-byte physical blocks Jul 21 15:39:21 cerberus kernel: sd 12:0:0:0: [sdg] Write Protect is off Jul 21 15:39:21 cerberus kernel: sd 12:0:0:0: [sdg] Mode Sense: 43 00 00 00 Jul 21 15:39:21 cerberus kernel: sd 12:0:0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Jul 21 15:39:21 cerberus kernel: sd 12:0:0:0: [sdg] Preferred minimum I/O size 4096 bytes Jul 21 15:39:21 cerberus kernel: sd 12:0:0:0: [sdg] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes) Jul 21 15:39:21 cerberus kernel: sdg: sdg1 Jul 21 15:39:21 cerberus kernel: sd 12:0:0:0: [sdg] Attached SCSI disk Jul 21 15:39:45 cerberus kernel: audit: type=1107 audit(1784662785.320:510): pid=2500 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" > exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?' Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#27 uas_eh_abort_handler 0 uas-tag 30 inflight: CMD Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#27 CDB: Read(16) 88 00 00 00 00 06 5d e3 15 a0 00 00 00 08 00 00 Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#26 uas_eh_abort_handler 0 uas-tag 29 inflight: CMD Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#26 CDB: Read(16) 88 00 00 00 00 06 5d e3 15 98 00 00 00 08 00 00 Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#25 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#25 CDB: Read(16) 88 00 00 00 00 06 5d e3 15 90 00 00 00 08 00 00 Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#24 uas_eh_abort_handler 0 uas-tag 27 inflight: CMD Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#24 CDB: Read(16) 88 00 00 00 00 06 5d e3 15 88 00 00 00 08 00 00 Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#23 uas_eh_abort_handler 0 uas-tag 26 inflight: CMD Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#23 CDB: Read(16) 88 00 00 00 00 06 5d e3 15 80 00 00 00 08 00 00 Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#22 uas_eh_abort_handler 0 uas-tag 25 inflight: CMD Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#22 CDB: Read(16) 88 00 00 00 00 06 5d e3 15 78 00 00 00 08 00 00 Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#21 uas_eh_abort_handler 0 uas-tag 24 inflight: CMD Jul 21 15:40:22 cerberus kernel: sd 12:0:0:0: [sdg] tag#21 CDB: Read(16) 88 00 00 00 00 06 5d e3 15 70 00 00 00 08 00 00 Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#9 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#9 CDB: Write(16) 8a 00 00 00 00 00 00 00 6d 38 00 00 00 58 00 00 Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#8 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#8 CDB: Write(16) 8a 00 00 00 00 00 00 00 55 f0 00 00 00 08 00 00 Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#7 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#7 CDB: Write(16) 8a 00 00 00 00 00 00 00 55 e0 00 00 00 08 00 00 Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#6 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#6 CDB: Write(16) 8a 00 00 00 00 00 00 00 3d f8 00 00 00 08 00 00 Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#5 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#5 CDB: Write(16) 8a 00 00 00 00 00 00 00 20 00 00 00 00 30 00 00 Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#4 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD Jul 21 15:40:50 cerberus kernel: sd 12:0:0:0: [sdg] tag#4 CDB: Write(16) 8a 00 00 00 00 00 00 00 08 00 00 00 00 08 00 00 Jul 21 15:40:50 cerberus kernel: scsi host12: uas_eh_device_reset_handler start Jul 21 15:40:50 cerberus kernel: usb 2-9: reset high-speed USB device number 16 using xhci_hcd Jul 21 15:40:50 cerberus kernel: scsi host12: uas_eh_device_reset_handler success Jul 21 15:40:51 cerberus kernel: usb 2-9: USB disconnect, device number 16 Jul 21 15:40:51 cerberus kernel: scsi_io_completion_action: 20 callbacks suppressed Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#20 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#20 CDB: Write(16) 8a 00 00 00 00 0c a9 3f 27 98 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: blk_print_req_error: 80228 callbacks suppressed Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#19 uas_zap_pending 0 uas-tag 1 inflight: CMD Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 54379095960 op 0x1:(WRITE) flags 0x900000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#19 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 70 00 00 00 40 00 00 Jul 21 15:40:51 cerberus kernel: buffer_io_error: 17370 callbacks suppressed Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797386739, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#12 uas_zap_pending 0 uas-tag 6 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#12 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 b0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#13 uas_zap_pending 0 uas-tag 7 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#13 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 b8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#21 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#14 uas_zap_pending 0 uas-tag 9 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#21 CDB: Write(16) 8a 00 00 00 00 0c a9 3f 47 a8 00 00 00 18 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#14 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 c0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 54379104168 op 0x1:(WRITE) flags 0x900000 phys_seg 3 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#19 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#15 uas_zap_pending 0 uas-tag 10 inflight: CMD Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797387765, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#15 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 c8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#19 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 70 00 00 00 40 00 00 Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797387766, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#22 uas_zap_pending 0 uas-tag 11 inflight: CMD Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797387767, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#22 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 d0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#16 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#23 uas_zap_pending 0 uas-tag 12 inflight: CMD Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 27344982640 op 0x0:(READ) flags 0x800000 phys_seg 8 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#16 CDB: Write(16) 8a 00 00 00 00 0c a9 3f d7 e8 00 00 00 18 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#23 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 d8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 54379141096 op 0x1:(WRITE) flags 0x900000 phys_seg 3 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#24 uas_zap_pending 0 uas-tag 13 inflight: CMD Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797392381, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#24 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 e0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#12 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797392382, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#12 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 b0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#25 uas_zap_pending 0 uas-tag 14 inflight: CMD Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797392383, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#25 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 e8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 27344982448 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#26 uas_zap_pending 0 uas-tag 15 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#26 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 f0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#17 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#17 CDB: Write(16) 8a 00 00 00 00 0c a9 3f f6 c8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#27 uas_zap_pending 0 uas-tag 16 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#13 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 54379149000 op 0x1:(WRITE) flags 0x900000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#27 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 f8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797393369, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#28 uas_zap_pending 0 uas-tag 17 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#13 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 b8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 27344982456 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#28 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 00 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#18 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#29 uas_zap_pending 0 uas-tag 18 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#18 CDB: Write(16) 8a 00 00 00 00 0c a9 40 08 00 00 00 00 90 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#29 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 08 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 54379153408 op 0x1:(WRITE) flags 0x900000 phys_seg 18 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#0 uas_zap_pending 0 uas-tag 19 inflight: CMD Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797393920, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#14 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#0 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 10 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#14 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 c0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#1 uas_zap_pending 0 uas-tag 20 inflight: CMD Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 27344982464 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797393921, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#1 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 18 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#15 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#2 uas_zap_pending 0 uas-tag 21 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#2 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 20 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#15 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 c8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 27344982472 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#3 uas_zap_pending 0 uas-tag 22 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#3 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 28 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#4 uas_zap_pending 0 uas-tag 23 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#26 uas_zap_pending 0 uas-tag 15 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#26 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 f0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#17 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#17 CDB: Write(16) 8a 00 00 00 00 0c a9 3f f6 c8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#27 uas_zap_pending 0 uas-tag 16 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#13 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 54379149000 op 0x1:(WRITE) flags 0x900000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#27 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 f8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797393369, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#28 uas_zap_pending 0 uas-tag 17 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#13 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 b8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 27344982456 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#28 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 00 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#18 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#29 uas_zap_pending 0 uas-tag 18 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#18 CDB: Write(16) 8a 00 00 00 00 0c a9 40 08 00 00 00 00 90 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#29 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 08 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 54379153408 op 0x1:(WRITE) flags 0x900000 phys_seg 18 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#0 uas_zap_pending 0 uas-tag 19 inflight: CMD Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797393920, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#14 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#0 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 10 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#14 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 c0 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#1 uas_zap_pending 0 uas-tag 20 inflight: CMD Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 27344982464 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: Buffer I/O error on dev sdg1, logical block 6797393921, lost async page write Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#1 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 18 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#15 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK cmd_age=0s Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#2 uas_zap_pending 0 uas-tag 21 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#2 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 20 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#15 CDB: Read(16) 88 00 00 00 00 06 5d e3 51 c8 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: I/O error, dev sdg, sector 27344982472 op 0x0:(READ) flags 0x800000 phys_seg 1 prio class 2 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#3 uas_zap_pending 0 uas-tag 22 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#3 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 28 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#4 uas_zap_pending 0 uas-tag 23 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#5 uas_zap_pending 0 uas-tag 24 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#5 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 38 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#6 uas_zap_pending 0 uas-tag 25 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#6 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 40 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#7 uas_zap_pending 0 uas-tag 26 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#7 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 48 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#8 uas_zap_pending 0 uas-tag 27 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#8 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 50 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#9 uas_zap_pending 0 uas-tag 28 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#9 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 58 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#10 uas_zap_pending 0 uas-tag 29 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#10 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 60 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#11 uas_zap_pending 0 uas-tag 30 inflight: CMD Jul 21 15:40:51 cerberus kernel: sd 12:0:0:0: [sdg] tag#11 CDB: Read(16) 88 00 00 00 00 06 5d e3 52 68 00 00 00 08 00 00 Jul 21 15:40:51 cerberus kernel: JBD2: Failed to read block at offset 256310 Jul 21 15:40:51 cerberus kernel: JBD2: IO error -5 recovering block 256310 in log Jul 21 15:40:51 cerberus kernel: JBD2: Failed to read block at offset 256311 Jul 21 15:40:51 cerberus kernel: JBD2: IO error -5 recovering block 256311 in log Jul 21 15:40:51 cerberus kernel: JBD2: Failed to read block at offset 256312 Jul 21 15:40:51 cerberus kernel: JBD2: IO error -5 recovering block 256312 in log Jul 21 15:40:51 cerberus kernel: JBD2: Failed to read block at offset 256313 Jul 21 15:40:51 cerberus kernel: JBD2: IO error -5 recovering block 256313 in log Jul 21 15:40:51 cerberus kernel: JBD2: Failed to read block at offset 256314 Jul 21 15:40:51 cerberus kernel: JBD2: IO error -5 recovering block 256314 in log Jul 21 15:40:51 cerberus kernel: JBD2: Failed to read block at offset 256315 ... Once this happens, the drive is disconnected and forced read-only. If I add the bridge to usb-storage as a quirk as follows, then the copy works fine. root@cerberus:/space/home/jlquinn/Videos# rmmod uas root@cerberus:/space/home/jlquinn/Videos# rmmod usb-storage root@cerberus:/space/home/jlquinn/Videos# modprobe usb-storage quirks=174c:55aa root@cerberus:/space/home/jlquinn/Videos# modprobe uas I have 2 identical drives with identical bridge hardware and see the same issue with both of them. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: linux-modules-7.0.0-28-generic 7.0.0-28.28~24.04.1 ProcVersionSignature: Ubuntu 7.0.0-28.28~24.04.1-generic 7.0.12 Uname: Linux 7.0.0-28-generic x86_64 ApportVersion: 2.28.2-0ubuntu0.1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: jlquinn 12786 F.... wireplumber /dev/snd/controlC1: jlquinn 12786 F.... wireplumber /dev/snd/controlC2: jlquinn 12786 F.... wireplumber /dev/snd/seq: jlquinn 12782 F.... pipewire CasperMD5CheckResult: unknown CurrentDesktop: KDE Date: Tue Jul 21 21:43:04 2026 Dependencies: InstallationDate: Installed on 2020-05-29 (2244 days ago) InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805) MachineType: Supermicro X10DAi ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-28-generic root=/dev/mapper/ubuntu--vg-root ro RelatedPackageVersions: linux-restricted-modules-7.0.0-28-generic N/A linux-backports-modules-7.0.0-28-generic N/A linux-firmware 20240318.git3b128b60-0ubuntu2.27 RfKill: SourcePackage: linux-hwe-7.0 UpgradeStatus: Upgraded to noble on 2025-05-01 (447 days ago) dmi.bios.date: 12/16/2019 dmi.bios.release: 5.11 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 3.2 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: X10DAI dmi.board.vendor: Supermicro dmi.board.version: 1.01 dmi.chassis.asset.tag: To be filled by O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To be filled by O.E.M. dmi.chassis.version: To be filled by O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3.2:bd12/16/2019:br5.11:svnSupermicro:pnX10DAi:pvr123456789:rvnSupermicro:rnX10DAI:rvr1.01:cvnTobefilledbyO.E.M.:ct3:cvrTobefilledbyO.E.M.:sku083615D9:pfaSMCX10: dmi.product.family: SMC X10 dmi.product.name: X10DAi dmi.product.sku: 083615D9 dmi.product.version: 123456789 dmi.sys.vendor: Supermicro ** Affects: linux-hwe-7.0 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2161480 Title: usb to sata bridge requires usb-storage quirks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-7.0/+bug/2161480/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
