You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
NVMe to USB encloser with RTL9210 chipset detected as USB2 (high-speed) device initialized but seems doesn't work. The device is present but cannot be used for partitioning
To reproduce
List the steps required to reproduce the issue.
Expected behavior
Discovered as 5000M (USB3 Bus) device and allows to manage NVMe disk.
Actual behaviour
[ 18.936785] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 18.945449] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[ 19.711692] usb 1-1.3: new high-speed USB device number 3 using xhci_hcd
[ 19.818618] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
[ 19.818628] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 19.818633] usb 1-1.3: Product: RTL9210--VB
[ 19.818638] usb 1-1.3: Manufacturer: Realtek
[ 19.818643] usb 1-1.3: SerialNumber: 012345689321
[ 19.996580] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 19.998010] scsi host0: usb-storage 1-1.3:1.0
[ 19.998617] usbcore: registered new interface driver usb-storage
[ 20.004271] usbcore: registered new interface driver uas
[ 20.211855] alua: device handler registered
[ 20.214924] emc: device handler registered
[ 20.218323] rdac: device handler registered
[ 21.029378] scsi 0:0:0:0: Direct-Access Realtek RTL9210 NVME 1.00 PQ: 0 ANSI: 6
[ 21.030078] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 21.035682] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 21.035693] sd 0:0:0:0: [sda] Sense Key : Illegal Request [current]
System
Pi4B
Ubuntu 20.04.2 LTS \n \l
version 194a85abd768c7334bbadc3f1911c10a7d18ed14 (clean) (release) (start)
Linux raspberrypi 5.4.0-1028-raspi kernel oops. #31-Ubuntu SMP PREEMPT Wed Jan 20 11:30:45 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Logs
dmesg
[ 18.936785] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 18.945449] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[ 19.711692] usb 1-1.3: new high-speed USB device number 3 using xhci_hcd
[ 19.818618] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
[ 19.818628] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 19.818633] usb 1-1.3: Product: RTL9210--VB
[ 19.818638] usb 1-1.3: Manufacturer: Realtek
[ 19.818643] usb 1-1.3: SerialNumber: 012345689321
[ 19.996580] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 19.998010] scsi host0: usb-storage 1-1.3:1.0
[ 19.998617] usbcore: registered new interface driver usb-storage
[ 20.004271] usbcore: registered new interface driver uas
[ 20.211855] alua: device handler registered
[ 20.214924] emc: device handler registered
[ 20.218323] rdac: device handler registered
[ 21.029378] scsi 0:0:0:0: Direct-Access Realtek RTL9210 NVME 1.00 PQ: 0 ANSI: 6
[ 21.030078] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 21.035682] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 21.035693] sd 0:0:0:0: [sda] Sense Key : Illegal Request [current]
[ 21.035701] sd 0:0:0:0: [sda] Add. Sense: Invalid command operation code
[ 21.035711] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[ 21.035716] sd 0:0:0:0: [sda] 0-byte physical blocks
[ 21.037426] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[ 21.039130] sd 0:0:0:0: [sda] Asking for cache data failed
[ 21.039147] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 21.062525] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 21.062543] sd 0:0:0:0: [sda] Sense Key : Illegal Request [current]
[ 21.062556] sd 0:0:0:0: [sda] Add. Sense: Invalid command operation code
[ 21.066197] sd 0:0:0:0: [sda] Attached SCSI disk
❯ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
Additional context
Latest smartctl with chipset support
smartctl -a /dev/sda
smartctl 7.2 2020-12-30 r5155 [aarch64-linux-5.4.0-1028-raspi] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
Read NVMe Identify Controller failed: scsi error unsupported scsi opcode
❯ sudo smartctl -x -d scsi /dev/sda
smartctl 7.2 2020-12-30 r5155 [aarch64-linux-5.4.0-1028-raspi] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: Realtek
Product: RTL9210 NVME
Revision: 1.00
Compliance: SPC-4
LU is fully provisioned
Logical Unit id: 0x3001237923792379
Serial number: 0000000000000000
Device type: disk
Local Time is: Sat Feb 6 13:01:11 2021 +08
SMART support is: Unavailable - device lacks SMART capability.
Read Cache is: Unavailable
Writeback Cache is: Unavailable
=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Error Counter logging not supported
Device does not support Self Test logging
Device does not support Background scan results logging
Describe the bug
NVMe to USB encloser with RTL9210 chipset detected as USB2 (high-speed) device initialized but seems doesn't work. The device is present but cannot be used for partitioning
To reproduce
List the steps required to reproduce the issue.
Expected behavior
Discovered as 5000M (USB3 Bus) device and allows to manage NVMe disk.
Actual behaviour
System
Logs
dmesg
Additional context
Latest smartctl with chipset support
Looking for some help and ideas.