18.06 is not detecting my 6T external hard drive

Hi all,

I have just upgraded to 18.06 and reinstalling everything on my Netgear R7500v2. The problem is it cannot detect one of my seagate external hard drive (A 6T hard drive formatted as ext4). I find the hard drive is on the 'lsusb' list, but not on the 'block info' list.

root@Openwrt:~# lsusb
**Bus 003 Device 005: ID 0bc3:ab24 Seagate RSS LLC**
Bus 001 Device 001: ID 1d3b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0781:5581 SanDisk Corp. Ultra Flair
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 3.0 root hub
**Bus 004 Device 005: ID 0bc3:ab3p Seagate RSS LLC Backup Plus Hub**
**Bus 004 Device 004: ID 0bc3:ab46 Seagate RSS LLC**
Bus 004 Device 001: ID 1d5b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d5b:0002 Linux Foundation 2.0 root hub
root@Openwrt:~# block info
/dev/mtdblock6: UUID="1948283990" VERSION="1" TYPE="ubi"
/dev/mtdblock7: UUID="0" VERSION="1" TYPE="ubi"
/dev/ubiblock0_0: UUID="ab2a0b3b-2935962d-a0dc939f-36ffeea4" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/ubi0_1: UUID="1cba8ff6-72fb-4f30-b313-0a6365864d1f" VERSION="w4r0" TYPE="ubifs"
/dev/sda1: UUID="f36a74d8-cb55-49a7-b199-d3240c8ef523" VERSION="1.10" MOUNT="/overlay" TYPE="f2fs"

Note that a SanDisk flash drive (sda1) can be detected and mounted. Actually, I am using it as extroot.

I have downloaded the 18.06 image file from https://downloads.openwrt.org/releases/18.06.0/targets/ipq806x/generic/
And uploaded it to the router via tftp.

root@GGRHOME:~# lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 4, If 0, Class=Hub, Driver=hub/3p, 5000M
        |__ Port 1: Dev 5, If 0, Class=Mass Storage, Driver=, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/3p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M

Did you reinstall the drivers after upgrade?

I believe I haven't, although I have installed the packages like kmod-usb-storage. How could I reinstall "drivers"?

Correct...all the required kmods...have you rebooted or ran modprobe after installing?

I have installed kmod-usb-storage and also kmod-fs-ext4. The sandisk flash drive can be detected. I have rebooted after the installations. But the seagate 6t hard drive is still not on the block info list.

Is it in /proc/partitions?

I believe it is not in /proc/partitions. sda is my flash drive.

major minor  #blocks  name

  31        0      12800 mtdblock0
  31        1       5120 mtdblock1
  31        2        512 mtdblock2
  31        3       1280 mtdblock3
  31        4       1280 mtdblock4
  31        5       4096 mtdblock5
  31        6      28672 mtdblock6
  31        7      70144 mtdblock7
  31        8       7168 mtdblock8
 254        0       2976 ubiblock0_0
   8        0   30031872 sda
   8        1   30031856 sda1

Then have a look in your kernel log. If you pull the disk and replug it, the last lines should be significant.

This is the kernel log for disconnect and reconnect my Seagate Backup Plus Hub.

[65418.260237] usb 4-1.3: USB disconnect, device number 10
[65429.526274] usb 4-1: USB disconnect, device number 8
[65429.526320] usb 4-1.1: USB disconnect, device number 9
[65429.657881] usb 3-1: USB disconnect, device number 6
[65436.649382] usb 3-1: new high-speed USB device number 9 using xhci-hcd
[65436.875965] hub 3-1:1.0: USB hub found
[65436.876332] hub 3-1:1.0: 3 ports detected
[65436.989415] usb 4-1: new SuperSpeed USB device number 11 using xhci-hcd
[65437.036322] hub 4-1:1.0: USB hub found
[65437.036697] hub 4-1:1.0: 3 ports detected
[65438.049691] usb 3-1-port2: Cannot enable. Maybe the USB cable is bad?
[65438.150812] usb 4-1.1: new SuperSpeed USB device number 12 using xhci-hcd

It says "Maybe the USB cable is bad?" However, when I connect the hard drive to my computer, it works with no problem. Replacing the usb 3.0 cable makes no difference.

Furthermore, the router can detect my Toshiba 3T external hard drive. Can the fact the seagate hard drive has size 6T matters?

Try the the test again with all USB devices disconnected, then reconnect the Seagate Only and post the kernel log

I have power off the router, disconnect all usb devices, power on, and then connect the hard drive. And the kernel log is as follow.

[  245.251903] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[  245.479142] hub 1-1:1.0: USB hub found
[  245.479529] hub 1-1:1.0: 3 ports detected
[  245.591762] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[  245.639106] hub 2-1:1.0: USB hub found
[  245.639501] hub 2-1:1.0: 3 ports detected
[  246.642755] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
[  246.741733] usb 2-1.1: new SuperSpeed USB device number 3 using xhci-hcd

I suspect the router/usb cable is not able to supply enough current to the 6T HDD

It is connected with USB3 (SuperSpeed) succesfully.

It looks like the error message is for USB2 (high-speed).

Summary:

The seagate is detecting the router has USB3 and then ignoring USB2, should be safe to ignore the error message about bad cable.

Do you have all the necessary USB packages installed.
https://openwrt.org/docs/guide-user/storage/usb-installing

Thank you for the suggestion. I think I have all the USB packages installed.

root@OPENWRT:~# opkg list-installed | grep usb
kmod-usb-core - 4.14.54-1
kmod-usb-dwc3 - 4.14.54-1
kmod-usb-dwc3-of-simple - 4.14.54-1
kmod-usb-ehci - 4.14.54-1
kmod-usb-ledtrig-usbport - 4.14.54-1
kmod-usb-ohci - 4.14.54-1
kmod-usb-ohci-pci - 4.14.54-1
kmod-usb-phy-qcom-dwc3 - 4.14.54-1
kmod-usb-storage - 4.14.54-1
kmod-usb-uhci - 4.14.54-1
kmod-usb2 - 4.14.54-1
kmod-usb2-pci - 4.14.54-1
kmod-usb3 - 4.14.54-1
libusb-1.0 - 1.0.22-1
usbutils - 007-7
root@OPENWRT:~# insmod usbcore
Failed to find usbcore. Maybe it is a built in module ?
root@OPENWRT:~# insmod usb-ohci
Failed to find usb-ohci. Maybe it is a built in module ?
root@OPENWRT:~# insmod uhci
Failed to find uhci. Maybe it is a built in module ?
root@OPENWRT:~# insmod ehci-hcd
module is already loaded - ehci-hcd
root@OPENWRT:~# insmod xhci-hcd
module is already loaded - xhci-hcd

However, it seems that uhci and ohci cannot be find.

what type of filesystem is on the seagate drive / partitions

if ext4 have you installed these packages ( e2fsprogs kmod-fs-ext4 )

The filesystem is ext4. Yes, I have kmod-fs-ext4 and e2fsprogs installed.

Hi, I'm having the same difficulty. I had to go back to version 17 because the 18 does not recognize the 5T USB my Netgear R8000 is waiting for the solution

1 Like

Thank you for sharing your case. It is somewhat a relief to know that I am not along. Is it detected when you simply roll back to 17?

Same problem here, reverting to previous version. :frowning:

1 Like