[Help Req.] USB storage doesn't mount on Asus RT-AC87U.

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
bobthesponge
DD-WRT Novice


Joined: 10 Jul 2021
Posts: 8

PostPosted: Sat Jul 10, 2021 16:38    Post subject: [Help Req.] USB storage doesn't mount on Asus RT-AC87U. Reply with quote
Hi Experts,

I've been struggling with an issue of usb doesn't show up after I configure usb support as shown in the attached picture. This has been the case since I started using this router with dd-wrt (about 1.5 years).

Now I need the usb support because of my plan to extend the configuration.
Things tried so far:
- multiple version of dd-wrt firmware have been tried. Currently I'm using build 44715.
- searched online and on dd-wrt forum, and tried https://wiki.dd-wrt.com/wiki/index.php/USB_storage
- exFat, FAT32, NTFS, file systems have been tried.
- tried multiple usb storage devices.
- tried both usb ports on the router.
but no success so far.

Can someone help in this? I would be really thankful.

dmesg output:
-------------
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:0b.1: EHCI Host Controller
ehci-pci 0000:00:0b.1: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:0b.1: irq 111, io mem 0x18021000
ehci-pci 0000:00:0b.1: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:0b.0: OHCI PCI host controller
ohci-pci 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci-pci 0000:00:0b.0: irq 111, io mem 0x18022000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
xhci_hcd 0000:00:0c.0: xHCI Host Controller
xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 3
xhci_hcd 0000:00:0c.0: hcc params 0x02501164 hci version 0x100 quirks 0x00000010
hub 3-0:1.0: USB hub found
hub 3-0:1.0: config failed, hub doesn't have any ports! (err -19)
xhci_hcd 0000:00:0c.0: xHCI Host Controller
xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 4
usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
SCSI subsystem initialized
usbcore: registered new interface driver usb-storage

nvram output:
-------------
# nvram show | grep usb
size: 36451 bytes (29085 left)
usb_automnt=1
usb_ohci=0
usb_storage=1
usb_mntpoint=mnt
usb_runonmount=
usb_mntopt=
rc_usb=
usb_printer=0
usb_usb2=0
usb_ip=0
usb_mntjffs=
usb_uhci=0
gpio19=usbport1
usb_ses_umount=0
usb_enable=1

This is my first post here so kindly accept my apology in case I missed any WoW.



usb_storage_mounting_issue.JPG
 Description:
 Filesize:  42.53 KB
 Viewed:  2863 Time(s)

usb_storage_mounting_issue.JPG


Sponsor
hellf
DD-WRT Novice


Joined: 16 Apr 2010
Posts: 44
Location: Metavira

PostPosted: Sun Jul 11, 2021 15:04    Post subject: Reply with quote
- Maybe update to a recent build
- Format the USB to something native to Linux, Ext2/3/4 instead of FAT/NTFS.

through telnet/ssh run
Code:
watch -t -n 1 lsusb
and then plug in a few of them, look for changes in the terminal
IONK
DD-WRT Guru


Joined: 19 Aug 2011
Posts: 947

PostPosted: Sun Jul 11, 2021 15:33    Post subject: Reply with quote
have you tried a different USB drive?

I followed this guide https://forum.dd-wrt.com/phpBB2/download.php?id=43570 and I'm able to get USB storage working on Dlink DIR-868L Rev.A1

_________________
▫ RSS feed for DD-WRT releases (2024): https://rsseverything.com/feed/7d36ab68-7733-46c3-bd8a-9c54c5cef08c.xml
easyddup - A simple upgrade/downgrade utility by yoyoma2 --- as featured in 📌 Reference Links, stickies retired back to forum (Moderator's Pick 🌟)
bobthesponge
DD-WRT Novice


Joined: 10 Jul 2021
Posts: 8

PostPosted: Mon Jul 12, 2021 16:52    Post subject: Reply with quote
Bundle of thanks for jumping in to help me out.

@hellf:
Based on your suggestion, I formatted the usb storage with ext4, started a new terminal with "watch -t -n 1 lsusb" and tried the both usb ports but nothing shows up in the terminal.

@IONK:
Yes, I've tried multiple USB storage devices, like: Kingston, Sandisk, Western Digital.
I've tried the instructions of how to mount the usb from the document but no success.
hellf
DD-WRT Novice


Joined: 16 Apr 2010
Posts: 44
Location: Metavira

PostPosted: Mon Jul 12, 2021 18:13    Post subject: Reply with quote
You did reboot the router with the settings from the screenshot?
What does
Code:
lsmod | egrep "usb|scsi|hci"
show you?

I would next suspect a hardware fault, any LEDs light up on anything (try some optical mouse) plugged in?
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1851
Location: Hung Hom, Hong Kong

PostPosted: Tue Jul 13, 2021 11:19    Post subject: Reply with quote
hellf wrote:

What does
Code:
lsmod | egrep "usb|scsi|hci"
show you?


DD-WRT does NOT have egrep. Try:

Code:
lsmod | grep -E 'usb|scsi|hci'


Result from Asus RT-N18U:
Code:

usb_storage            35520  1
scsi_mod               72704  3 usb_storage,sr_mod,sd_mod
xhci_plat_hcd           1856  0
xhci_pci                2464  0
xhci_hcd               76128  2 xhci_plat_hcd,xhci_pci
ohci_pci                1920  0
ohci_hcd               20992  1 ohci_pci
ehci_pci                2752  0
ehci_hcd               30912  1 ehci_pci
usbcore               113472  9 usb_storage,xhci_plat_hcd,xhci_pci,xhci_hcd,ohci_pci,ohci_hcd,ehci_pci,ehci_hcd
usb_common              1312  1 usbcore



_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
kooper2013
DD-WRT User


Joined: 10 Jan 2013
Posts: 109
Location: DE

PostPosted: Tue Jul 13, 2021 13:00    Post subject: Reply with quote
On my AC87 (r46974), rear port used:

# nvram show | grep usb
size: 34688 bytes (30848 left)
usb_automnt=1
usb_ohci=0
usb_storage=1
ping_ip=nvram show | grep usb
usb_mntpoint=mnt
usb_runonmount=
usb_mntopt=
rc_usb=
usb_printer=0
usb_usb2=0
usb_ip=0
usb_mntjffs=
usb_uhci=0
gpio19=usbport1
usb_ses_umount=0
usb_enable=1

# dmesg | grep -E 'usb|scsi|hci'
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:0b.1: EHCI Host Controller
ehci-pci 0000:00:0b.1: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:0b.1: irq 111, io mem 0x18021000
ehci-pci 0000:00:0b.1: USB 0.0 started, EHCI 1.00
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:0b.0: OHCI PCI host controller
ohci-pci 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci-pci 0000:00:0b.0: irq 111, io mem 0x18022000
usb 1-2: new high-speed USB device number 2 using ehci-pci
xhci_hcd 0000:00:0c.0: xHCI Host Controller
xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 3
xhci_hcd 0000:00:0c.0: hcc params 0x02501164 hci version 0x100 quirks 0x00000010
xhci_hcd 0000:00:0c.0: xHCI Host Controller
xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 4
usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi host0: usb-storage 1-2:1.0
usbcore: registered new interface driver usb-storage
scsi 0:0:0:0: Direct-Access USB FLASH DRIVE RMAP PQ: 0 ANSI: 0 CCS


# lsmod | grep -E 'usb|scsi|hci'
usb_storage 35688 1
scsi_mod 74512 3 usb_storage,sr_mod,sd_mod
xhci_plat_hcd 1856 0
xhci_pci 2464 0
xhci_hcd 77196 2 xhci_plat_hcd,xhci_pci
ohci_pci 1920 0
ohci_hcd 21606 1 ohci_pci
ehci_pci 2752 0
ehci_hcd 31760 1 ehci_pci
usbcore 116120 9 usb_storage,xhci_plat_hcd,xhci_pci,xhci_hcd,ohci_pci,ohci_hcd,ehci_pci,ehci_hcd
usb_common 1312 1 usbcore


It is no prob to mount NTFS:
--- /dev/sda
Block device, size 478 MiB (501219328 bytes)
FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
BSD disklabel (at sector 1), 8 partitions
Partition a: 125.0 MiB (131088384 bytes, 256032 sectors from 0)
Type 7 (4.2BSD fast file system)
Includes the disklabel and boot code
DOS/MBR partition map
Partition 1: 477 MiB (500170752 bytes, 976896 sectors from 2048)
Type 0x07 (NTFS/HPFS)
NTFS file system
UUID 70406BED0B770588
Volume size 477.0 MiB (500170240 bytes, 976895 sectors)
Partition c: 125.0 MiB (131088384 bytes, 256032 sectors from 0)
Type 0 (Unused)
/dev/sda not mounted Unsupported Filesystem

--- /dev/sda1
Block device, size 477 MiB (500170752 bytes)
Windows BOOTMGR boot loader
NTFS file system
UUID 70406BED0B770588
Volume size 477.0 MiB (500170240 bytes, 976895 sectors)
/dev/sda1 mounted to /tmp/mnt/sda1

sda1 is then mounted as 'startup' command as jffs:
sleep 5 && mount -o bin /dev/sda1 /jffs

_________________
3xBuffalo WLI-H4-D1300
1xBuffalo WZR-D1800H
1xBuffalo WHR-HP-G300N
1xBuffalo WHR-1166D (stock f/w)
1xAsus RT-AC87U
1xAsus RT-AC88U
1xTP710
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14102
Location: Texas, USA

PostPosted: Tue Jul 13, 2021 14:51    Post subject: Reply with quote
You should consider upgrading from 44715. If you say that it is the latest, then you are not looking past the doorway and will continue to have issues.

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
bobthesponge
DD-WRT Novice


Joined: 10 Jul 2021
Posts: 8

PostPosted: Wed Jul 21, 2021 20:02    Post subject: Reply with quote
As per the suggestion, I've upgraded the router to the latest build (47074) and tried again with NTFS, ext2 and ext4 file systems with three types of USB storage devices and on both ports of the router. But no success.

Here are the output of nvram, dmesg and lsmod:
# nvram show | grep usb
size: 33561 bytes (31975 left)
usb_automnt=1
usb_ohci=0
usb_storage=1
usb_mntpoint=mnt
usb_runonmount=
usb_mntopt=
rc_usb=
usb_printer=0
usb_usb2=0
usb_ip=0
usb_mntjffs=
usb_uhci=0
gpio19=usbport1
usb_ses_umount=0
usb_enable=1

# dmesg | grep -E 'usb|scsi|hci'
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:0b.1: EHCI Host Controller
ehci-pci 0000:00:0b.1: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:0b.1: irq 111, io mem 0x18021000
ehci-pci 0000:00:0b.1: USB 0.0 started, EHCI 1.00
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:0b.0: OHCI PCI host controller
ohci-pci 0000:00:0b.0: new USB bus registered, assigned bus number 2
ohci-pci 0000:00:0b.0: irq 111, io mem 0x18022000
xhci_hcd 0000:00:0c.0: xHCI Host Controller
xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 3
xhci_hcd 0000:00:0c.0: hcc params 0x02501164 hci version 0x100 quirks 0x00000010
xhci_hcd 0000:00:0c.0: xHCI Host Controller
xhci_hcd 0000:00:0c.0: new USB bus registered, assigned bus number 4
usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
usbcore: registered new interface driver usb-storage

# lsmod | grep -E 'usb|scsi|hci'
usb_storage 35680 0
scsi_mod 74528 3 usb_storage,sr_mod,sd_mod
xhci_plat_hcd 1856 0
xhci_pci 2464 0
xhci_hcd 77184 2 xhci_plat_hcd,xhci_pci
ohci_pci 1920 0
ohci_hcd 21600 1 ohci_pci
ehci_pci 2752 0
ehci_hcd 31744 1 ehci_pci
usbcore 116128 9 usb_storage,xhci_plat_hcd,xhci_pci,xhci_hcd,ohci_pci,ohci_hcd,ehci_pci,ehci_hcd
usb_common 1312 1 usbcore


dmesg logs are not similar to the logs shared by kooper2013.

Next Step:
I'm thinking to try with OEM build also. which I'll do and share the outcome.
bobthesponge
DD-WRT Novice


Joined: 10 Jul 2021
Posts: 8

PostPosted: Tue Aug 03, 2021 11:07    Post subject: Reply with quote
I've tried USB storage support on OEM firmware but it was not successful. Now I'm more on a side that it seems to be related to some HW issue.

Does anyone know and guide in troubleshooting this as a HW issue?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum