Install USB storage on WRT32X and OpenWrt 18.06.2

I changed my router to a Linksys WRT32X and OpenWrt 18.06.2.
On the previous one, I installed the USB storage quickly following the howto Using storage devices.
Now, after 2 days, I can't get it working...

opkg list-installed | grep usb
kmod-usb-core - 4.14.95-1
kmod-usb-ehci - 4.14.95-1
kmod-usb-printer - 4.14.95-1
kmod-usb-storage - 4.14.95-1
kmod-usb2 - 4.14.95-1
kmod-usb3 - 4.14.95-1
libusb-1.0 - 1.0.22-1
usbutils - 007-9
lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M
ls -l /dev/sd*
ls: /dev/sd*: No such file or directory
uci show fstab
fstab.@global[0]=global
fstab.@global[0].anon_swap='0'
fstab.@global[0].anon_mount='0'
fstab.@global[0].auto_mount='1'
fstab.@global[0].delay_root='5'
fstab.@global[0].check_fs='0'
fstab.@global[0].auto_swap='0'
fstab.@mount[0]=mount
fstab.@mount[0].enabled='1'
fstab.@mount[0].uuid='a5ca4ba2-1160-47ac-82a8-dda238e7cfff'
fstab.@mount[0].target='/dev/sda'
fstab.@mount[0].fstype='ext4'
block info
/dev/mtdblock6: UUID="1431149825" VERSION="1" TYPE="ubi"
/dev/mtdblock8: UUID="469652220" VERSION="1" TYPE="ubi"
/dev/ubiblock0_0: UUID="f63bfda8-24a5f795-1181c070-5fc5daba" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/ubi0_1: UUID="e51d1679-2acd-41f5-8e89-2f6e14b1acef" VERSION="w4r0" MOUNT="/overlay" TYPE="ubifs"

There is no /dev/sda file.
What I did wrong?
Thank you for you help

Does lsmod show the modules as installed?

What do you see in the logs when you plug in a USB device (after booted, once things quiet down)?

No dmesg message after plug in USB hard drive!!!
This hard drive was working on the previous router, I used it to log the router Lan link outage.

I tried another hard drive and got the dmesg

[  989.556116] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[  989.586871] usb-storage 3-1:1.0: USB Mass Storage device detected
[  989.593317] usb-storage 3-1:1.0: Quirks match for vid 152d pid 0539: 4000000
[  989.600607] scsi host2: usb-storage 3-1:1.0
[  990.626690] scsi 2:0:0:0: Direct-Access     WDC WD12 00BEVS-22RST0    0X06 PQ: 0 ANSI: 6
[  990.635351] sd 2:0:0:0: [sda] 234440704 512-byte logical blocks: (120 GB/112 GiB)
[  990.643078] sd 2:0:0:0: [sda] Write Protect is off
[  990.647907] sd 2:0:0:0: [sda] Mode Sense: 27 00 00 00
[  990.653173] sd 2:0:0:0: [sda] No Caching mode page found
[  990.658518] sd 2:0:0:0: [sda] Assuming drive cache: write through
[  990.708611]  sda: sda1
[  990.712098] sd 2:0:0:0: [sda] Attached SCSI disk

It should be good now with the second one
Thank you to point me the issue.
I'll let you know

1 Like