USB 3.0 External Hard drive not mounting on boot

Hey,

I’ve been running official armbian for a while and had an issue with my usb3.0 external drive not mounting on boot. it mounts only if I connect it post boot…

I recently tried the official raxada debian and it has the same issue as well!

my external drive has an external power source

I’ve also read somewhere that this happens to other users as well.

Best,
Ori

Can you post dmesg | grep usb and lsusb

root@rockpi:~# dmesg | grep usb
[ 0.000000] Kernel command line: mmc_cmdqueue=0 earlycon=uart8250,mmio32,0xff1a0000 root=UUID=fe7f6f81-f21a-44db-974d-84d73581c298 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 panic=10 consoleblank=0 loglevel=1 ubootpart=457f8f67-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[ 0.171042] usbcore: registered new interface driver usbfs
[ 0.171093] usbcore: registered new interface driver hub
[ 0.171306] usbcore: registered new device driver usb
[ 1.421874] phy phy-ff770000.syscon:usb2-phy@e450.1: Linked as a consumer to regulator.6
[ 1.424373] phy phy-ff770000.syscon:usb2-phy@e460.3: Linked as a consumer to regulator.6
[ 1.552200] ehci-platform fe380000.usb: EHCI Host Controller
[ 1.552231] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[ 1.553000] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000
[ 1.567195] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[ 1.567492] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 1.567501] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.567509] usb usb1: Product: EHCI Host Controller
[ 1.567516] usb usb1: Manufacturer: Linux 4.20.0-rockchip64 ehci_hcd
[ 1.567523] usb usb1: SerialNumber: fe380000.usb
[ 1.573736] ehci-platform fe3c0000.usb: EHCI Host Controller
[ 1.573765] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[ 1.574421] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000
[ 1.587221] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[ 1.587399] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 1.587408] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.587416] usb usb2: Product: EHCI Host Controller
[ 1.587423] usb usb2: Manufacturer: Linux 4.20.0-rockchip64 ehci_hcd
[ 1.587430] usb usb2: SerialNumber: fe3c0000.usb
[ 1.591851] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[ 1.591879] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[ 1.592444] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000
[ 1.655419] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.20
[ 1.655429] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.655436] usb usb3: Product: Generic Platform OHCI controller
[ 1.655444] usb usb3: Manufacturer: Linux 4.20.0-rockchip64 ohci_hcd
[ 1.655451] usb usb3: SerialNumber: fe3a0000.usb
[ 1.659337] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[ 1.659359] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[ 1.661869] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000
[ 1.723273] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.20
[ 1.723283] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.723291] usb usb4: Product: Generic Platform OHCI controller
[ 1.723298] usb usb4: Manufacturer: Linux 4.20.0-rockchip64 ohci_hcd
[ 1.723305] usb usb4: SerialNumber: fe3e0000.usb
[ 1.727741] usbcore: registered new interface driver usb-storage
[ 1.856148] usbcore: registered new interface driver usbhid
[ 1.856155] usbhid: USB HID core driver
[ 2.083819] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 2.083824] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.083826] usb usb5: Product: xHCI Host Controller
[ 2.083829] usb usb5: Manufacturer: Linux 4.20.0-rockchip64 xhci-hcd
[ 2.083832] usb usb5: SerialNumber: xhci-hcd.0.auto
[ 2.084434] usb usb6: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 2.084494] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[ 2.084498] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.084501] usb usb6: Product: xHCI Host Controller
[ 2.084504] usb usb6: Manufacturer: Linux 4.20.0-rockchip64 xhci-hcd
[ 2.084506] usb usb6: SerialNumber: xhci-hcd.0.auto
[ 2.091414] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 2.091418] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.091421] usb usb7: Product: xHCI Host Controller
[ 2.091424] usb usb7: Manufacturer: Linux 4.20.0-rockchip64 xhci-hcd
[ 2.091427] usb usb7: SerialNumber: xhci-hcd.1.auto
[ 2.092044] usb usb8: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 2.092107] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[ 2.092111] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.092114] usb usb8: Product: xHCI Host Controller
[ 2.092117] usb usb8: Manufacturer: Linux 4.20.0-rockchip64 xhci-hcd
[ 2.092120] usb usb8: SerialNumber: xhci-hcd.1.auto
[ 2.239076] usb 3-1: new full-speed USB device number 2 using ohci-platform
[ 2.474293] usb 3-1: New USB device found, idVendor=05ac, idProduct=0267, bcdDevice= 8.05
[ 2.474305] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.474313] usb 3-1: Product: Magic Keyboard
[ 2.474320] usb 3-1: Manufacturer: Apple Inc.
[ 2.474327] usb 3-1: SerialNumber: F0T801701KAJ1XLAY
[ 2.497722] input: Apple Inc. Magic Keyboard as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.1/0003:05AC:0267.0002/input/input1
[ 2.556619] apple 0003:05AC:0267.0002: input: USB HID v1.10 Keyboard [Apple Inc. Magic Keyboard] on usb-fe3a0000.usb-1/input1
root@rockpi:~# lsusb
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 05ac:0267 Apple, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@rockpi:~#

root@rockpi:~# dmesg | grep usb
[ 0.000000] Kernel command line: mmc_cmdqueue=0 earlycon=uart8250,mmio32,0xff1a0000 root=UUID=fe7f6f81-f21a-44db-974d-84d73581c298 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 panic=10 consoleblank=0 loglevel=1 ubootpart=457f8f67-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[ 0.171042] usbcore: registered new interface driver usbfs
[ 0.171093] usbcore: registered new interface driver hub
[ 0.171306] usbcore: registered new device driver usb
[ 1.421874] phy phy-ff770000.syscon:usb2-phy@e450.1: Linked as a consumer to regulator.6
[ 1.424373] phy phy-ff770000.syscon:usb2-phy@e460.3: Linked as a consumer to regulator.6
[ 1.552200] ehci-platform fe380000.usb: EHCI Host Controller
[ 1.552231] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[ 1.553000] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000
[ 1.567195] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[ 1.567492] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 1.567501] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.567509] usb usb1: Product: EHCI Host Controller
[ 1.567516] usb usb1: Manufacturer: Linux 4.20.0-rockchip64 ehci_hcd
[ 1.567523] usb usb1: SerialNumber: fe380000.usb
[ 1.573736] ehci-platform fe3c0000.usb: EHCI Host Controller
[ 1.573765] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[ 1.574421] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000
[ 1.587221] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[ 1.587399] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 1.587408] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.587416] usb usb2: Product: EHCI Host Controller
[ 1.587423] usb usb2: Manufacturer: Linux 4.20.0-rockchip64 ehci_hcd
[ 1.587430] usb usb2: SerialNumber: fe3c0000.usb
[ 1.591851] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[ 1.591879] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[ 1.592444] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000
[ 1.655419] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.20
[ 1.655429] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.655436] usb usb3: Product: Generic Platform OHCI controller
[ 1.655444] usb usb3: Manufacturer: Linux 4.20.0-rockchip64 ohci_hcd
[ 1.655451] usb usb3: SerialNumber: fe3a0000.usb
[ 1.659337] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[ 1.659359] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[ 1.661869] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000
[ 1.723273] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.20
[ 1.723283] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.723291] usb usb4: Product: Generic Platform OHCI controller
[ 1.723298] usb usb4: Manufacturer: Linux 4.20.0-rockchip64 ohci_hcd
[ 1.723305] usb usb4: SerialNumber: fe3e0000.usb
[ 1.727741] usbcore: registered new interface driver usb-storage
[ 1.856148] usbcore: registered new interface driver usbhid
[ 1.856155] usbhid: USB HID core driver
[ 2.083819] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 2.083824] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.083826] usb usb5: Product: xHCI Host Controller
[ 2.083829] usb usb5: Manufacturer: Linux 4.20.0-rockchip64 xhci-hcd
[ 2.083832] usb usb5: SerialNumber: xhci-hcd.0.auto
[ 2.084434] usb usb6: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 2.084494] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[ 2.084498] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.084501] usb usb6: Product: xHCI Host Controller
[ 2.084504] usb usb6: Manufacturer: Linux 4.20.0-rockchip64 xhci-hcd
[ 2.084506] usb usb6: SerialNumber: xhci-hcd.0.auto
[ 2.091414] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 2.091418] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.091421] usb usb7: Product: xHCI Host Controller
[ 2.091424] usb usb7: Manufacturer: Linux 4.20.0-rockchip64 xhci-hcd
[ 2.091427] usb usb7: SerialNumber: xhci-hcd.1.auto
[ 2.092044] usb usb8: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 2.092107] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[ 2.092111] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.092114] usb usb8: Product: xHCI Host Controller
[ 2.092117] usb usb8: Manufacturer: Linux 4.20.0-rockchip64 xhci-hcd
[ 2.092120] usb usb8: SerialNumber: xhci-hcd.1.auto
[ 2.239076] usb 3-1: new full-speed USB device number 2 using ohci-platform
[ 2.474293] usb 3-1: New USB device found, idVendor=05ac, idProduct=0267, bcdDevice= 8.05
[ 2.474305] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.474313] usb 3-1: Product: Magic Keyboard
[ 2.474320] usb 3-1: Manufacturer: Apple Inc.
[ 2.474327] usb 3-1: SerialNumber: F0T801701KAJ1XLAY
[ 2.497722] input: Apple Inc. Magic Keyboard as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.1/0003:05AC:0267.0002/input/input1
[ 2.556619] apple 0003:05AC:0267.0002: input: USB HID v1.10 Keyboard [Apple Inc. Magic Keyboard] on usb-fe3a0000.usb-1/input1
[ 4825.315658] usb 5-1: new full-speed USB device number 2 using xhci-hcd
[ 4825.447792] usb 5-1: device descriptor read/64, error -71
[ 4825.683646] usb 5-1: device descriptor read/64, error -71
[ 4825.919635] usb 5-1: new full-speed USB device number 3 using xhci-hcd
[ 4826.047679] usb 5-1: device descriptor read/64, error -71
[ 4827.407703] usb 6-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 4827.429762] usb 6-1: New USB device found, idVendor=059f, idProduct=104a, bcdDevice= 0.00
[ 4827.429777] usb 6-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 4827.429785] usb 6-1: Product: Minimus USB 3
[ 4827.429792] usb 6-1: Manufacturer: LaCie
[ 4827.429799] usb 6-1: SerialNumber: 00000000d4fc47b9308d
[ 4827.434606] usb-storage 6-1:1.0: USB Mass Storage device detected
[ 4827.436804] scsi host0: usb-storage 6-1:1.0
[ 4827.447605] usbcore: registered new interface driver uas
root@rockpi:~# lsusb
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 059f:104a LaCie, Ltd
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 05ac:0267 Apple, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@rockpi:~#

this is after I disconnect and reconnect my usb3.0 hdd

Could the OTG switch be enabled to device (or host)? Perhaps that would affect the detection of the hard drive on boot. Try the switch and see or try another port.

Another possibility, something to do with the device not powering up at the boot up of the RockPi. Maybe try unplugging the power from the hard drive, plugging it in then immediately booting the RockPi.

And then you could look at resetting the USB bus:

Works on USB2.0, changing USB3 mode doesn’t have any effect. resetting device from the command line doesn’t have any effect.

since the device is powered via external power source the rockpi doesn’t have any effect, in any case not being able to reset my device remotely with USB3.0 mounting storage is quite a big limitation.

how come am I the only one that uses usb3 storage? everybody bought fancy nvmes…

1 Like

Hi,
I checked with my LaCie USB 3 2.5" drive and the RockPi 4b lower USB 3 port.

[    5.568276] scsi host0: uas
[    5.568583] usbcore: registered new interface driver uas
[    5.569188] scsi 0:0:0:0: Direct-Access     LaCie    P9227 Slim       1153 PQ: 0 ANSI: 6
[    5.570361] sd 0:0:0:0: [sda] Spinning up disk...

It is detected and is mountable. Obviously your 3.5" is different, perhaps firmware?

@mrsufgi
I’m having the same issue with my RockPi 4B running Armbian from the Armbian website and using a new 2 TB 2.5" Seagate Barracuda Mobile disk with a USB3 adapter. It is USB-powered. As far as I can see, the power spec of the USB3 ports is sufficient for this setup.
On the lower USB port it was only detected after plugging in, on the upper USB port it is sporadically detected and mounted on boot. Very unreliable.

2 Likes

I just reinstalled armbian for OMV, same.
seanmcavoy what OS? might be firmware but why would it work after a plug it after the system is already running?

Ubuntu with 4.4.154-83-rockchip-00023-gae7a309. If the USB drive goes to sleep and does not wake with the booting of the RockPi the USB bus might not see it.
Plugging it in right on boot might rule that out… Strange a usb bus reset does not cause it to be detected. Maybe try playing with the USB power settings:

For me run 2 HDD and 1 SDD for weeks completely problem-free and absolutely reliable to the USB3 ports. I proved up to 6TB (WD drives) capacities: all are detected.
However, my drives are only recognized when I connect them via a Renkforce docking station. Other adapters did not show the drives under USB3!

Best regards …

if you reset, are they mounted and recognized? what os?

New finding, on boot it hangs until timeout once it gets to the usb3.0 hdds. Also tried orico enclosure with SSD, its even worse. The SSD just stop responding after awhile … meh.

Last weekend, I noticed that Armbian released two sets of new images. One is based on Kernel 4.4, the other on 5.1. Scroll down to the very bottom of the page for the 5.1 version.

I tried both Armbian Stretch versions. I installed the full desktop from armbian-config and - voilà - my 2 TB disk on the lower USB 3 port showed up on the desktop after boot for both versions.

@mrsufgi Hi, Have you solved this issue?

No, still not booting my Lecie hdd

Have you tested other usb3.0 storage device ?
and please post your kernel log.

this is the Lecie hdd device??

I have another one that works, WD Elements.

and yes, 059f:104a LaCie, Ltd is my device.

I have tested our SATA3 device with Sata Hat that powered by external power
https://wiki.radxa.com/Dual_Quad_SATA_HAT
and can’t reproduce this issue.