OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version openwrt-19.07
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Roman Cherepanov - 05.09.2021

FS#4007 - OpenWRT and Netac Z9 portable SSD: disk need manual reconnection after each reboot

Supply the following if possible:
- Device problem occurs on Newifi D2 and Netac Z9 128GB USB3.2 portable SSD
- Software versions of OpenWrt/LEDE release, packages, etc. OpenWRT snapshot 19.07.08 (LuCI Master (git-21.226.86205-376af36) / OpenWrt SNAPSHOT r17471-b6cbbbb6ef )
- Steps to reproduce

Install:
root@OpenWrt:~# opkg list-installed | grep usb
kmod-usb-core - 5.4.143-1
kmod-usb-ehci - 5.4.143-1
kmod-usb-ledtrig-usbport - 5.4.143-1
kmod-usb-ohci - 5.4.143-1
kmod-usb-ohci-pci - 5.4.143-1
kmod-usb-storage - 5.4.143-1
kmod-usb-storage-extras - 5.4.143-1
kmod-usb-storage-uas - 5.4.143-1
kmod-usb-uhci - 5.4.143-1
kmod-usb-xhci-hcd - 5.4.143-1
kmod-usb-xhci-mtk - 5.4.143-1
kmod-usb2 - 5.4.143-1
kmod-usb2-pci - 5.4.143-1
libusb-1.0-0 - 1.0.24-4
libusb-compat4 - 0.1.7-2
usb-modeswitch - 2017-12-19-f40f84c2-2
reboot.

Connect portable SSD to USB port. SSD is working fine.
[ 62.313822] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[ 62.321654] sd 0:0:0:0: [sda] Write Protect is off
[ 62.326429] sd 0:0:0:0: [sda] Mode Sense: 47 00 00 08
[ 62.326752] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 62.343033] sda: sda1 sda2 sda3
[ 62.350420] sd 0:0:0:0: [sda] Attached SCSI disk
[ 63.881045] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts:

Reboot device
SSD is found, but not respondig till manual reconnection.

root@OpenWrt:~# dmesg | grep sd
[ 16.043325] sd 0:0:0:0: [sda] Unit Not Ready [ 16.047611] sd 0:0:0:0: [sda] Sense Key : 0×5 [current]
[ 16.053015] sd 0:0:0:0: [sda] ASC=0×20 ASCQ=0×0 [ 16.059685] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0×00 driverbyte=0×08 [ 16.068317] sd 0:0:0:0: [sda] Sense Key : 0×5 [current]
[ 16.073712] sd 0:0:0:0: [sda] ASC=0×20 ASCQ=0×0 [ 16.078380] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B) [ 16.084586] sd 0:0:0:0: [sda] 0-byte physical blocks
[ 16.090260] sd 0:0:0:0: [sda] Write Protect is off
[ 16.095083] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
[ 16.095607] sd 0:0:0:0: [sda] Asking for cache data failed
[ 16.101184] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 16.110377] sd 0:0:0:0: [sda] Unit Not Ready
[ 16.114695] sd 0:0:0:0: [sda] Sense Key : 0×5 [current]
[ 16.120068] sd 0:0:0:0: [sda] ASC=0×20 ASCQ=0×0 [ 16.126769] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0×00 driverbyte=0×08 [ 16.135355] sd 0:0:0:0: [sda] Sense Key : 0×5 [current]
[ 16.140717] sd 0:0:0:0: [sda] ASC=0×20 ASCQ=0×0 [ 16.146232] sd 0:0:0:0: [sda] Attached SCSI disk
[ 17.279150] usbcore: registered new interface driver ums-isd200
[ 17.302647] usbcore: registered new interface driver ums-sddr09
[ 17.310530] usbcore: registered new interface driver ums-sddr55

Only /dev/sda now is present and this device is not block device and cant be mounted.
After physical reconnection of SSD it is working again, /dev/sda1, /dev/sda2 etc. are visible and mounted properly.
Any ideas how to fix it?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing