I'm running unraid.net OS and using the 5 disk docking station DS-SC5B - it works fine for a few hours then it randomly disconnects and crashes. I need help to fix / prevent these in linux.
root@tower:/mnt/user/tv# lsusb
Bus 004 Device 013: 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 004 Device 012: 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 004 Device 011: 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 004 Device 010: 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 004 Device 009: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub
Bus 004 Device 008: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub
Bus 003 Device 004: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub
Bus 003 Device 003: ID 1d6b:0104 Linux Foundation Multifunction Composite Gadget
Bus 003 Device 002: ID 0781:5583 SanDisk Corp. Ultra Fit
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@tower:/mnt/user/tv# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 20000M/x2
|__ Port 4: Dev 8, If 0, Class=Hub, Driver=hub/4p, 10000M
|__ Port 3: Dev 9, If 0, Class=Hub, Driver=hub/4p, 10000M
|__ Port 1: Dev 10, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
|__ Port 2: Dev 11, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
|__ Port 3: Dev 12, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
|__ Port 4: Dev 13, If 0, Class=Mass Storage, Driver=usb-storage, 10000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 2, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
I have 4 disks array - during heavy I/O "Parity sync" job in unraid where all disks are being read - then a calculated parity is written to 1/4 disks the docking station will crash and its disk drives will no longer be accessible.
dmesg errors are
hub 4-4.3:1.0: hub_ext_port_status failed (err = -71)
usb 4-4.3-port1: cannot reset (err = -71)
usb 4-4.3-port1: Cannot enable. Maybe the USB cable is bad?
usb 4-4.3-port1: cannot disable (err = -71)
usb 4-4.3.2: USB disconnect, device number 5
This type of crash has occured 3 times; the following has been attempted to resolve the issue:
- (usb c) cables have been reseated. I am using the sabrent provided cables.
- USB ports on the motherboard have been moved to a different one. Crash still occurs.
- linux system has been rebooted.
root@tower:/mnt/user/tv# ls -l /sys/bus/usb/devices | grep 4-4
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3.1 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3.1/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3.1:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3.1/4-4.3.1:1.0/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3.2 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3.2/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3.2:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3.2/4-4.3.2:1.0/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3.3 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3.3/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3.3:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3.3/4-4.3.3:1.0/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3.4 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3.4/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3.4:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3.4/4-4.3.4:1.0/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4.3:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4.3/4-4.3:1.0/
lrwxrwxrwx 1 root root 0 Aug 13 22:27 4-4:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4:1.0/
root@tower:/mnt/user/tv#
Questions for sabrent support:
1. This post seems to suggest it may be a possible ASMedia controller bug? https://askubuntu.com/questions/927134/solving-usb-hub-failure-issues-without-reboot
2. This post suggest a USB power saving setting on my system could be a possible cause; I have checked and the answer is no; my linux system does not have USB autosuspend enable. https://forums.fedoraforum.org/showthread.php?326816-Issues-with-USB-hub-randomly-disconnecting-some-devices&s=4090193c815db4df4da31a2c07c05ee7&p=1851649#post1851649
Any guidance here would be appreciated, not sure if this is faulty Sabrent hardware controller inside or if there's a newer firmware that fixes this bug.