Rock 4C+ - External drive not detected on USB 3.0 port

Rock 4C+ board has 4 USB ports - 2 x USB 2.0 & 2 x USB 3.0.

I have a 512GB Samsung M.2 NVME SSD in Firebat NVME to USB 3.2 enclosure and have formatted into 4 exFAT partitions.

When SSD enclosure is connected to one of the USB 2.0 port (on left of USB ports block). Dietpi-drive_manager tool detects and mounts the 4 partitions fine. Those partitions are added to /etc/fstab as well. When I reboot, it automounts as well.

DietPi-drive_manager snippet:
/ : /dev/mmcblk1p1 | ext4 | Capacity: 14.6G | Used: 835.9M │
│ ●─ sda ───────────────────────────────────────────────── │
│ /mnt/Partition1 : /dev/sda1 | exfat | Capacity: 250G | Used: 896K (0%) │
│ /mnt/Partition2 : /dev/sda2 | exfat | Capacity: 100G | Used: 768K (0%) │
│ /mnt/Partition3 : /dev/sda3 | exfat | Capacity: 100G | Used: 768K (0%) │
│ /mnt/Partition4 : /dev/sda4 | exfat | Capacity: 26.9G | Used: 192K (0%)

/etc/fstab file:
UUID=77138fc4-6318-4c1f-82ff-7dcab2d4dd32 / ext4 noatime,lazytime,rw 0 1
UUID=8CBC-5103 /mnt/Partition1 exfat noatime,lazytime,rw,gid=dietpi,fmask=0002,dmask=0002,noauto,x-systemd.automount
UUID=F228-9818 /mnt/Partition2 exfat noatime,lazytime,rw,gid=dietpi,fmask=0002,dmask=0002,noauto,x-systemd.automount
UUID=8830-CAB6 /mnt/Partition3 exfat noatime,lazytime,rw,gid=dietpi,fmask=0002,dmask=0002,noauto,x-systemd.automount
UUID=E6FD-5054 /mnt/Partition4 exfat noatime,lazytime,rw,gid=dietpi,fmask=0002,dmask=0002,noauto,x-systemd.automount

Now the issue is when connect the SSD enclosure to USB 3.0 port (on right side of USB blocks), it shows up as /dev/sda only and does not mount at all.

lsblk output:
root@4WiseGaba:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 0B 0 disk
mmcblk1 179:0 0 14.8G 0 disk
└─mmcblk1p1 179:1 0 14.8G 0 part /

Dietpi-drive_manager hangs and does not load.

I done reboot with SSD enclosure on USB 3.1 port, still not mounting.

What I’m missing or doing wrong here?

I really would like to have SSD enclosure working on USB 3.1 port for better speed.

Additional info:
Disconnected SSD enclosure > ran ‘sudo dmesg -w’ > reconnected the enclosure and monitored the messages appear on terminal. Below is the copy if it helps to debug.

[ 1422.342738] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1422.586776] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=DRIVER_OK
[ 1441.751506] usb 4-1: new SuperSpeed USB device number 3 using xhci-hcd
[ 1441.779144] usb 4-1: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
[ 1441.779199] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1441.779220] usb 4-1: Product: RTL9210B-CG
[ 1441.779238] usb 4-1: Manufacturer: Realtek
[ 1441.779254] usb 4-1: SerialNumber: 012345679039
[ 1441.792512] scsi host0: uas
[ 1441.796493] scsi 0:0:0:0: Direct-Access     Realtek  RTL9210B-CG      1.00 PQ: 0 ANSI: 6
[ 1441.829464] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1447.829644] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK
[ 1447.829680] sd 0:0:0:0: [sda] Sense Key : 0xb [current]
[ 1447.829697] sd 0:0:0:0: [sda] ASC=0x0 ASCQ=0x0
[ 1453.828807] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK
[ 1453.828845] sd 0:0:0:0: [sda] Sense Key : 0xb [current]
[ 1453.828862] sd 0:0:0:0: [sda] ASC=0x0 ASCQ=0x0
[ 1485.818933] sd 0:0:0:0: [sda] tag#24 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 1485.818994] sd 0:0:0:0: [sda] tag#24 CDB: opcode=0x28 28 00 00 00 00 00 00 00 01 00
[ 1485.835411] scsi host0: uas_eh_device_reset_handler start
[ 1485.963838] usb 4-1: reset SuperSpeed USB device number 3 using xhci-hcd
[ 1486.385867] scsi host0: uas_eh_device_reset_handler success
[ 1486.403577] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[ 1486.403610] sd 0:0:0:0: [sda] 0-byte physical blocks
[ 1486.405474] sd 0:0:0:0: [sda] Write Protect is off
[ 1486.405495] sd 0:0:0:0: [sda] Mode Sense: 37 00 00 08
[ 1486.409185] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1486.410428] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes not a multiple of physical block size (0 bytes)
[ 1486.410453] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (0 bytes)
[ 1486.412859] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1880.611307] usb 4-1: USB disconnect, device number 3
[ 1880.666809] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 1880.906760] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=DRIVER_OK
[ 1891.815499] usb 4-1: new SuperSpeed USB device number 4 using xhci-hcd
[ 1891.842469] usb 4-1: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
[ 1891.842550] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1891.842575] usb 4-1: Product: RTL9210B-CG
[ 1891.842593] usb 4-1: Manufacturer: Realtek
[ 1891.842609] usb 4-1: SerialNumber: 012345679039
[ 1891.863238] scsi host0: uas
[ 1891.867775] scsi 0:0:0:0: Direct-Access     Realtek  RTL9210B-CG      1.00 PQ: 0 ANSI: 6
[ 1891.909414] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1891.913767] sd 0:0:0:0: [sda] 1000215216 512-byte logical blocks: (512 GB/477 GiB)
[ 1895.909629] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[ 1897.909354] sd 0:0:0:0: [sda] Asking for cache data failed
[ 1897.909433] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1897.910653] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[ 1897.910681] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[ 1903.908523] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK
[ 1903.908576] sd 0:0:0:0: [sda] Sense Key : 0xb [current]
[ 1903.908598] sd 0:0:0:0: [sda] ASC=0x0 ASCQ=0x0
[ 1909.907669] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=DRIVER_OK
[ 1909.907722] sd 0:0:0:0: [sda] Sense Key : 0xb [current]
[ 1909.907745] sd 0:0:0:0: [sda] ASC=0x0 ASCQ=0x0
[ 1940.474810] sd 0:0:0:0: [sda] tag#26 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 1940.474867] sd 0:0:0:0: [sda] tag#26 CDB: opcode=0x28 28 00 00 00 00 00 00 00 01 00
[ 1940.498901] scsi host0: uas_eh_device_reset_handler start
[ 1940.628362] usb 4-1: reset SuperSpeed USB device number 4 using xhci-hcd
[ 1941.044652] scsi host0: uas_eh_device_reset_handler success
[ 1941.059339] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[ 1941.064417] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1941.064454] sda: detected capacity change from 1000215216 to 0
[ 1941.064614] sd 0:0:0:0: [sda] Attached SCSI disk

I have potentially solved the problem. I changed the usb connector cable with enclosure and has done the trick. USB Drive now getting auto mounted consistently on 3.0 ports after reconnecting, reboots etc and no issue.

Whilst it worked on USB 2.0 port, suspect the old cable wasn’t compatible or not providing enough power from USB 3.0 port.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.