Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Sep 5, 2021 · 0 comments
Labels
flyspray release/19.07

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Sep 5, 2021

RCherepanov:

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 : 0x5 [current]
[ 16.053015] sd 0:0:0:0: [sda] ASC=0x20 ASCQ=0x0
[ 16.059685] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=0x08
[ 16.068317] sd 0:0:0:0: [sda] Sense Key : 0x5 [current]
[ 16.073712] sd 0:0:0:0: [sda] ASC=0x20 ASCQ=0x0
[ 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 : 0x5 [current]
[ 16.120068] sd 0:0:0:0: [sda] ASC=0x20 ASCQ=0x0
[ 16.126769] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=0x08
[ 16.135355] sd 0:0:0:0: [sda] Sense Key : 0x5 [current]
[ 16.140717] sd 0:0:0:0: [sda] ASC=0x20 ASCQ=0x0
[ 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?

@aparcar aparcar added the release/19.07 label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/19.07
Projects
None yet
Development

No branches or pull requests

2 participants