fail to detect usb storage at boot time on apu2c4.
Username: KazukiShimada
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=476
version: 17.01.0-rc1, r3042-ec095b5b and latest master
device: pcengine apu2c4, toshiba 32GB usb3.0 storage
packages: kmod-usb-storage, kmod-usb-core, kmod-scsi-core
After boot, inserting usb storage is detected successfully, like this
BusyBox v1.25.1 () built-in shell (ash)
/ /\ _ ___ ___ ___ / LE / \ | | | __| | __| / DE / \ | |__| _|| |) | _|
/
/ LE \ |
|
_|
_/|
_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.0-rc1, r3042-ec095b5b)
\
/ ———————————————————–
root@lede:/# ls /dev/|grep sd (← Not inserted yet)
root@lede:/# [ 73.924056] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd (← Detected)
[ 73.948714] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 73.955124] scsi host4: usb-storage 3-2:1.0
[ 74.954867] scsi 4:0:0:0: Direct-Access TOSHIBA TransMemory-Mx PMAP PQ: 0 ANSI: 6
[ 74.963873] sd 4:0:0:0: [sda] 60456960 512-byte logical blocks: (31.0
GB
/28.8 GiB)
[ 74.971758] sd 4:0:0:0: [sda] Write Protect is off
[ 74.976597] sd 4:0:0:0: [sda] Mode Sense: 45 00 00 00
[ 74.981951] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
[ 75.107329] sda:
[ 75.110561] sd 4:0:0:0: [sda] Attached
SCSI
removable disk
root@lede:/# ls /dev/|grep sd
sda (← device file found)
root@lede:/#
=======================================================================================
After reboot keeping usb storage inserted, inserting usb storage is not detected, like this
=======================================================================================
BusyBox v1.25.1 () built-in shell (ash)
_
/ /\ _
_
_
_
/ LE / \ | | | __| | __| / DE / \ | |__| _|| |) | _|
/
/ LE \ |
|
_|
_/|
_| lede-project.org
\ \ DE /
\ LE \ / ———————————————————– \ DE \ / Reboot (17.01.0-rc1, r3042-ec095b5b)
\
__/ ———————————————————–
root@lede:/# ls /dev/|grep sd
root@lede:/#
Do you know the clue fixing this issue?
Thanks in advance.