R8000 USB 3.0 couldn't mount AsMedia Hard disks

R8000, had installed usb related drivers:

root@OpenWrt:~# lsmod | grep usb
hid                    86016  2 usbhid,hid_generic
ledtrig_usbport        12288  0 
nls_base               12288  1 usbcore
phy_bcm_ns_usb2        12288  1 
phy_bcm_ns_usb3        12288  2 
scsi_mod               86016  6 ums_cypress,uas,usb_storage,sg,libata,sd_mod
ums_usbat              16384  0 
usb_common             12288  3 dwc3,dwc2,usbcore
usb_storage            40960 11 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,uas
usbcore               122880 24 brcmfmac,ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,uas,usbhid,usb_storage,dwc2,ledtrig_usbport,ehci_pci,xhci_plat_hcd,xhci_pci,xhci_hcd,ohci_platform,ohci_hcd,ehci_platform,ehci_hcd
usbhid                 28672  0 

Hard Drive Enclosures,with 2HDD , a 500G Toshiba Mobile hard disk ,and a 2G USB flash,plug in USB 3.0 port. Only the 500G Toshiba Mobile hard disk ,and 2G USB flash can be mounted.

root@OpenWrt:~# lsusb
Bus 001 Device 004: ID 0480:a004 Toshiba America Inc 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 002: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

AND can't run lsusb -t / lsusb -v (no response)!
All can be mounted via USB2.0
image

hard to understand your problem... they can both be mounted?

Hard Drive Enclosure have 2 usb Ports and 4 bays(within 2*2T HDD ). 500G mobile hard disk and 2G usb flash plug in the hard drive enclosure.

when the hard drive enclosure plugs in R8000’s usb 3.0 port, the mobile hard disk and usb flash works well,2*2T HDD couldn't be mounted.
When usb 2.0, all disks can be mounted.

1 Like

does it work with USB3... and no USB drive... ( bay disks only )?

The bay disks can't work with USB 3.

information in dmesg:

[    8.180602] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.244991] usbcore: registered new interface driver usbfs
[    8.250631] usbcore: registered new interface driver hub
[    8.256034] usbcore: registered new device driver usb
[    8.264044] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.271285] ehci-platform: EHCI generic platform driver
[    8.277889] ehci-platform 18021000.ehci: EHCI Host Controller
[    8.283765] ehci-platform 18021000.ehci: new USB bus registered, assigned bus number 1
[    8.284619] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.291932] ehci-platform 18021000.ehci: irq 37, io mem 0x18021000  
[    8.298746] ohci-platform: OHCI generic platform driver
[    8.309572] ohci-platform 18022000.ohci: Generic Platform OHCI controller
[    8.316429] ohci-platform 18022000.ohci: new USB bus registered, assigned bus number 2
[    8.324511] ohci-platform 18022000.ohci: irq 37, io mem 0x18022000
[    8.330187] ehci-platform 18021000.ehci: USB 2.0 started, EHCI 1.00
[    8.337542] hub 1-0:1.0: USB hub found
[    8.341529] hub 1-0:1.0: 2 ports detected
[    8.407008] hub 2-0:1.0: USB hub found
[    8.410863] hub 2-0:1.0: 2 ports detected
[    8.482461] xhci-hcd 18023000.xhci: xHCI Host Controller
[    8.487819] xhci-hcd 18023000.xhci: new USB bus registered, assigned bus number 3
[    8.495570] xhci-hcd 18023000.xhci: hcc params 0x02501164 hci version 0x100 quirks 0x0000001000010010
[    8.504867] xhci-hcd 18023000.xhci: irq 38, io mem 0x18023000
[    8.511100] hub 3-0:1.0: USB hub found
[    8.514923] hub 3-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    8.522275] xhci-hcd 18023000.xhci: xHCI Host Controller
[    8.527643] xhci-hcd 18023000.xhci: new USB bus registered, assigned bus number 4
[    8.535166] xhci-hcd 18023000.xhci: Host supports USB 3.0  SuperSpeed
[    8.562519] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.571073] hub 4-0:1.0: USB hub found
[    8.574902] hub 4-0:1.0: 1 port detected
[    8.581118] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    8.600347] init: - preinit -
[    8.736557] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    8.954851] hub 1-1:1.0: USB hub found
[    8.958956] hub 1-1:1.0: 4 ports detected
[    8.972689] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[    9.005739] hub 4-1:1.0: USB hub found
[    9.022496] hub 4-1:1.0: 4 ports detected
[    9.290183] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
[    9.600169] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
[   10.234275] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.240263] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   11.290179] bgmac_bcma bcma0:3 eth0: Link is Up - 1Gbps/Full - flow control off
[   11.297548] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.304130] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   13.375488] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 673
[   13.417903] UBIFS (ubi0:1): recovery needed
[   13.528121] UBIFS (ubi0:1): recovery completed
[   13.532683] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   13.540554] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   13.550505] UBIFS (ubi0:1): FS size: 25014272 bytes (23 MiB, 197 LEBs), journal size 1269760 bytes (1 MiB, 10 LEBs)
[   13.560983] UBIFS (ubi0:1): reserved for root: 1181485 bytes (1153 KiB)
[   13.567618] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID AE519478-AC8A-4815-B887-E0633AF3D8EC, small LPT model
[   13.588863] mount_root: loading kmods from internal overlay
[   13.760306] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   13.901608] SCSI subsystem initialized
[   13.912817] ehci-pci: EHCI PCI platform driver
[   13.922167] uhci_hcd: USB Universal Host Controller Interface driver
[   13.929998] ohci-pci: OHCI PCI platform driver
[   13.943165] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   13.949951] scsi host0: usb-storage 1-1.3:1.0
[   13.954662] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[   13.961335] scsi host1: usb-storage 1-1.4:1.0
[   13.966053] usbcore: registered new interface driver usb-storage
[   13.974473] usbcore: registered new interface driver uas
[   13.980056] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   14.185354] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   14.195120] block: extroot: not configured
[   14.234670] mount_root: switching to ubifs overlay
[   14.252728] urandom-seed: Seeding with /etc/urandom.seed
[   14.359106] procd: - early -
[   14.362112] procd: - watchdog -
[   14.973479] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 2GB    8.07 PQ: 0 ANSI: 2
[   14.983688] sd 0:0:0:0: [sda] 3944448 512-byte logical blocks: (2.02 GB/1.88 GiB)
[   14.990268] procd: - watchdog -
[   14.994687] procd: - ubus -
[   14.997725] sd 0:0:0:0: [sda] Write Protect is off
[   15.002591] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[   15.003334] sd 0:0:0:0: [sda] No Caching mode page found
[   15.008672] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.055747] procd: - init -
[   15.101040]  sda: sda1
[   15.107529] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   15.349387] scsi 1:0:0:0: Direct-Access     Toshiba  External USB HDD      PQ: 0 ANSI: 4
[   15.359697] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   15.373578] sd 1:0:0:0: [sdb] Write Protect is off
[   15.378399] sd 1:0:0:0: [sdb] Mode Sense: 38 00 00 00
[   15.384847] sd 1:0:0:0: [sdb] No Caching mode page found
[   15.390187] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   15.469776]  sdb: sdb1 sdb2
[   15.488753] sd 1:0:0:0: [sdb] Attached SCSI disk

UPDATE: After I flash snapshot fireware, my R8000 can detected the AsMedia hard disks. But there still have some problems about kmod-usb-storage-uas driver. And I can run " lsusb -t " normally. It shows that the disk's driver is empty.