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

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sun Sep 5 09:14:07 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Roman Cherepanov (RCherepanov) 

Attached to Project - OpenWrt/LEDE Project
Summary - OpenWRT and Netac Z9 portable SSD: disk need manual reconnection after each reboot
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - 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 at 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 at 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?


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=4007

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list