Sorry, not boredom - I just missed that initial request. I just uninstalled kmod-usb3, and the USB drive continues to work.
I should note that I suspect the problem was the lack of the other package - kmod-usb-storage. After I installed it, the USB drive worked.
Here's what I saw. After installing the initial set of packages from the procedure (opkg install block-mount e2fsprogs kmod-fs-ext4
) I tried to do the next step (mkfs.ext4
) but got an error:
root@LEDE-MediaRoom:~# mkfs.ext4 /dev/sda1
mke2fs 1.43.3 (04-Sep-2016)
The file /dev/sda1 does not exist and no size was specified.
To diagnose, I installed lsbutils
and saw this:
root@LEDE-MediaRoom:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=, 480M
Note that the last line has "Driver=" I looked at the installed packages, and kmod-usb2 was there, but not kmod-usb-storage
root@LEDE-MediaRoom:~# opkg list-installed | grep usb
kmod-leds-wndr3700-usb - 4.4.71-1
kmod-usb-core - 4.4.71-1
kmod-usb-ledtrig-usbport - 4.4.71-1
kmod-usb-ohci - 4.4.71-1
kmod-usb2 - 4.4.71-1
libusb-1.0 - 1.0.21-1
usbutils - 007-6
I installed both kmod-usb-storage, and kmod-usb3 (because I read some other documentation that recommended it).
root@LEDE-MediaRoom:~# opkg install kmod-usb3 kmod-usb-storage
Installing kmod-usb3 (4.4.71-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/packages/kmod-usb3_4.4.71-1_mips_24kc.ipk
Installing kmod-usb-storage (4.4.71-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/packages/kmod-usb-storage_4.4.71-1_mips_24kc.ipk
Installing kmod-scsi-core (4.4.71-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/packages/kmod-scsi-core_4.4.71-1_mips_24kc.ipk
Configuring kmod-scsi-core.
Configuring kmod-usb-storage.
Configuring kmod-usb3.
Now the Mass Storage device has a proper driver ("Driver=usb-storage")
root@LEDE-MediaRoom:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M
root@LEDE-MediaRoom:~# ls -l /dev
At that point, the remainder of the procedure (mkfs.ext4
, etc.) worked as desired.
Update: Added error messages after initial mkfs.ext4
for complete history