Skip to content

Instantly share code, notes, and snippets.

@hayorov
Created February 6, 2021 05:03
Show Gist options
  • Save hayorov/861bdc9f3de4ca68ab4de9aeae067fd5 to your computer and use it in GitHub Desktop.
Save hayorov/861bdc9f3de4ca68ab4de9aeae067fd5 to your computer and use it in GitHub Desktop.
rpi4-rtl9210-nvme-drive
[ 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
❯ sudo lsblk -l
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 48.8M 1 loop /snap/core18/1936
loop1 7:1 0 48.9M 1 loop /snap/core18/1949
loop2 7:2 0 27M 1 loop /snap/snapd/10494
loop3 7:3 0 62.9M 1 loop /snap/lxd/19168
loop4 7:4 0 27M 1 loop /snap/snapd/10709
loop5 7:5 0 62.9M 1 loop /snap/lxd/19020
mmcblk0 179:0 0 14.9G 0 disk
mmcblk0p1 179:1 0 256M 0 part /boot/firmware
mmcblk0p2 179:2 0 14.6G 0 part /
❯ 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
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
@Enissay
Copy link

Enissay commented Oct 14, 2024

I know this is a looong shot, but have you managed to fix this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment