MR8300 USB issues on 21.02.0-rc3

I use a MR8300 with 21.02.0-rc3 and plugged a SSD to MR8300's USB port via a SSD Enclosure (Chip is asmedia asm1153e).
after copy 30GB files from PC to MR8300 via SMB, check MD5, the file on MR8300 is different to source file.

I try re-copy file to MR8300 (Write File) and watching kernel log, then found:

[  363.521039] usb 2-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[  574.083086] usb 2-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd

when usb reset, Windows Explorer show copy speed to 0B/S, A few seconds later , the copy speed is restore to 80M/S with no error.

after successfull copied. using MD5Summer to check file (Read File) and watching kernel log, then found:

[  574.111651] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=0x00
[  574.111769] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 05 5a 14 00 00 02 00 00
[  574.118882] blk_update_request: I/O error, dev sda, sector 89789440 op 0x0:(READ) flags 0x80700 phys_seg 64 prio class 0
[  810.881056] usb 2-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[  810.917018] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=0x00
[  810.917423] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 06 47 ba 00 00 02 00 00
[  810.925300] blk_update_request: I/O error, dev sda, sector 105363968 op 0x0:(READ) flags 0x80700 phys_seg 64 prio class 0
[  975.372852] usb 2-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[  975.401528] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=0x00
[  975.401591] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 06 e2 92 00 00 02 00 00
[  975.408709] blk_update_request: I/O error, dev sda, sector 115511808 op 0x0:(READ) flags 0x80700 phys_seg 51 prio class 0
[ 1016.323133] usb 2-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 1016.352164] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=0x00
[ 1016.352276] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 06 ed fd 00 00 02 00 00
[ 1016.359395] blk_update_request: I/O error, dev sda, sector 116260096 op 0x0:(READ) flags 0x80700 phys_seg 8 prio class 0
[ 2044.845195] ath10k_ahb a000000.wifi: Invalid VHT mcs 15 peer stats
[ 2049.028927] sd 0:0:0:0: [sda] Unaligned partial completion (resid=164060, sector_sz=512)
[ 2049.029400] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 01 56 20 00 00 02 00 00
[ 2049.037902] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x00
[ 2049.043871] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 01 56 20 00 00 02 00 00
[ 2049.052089] blk_update_request: I/O error, dev sda, sector 22421504 op 0x0:(READ) flags 0x80700 phys_seg 57 prio class 0

and MD5Summer reported file checksum did not match.


I has replaced another SSD and got same result.
I has replaced to another SSD Enclosure (same chip: asm1153e) and got same result.
I has replaced to another SSD Enclosure (chip: Norelsys NS1066) but it does not work on MR8300.
I replaced SSD and SSD Enclosure to Flash Disk, now write file is OK and checksum is right, but I got error from Kernel log when I read file from MR8300's Flash Disk. the error msg is looks like:

[ 1016.352164] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x03 driverbyte=0x00
[ 1016.352276] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 06 ed fd 00 00 02 00 00
[ 1016.359395] blk_update_request: I/O error, dev sda, sector 116260096 op 0x0:(READ) flags 0x80700
 phys_seg 8 prio class 0



InVaild_05

Do you still have this issue? If not, what did you do to make it work?

The problem has been worked out at 2021, Looks like MR8300 have not a enough power to make hdd/ssd run. After add a External powered USB-HUB, problem has been worked out.

Where have you seen that this was addressed back in '21?

This has nothing to do with a device drawing to much power over USB. Instead, power for the USB port is being interrupted for a short moment by the kernel. The original firmware supports external USB Storage.

at '21, after I add a External powered USB-HUB between MR8300 and USB-SSD, it works fine。
so i still think this is a usb power supply problem which caused by hardware disigne until i see your reply.