Opened 8 months ago

Last modified 5 weeks ago

#1814 new enhancement

please add support for Micron CT1000X9SSD9 (0x0634:0x5605)

Reported by: void Owned by:
Priority: minor Milestone: undecided
Component: drivedb Version: 7.4
Keywords: usb nand Cc: void

Description (last modified by Christian Franke)

This SSD us badged as Crucial X9 1TB Portable External SSD

os: FreeBSD-14.0-p5 arm64

# smartctl -x -d sat,auto /dev/da0
smartctl 7.4 2023-08-01 r5530 [FreeBSD 14.0-RELEASE-p5 arm64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               Micron
Product:              CT1000X9SSD9
Revision:             PMAP
Compliance:           SPC-4
User Capacity:        1,000,204,886,016 bytes [1.00 TB]
Logical block size:   512 bytes
LU is fully provisioned [LBPRZ=1]
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
Logical Unit id:      0x500014a000000001
Device type:          disk
scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
Local Time is:        Mon Mar 18 13:36:26 2024    
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported
Read Cache is:        Enabled
Writeback Cache is:   Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Read defect list: asked for grown list but didn't get it
Error Counter logging not supported

scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
Device does not support Self Test logging
Device does not support Background scan results logging
Device does not support General statistics and performance logging

###

# lsusb -v -d 0634:5605 | less

Bus /dev/usb Device /dev/ugen0.4: ID 0634:5605 Micron Technology, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.20
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x0634 Micron Technology, Inc.
  idProduct          0x5605 
  bcdDevice            1.10
  iManufacturer           1 Micron
  iProduct                2 CT1000X9SSD9
  iSerial                 3 [redacted]
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          121
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              224mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               8
      Endpoint Descriptor:
:can't get debug descriptor: Input/output error
       bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           4
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     98 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               8
        MaxStreams             32
        INTERFACE CLASS:  04 24 03 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               8
        MaxStreams             32
        INTERFACE CLASS:  04 24 04 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               1
        MaxStreams             32
        INTERFACE CLASS:  04 24 02 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              16
        INTERFACE CLASS:  04 24 01 00
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           42
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000006
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    bmAttributes         0x00
      Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   0
      Lowest fully-functional device speed is Low Speed (1Mbps)
    bU1DevExitLat           2 micro seconds
    bU2DevExitLat        2815 micro seconds
  ** UNRECOGNIZED:  14 10 0a 00 01 00 00 00 00 11 00 00 30 40 0a 00 b0 40 0a 00

Change History (6)

comment:1 by Christian Franke, 8 months ago

Description: modified (diff)

comment:2 by Christian Franke, 8 months ago

Component: alldrivedb
Keywords: usb added
Milestone: undecided
# smartctl -x -d sat,auto /dev/da0

The auto flag checks for "ATA " in SCSI VENDOR field. This works with SAT layers of SCSI/SAS controllers but never with USB devices which return the real vendor.

Please retry with smartctl -x -d sat /dev/da0.

comment:3 by void, 8 months ago

Hi,

Sorry for the delay - the system has since been re-installed.

Here is the smartctl output from your suggested input:

# smartctl -x -d sat /dev/da0
smartctl 7.4 2023-08-01 r5530 [FreeBSD 15.0-CURRENT arm64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: Input/output error

If this is a USB connected device, look at the various --device=TYPE variants
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
Last edited 8 months ago by Christian Franke (previous) (diff)

comment:4 by void, 8 months ago

Some more testing:

/usr/local/share/smartmontools/drivedb.h 7.3/5528 updated to 7.3/5610

# smartctl -x -d sat -T verypermissive /dev/da0
smartctl 7.4 2023-08-01 r5530 [FreeBSD 15.0-CURRENT arm64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: Input/output error

If this is a USB connected device, look at the various --device=TYPE variants
START OF INFORMATION SECTION
Device Model:     ������
Serial Number:    }AR�����
Firmware Version: ���
Rotation Rate:    43551 rpm
Form Factor:      1.8 inches
Zoned Device:     Host Aware Zones
Device is:        Not in smartctl database 7.3/5610
ATA Version is:   ACS >5 (15) (unknown minor revision code: 0x9100)
SATA Version is:  SATA 3.3, >6.0 Gb/s (7)
Local Time is:    Mon Apr  8 11:53:17 2024    
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
                  Checking to be sure by trying SMART RETURN STATUS command.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Unavailable
Write cache is:   Unavailable
DSN feature is:   Unavailable
ATA Security is:  ENABLED, PW level MAX, not locked, not frozen [SEC5], Master PW ID: 0x03e7
Read SCT Status failed: Input/output error
Wt Cache Reorder: Unknown (SCT Feature Control command failed)

Read SMART Data failed: Input/output error

START OF READ SMART DATA SECTION
SMART Status command failed: scsi error unsupported scsi opcode
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Read SMART Log Directory failed: Input/output error

ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: Input/output error
Read GP Log Directory failed

SMART Extended Comprehensive Error Log (GP Log 0x03) not supported

Read SMART Error Log failed: Input/output error

SMART Extended Self-test Log (GP Log 0x07) not supported

Read SMART Self-test Log failed: Input/output error

Selective Self-tests/Logging not supported

Read SCT Status failed: Input/output error

Read SCT Status failed: Input/output error
SCT (Get) Error Recovery Control command failed

Device Statistics (GP/SMART Log 0x04) not supported

Pending Defects log (GP Log 0x0c) not supported

ATA_READ_LOG_EXT (addr=0x11:0x00, page=0, n=1) failed: Input/output error
Read SATA Phy Event Counters failed
Last edited 8 months ago by Christian Franke (previous) (diff)

comment:5 by Christian Franke, 8 months ago

Summary: please add support for Micron CT1000X9SSD9please add support for Micron CT1000X9SSD9 (0x0634:0x5605)

-d sat is neither supported nor correctly rejected (with unsupported scsi opcode).

If none of the other -d usb* or -d snt* options (see USB wiki page) work, we could only add this USB Id as unsupported.

Note that this device may use an USB->NAND controller without any ATA- or NVMe-like diagnostics. See ticket #1767 for another example which has some ATA diagnostic support.

PS: In future submissions, please use proper wiki markup for smartctl output.

comment:6 by Christian Franke, 5 weeks ago

Keywords: nand added
Note: See TracTickets for help on using tickets.