Opened 5 years ago

Closed 5 years ago

#1264 closed enhancement (fixed)

Unknown USB Bridge in a Silverstone MS10 enclosure

Reported by: mafalb Owned by: Christian Franke
Priority: minor Milestone: Release 7.1
Component: drivedb Version:
Keywords: usb Cc:

Description

A Silverstone MS10, it's an external USB enclosure for M.2 SSDs
This ticket is about the USB bridge, not about the arbitrary disk I put inside the enclosure.

# smartctl -i /dev/sda 
smartctl 7.0 2018-12-30 r4883 [armv7l-linux-4.19.72-v7.1.el7] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sda: Unknown USB bridge [0x125f:0xa37a (0x3103)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary
# lsusb -d 125f:a37a -v

Bus 001 Device 006: ID 125f:a37a A-DATA Technology Co., Ltd. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x125f A-DATA Technology Co., Ltd.
  idProduct          0xa37a 
  bcdDevice           31.03
  iManufacturer           1 JMicron
  iProduct                2 JMS580
  iSerial                 3 DB5641988387387398
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           85
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    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     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    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     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Command pipe (0x01)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
        Data-out pipe (0x04)
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   0x00000f0e
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat          32 micro seconds
  ** UNRECOGNIZED:  14 10 0a 00 01 00 00 00 00 11 00 00 30 40 0a 00 b0 40 0a 00
Device Status:     0x0000
  (Bus Powered)

with -d sat it's working OK

# smartctl -i /dev/sda 
smartctl 7.0 2018-12-30 r4883 [armv7l-linux-4.19.72-v7.1.el7] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sda: Unknown USB bridge [0x125f:0xa37a (0x3103)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

[root@pi1 ~]# smartctl -d sat -i /dev/sda 
smartctl 7.0 2018-12-30 r4883 [armv7l-linux-4.19.72-v7.1.el7] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel S4510/S4610/S4500/S4600 Series SSDs
Device Model:     INTEL SSDSCKKB240G8
Serial Number:    PHYH9416026T240J
LU WWN Device Id: 5 5cd2e4 1512b2c3f
Firmware Version: XC311102
User Capacity:    240,057,409,536 bytes [240 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      M.2
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Nov 27 21:13:43 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

please let me know if I can provide additional information.

Change History (4)

comment:1 by Christian Franke, 5 years ago

Keywords: usb added
Milestone: Release 7.1

Please also provide a smartctl -d sat -x ... output to check whether ATA output registers and 48-bit ATA commands work.

comment:2 by mafalb, 5 years ago

[root@pi1 ~]# smartctl -d sat -x /dev/sda 
smartctl 7.0 2018-12-30 r4883 [armv7l-linux-4.19.72-v7.1.el7] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel S4510/S4610/S4500/S4600 Series SSDs
Device Model:     INTEL SSDSCKKB240G8
Serial Number:    PHYH9416026T240J
LU WWN Device Id: 5 5cd2e4 1512b2c3f
Firmware Version: XC311102
User Capacity:    240,057,409,536 bytes [240 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      M.2
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Nov 28 21:46:01 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
DSN feature is:   Unavailable
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Unknown

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x02)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(   36) seconds.
Offline data collection
capabilities: 			 (0x79) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (   2) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  5 Reallocated_Sector_Ct   -O--CK   100   100   000    -    0
  9 Power_On_Hours          -O--CK   100   100   000    -    1
 12 Power_Cycle_Count       -O--CK   100   100   000    -    12
170 Available_Reservd_Space PO--CK   100   100   010    -    0
171 Program_Fail_Count      -O--CK   100   100   000    -    0
172 Erase_Fail_Count        -O--CK   100   100   000    -    0
174 Unsafe_Shutdown_Count   -O--CK   100   100   000    -    6
175 Power_Loss_Cap_Test     PO--CK   100   100   010    -    2175 (12 79)
183 SATA_Downshift_Count    -O--CK   100   100   000    -    0
184 End-to-End_Error_Count  PO--CK   100   100   090    -    0
187 Uncorrectable_Error_Cnt -O--CK   100   100   000    -    0
190 Drive_Temperature       -O---K   075   075   000    -    25 (Min/Max 15/25)
192 Unsafe_Shutdown_Count   -O--CK   100   100   000    -    6
194 Temperature_Celsius     -O---K   100   100   000    -    25
197 Pending_Sector_Count    -O--C-   100   100   000    -    0
199 CRC_Error_Count         -OSRCK   100   100   000    -    0
225 Host_Writes_32MiB       -O--CK   100   100   000    -    0
226 Workld_Media_Wear_Indic -O--CK   100   100   000    -    65535
227 Workld_Host_Reads_Perc  -O--CK   100   100   000    -    65535
228 Workload_Minutes        -O--CK   100   100   000    -    65535
232 Available_Reservd_Space PO--CK   100   100   010    -    0
233 Media_Wearout_Indicator -O--CK   100   100   000    -    0
234 Thermal_Throttle_Status -O--CK   100   100   000    -    0/0
235 Power_Loss_Cap_Test     PO--CK   100   100   010    -    2175 (12 79)
241 Host_Writes_32MiB       -O--CK   100   100   000    -    0
242 Host_Reads_32MiB        -O--CK   100   100   000    -    14387
243 NAND_Writes_32MiB       -O--CK   100   100   000    -    75
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      8  Comprehensive SMART error log
0x03       GPL     R/O     20  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      2  Extended self-test log
0x08       GPL     R/O      2  Power Conditions log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  NCQ Command Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x24       GPL     R/O  63184  Current Device Internal Status Data log
0x25       GPL     R/O  63184  Saved Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xb8       GPL,SL  VS       1  Device vendor specific log
0xb9       GPL     VS    3336  Device vendor specific log
0xb9       SL      VS       8  Device vendor specific log
0xba       GPL     VS    1280  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      8  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (20 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (2 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%         0         -
# 2  Extended offline    Completed without error       00%         0         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

SCT Status Version:                  3
SCT Version (vendor specific):       1 (0x0001)
Device State:                        Active (0)
Current Temperature:                    25 Celsius
Power Cycle Min/Max Temperature:     15/25 Celsius
Lifetime    Min/Max Temperature:     12/36 Celsius
Specified Max Operating Temperature:    73 Celsius
Under/Over Temperature Limit Count:   0/0
Vendor specific:
00 00 2c 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/73 Celsius
Min/Max Temperature Limit:            0/73 Celsius
Temperature History Size (Index):    478 (91)

Index    Estimated Time   Temperature Celsius
  92    2019-11-28 13:49     ?  -
 ...    ..(384 skipped).    ..  -
 477    2019-11-28 20:14     ?  -
   0    2019-11-28 20:15    34  ***************
   1    2019-11-28 20:16    34  ***************
   2    2019-11-28 20:17     ?  -
   3    2019-11-28 20:18    33  **************
   4    2019-11-28 20:19     ?  -
   5    2019-11-28 20:20    25  ******
   6    2019-11-28 20:21    27  ********
   7    2019-11-28 20:22    29  **********
   8    2019-11-28 20:23    31  ************
   9    2019-11-28 20:24    31  ************
  10    2019-11-28 20:25    31  ************
  11    2019-11-28 20:26    34  ***************
  12    2019-11-28 20:27    33  **************
  13    2019-11-28 20:28    34  ***************
  14    2019-11-28 20:29    34  ***************
  15    2019-11-28 20:30    34  ***************
  16    2019-11-28 20:31    35  ****************
  17    2019-11-28 20:32    35  ****************
  18    2019-11-28 20:33    36  *****************
  19    2019-11-28 20:34    36  *****************
  20    2019-11-28 20:35     ?  -
  21    2019-11-28 20:36    24  *****
  22    2019-11-28 20:37    27  ********
  23    2019-11-28 20:38    28  *********
  24    2019-11-28 20:39    29  **********
  25    2019-11-28 20:40    30  ***********
  26    2019-11-28 20:41    31  ************
  27    2019-11-28 20:42    32  *************
  28    2019-11-28 20:43    33  **************
  29    2019-11-28 20:44    34  ***************
  30    2019-11-28 20:45    34  ***************
  31    2019-11-28 20:46    35  ****************
  32    2019-11-28 20:47    35  ****************
  33    2019-11-28 20:48    36  *****************
  34    2019-11-28 20:49    36  *****************
  35    2019-11-28 20:50     ?  -
  36    2019-11-28 20:51    22  ***
  37    2019-11-28 20:52    25  ******
  38    2019-11-28 20:53    26  *******
  39    2019-11-28 20:54    27  ********
  40    2019-11-28 20:55    28  *********
  41    2019-11-28 20:56    29  **********
  42    2019-11-28 20:57    29  **********
  43    2019-11-28 20:58    30  ***********
  44    2019-11-28 20:59    30  ***********
  45    2019-11-28 21:00    31  ************
  46    2019-11-28 21:01     ?  -
  47    2019-11-28 21:02    28  *********
  48    2019-11-28 21:03    30  ***********
  49    2019-11-28 21:04    30  ***********
  50    2019-11-28 21:05    31  ************
  51    2019-11-28 21:06    32  *************
  52    2019-11-28 21:07    32  *************
  53    2019-11-28 21:08    32  *************
  54    2019-11-28 21:09    33  **************
  55    2019-11-28 21:10    33  **************
  56    2019-11-28 21:11    33  **************
  57    2019-11-28 21:12     ?  -
  58    2019-11-28 21:13    31  ************
  59    2019-11-28 21:14    32  *************
  60    2019-11-28 21:15    33  **************
 ...    ..(  2 skipped).    ..  **************
  63    2019-11-28 21:18    33  **************
  64    2019-11-28 21:19    34  ***************
 ...    ..(  2 skipped).    ..  ***************
  67    2019-11-28 21:22    34  ***************
  68    2019-11-28 21:23     ?  -
  69    2019-11-28 21:24    25  ******
  70    2019-11-28 21:25    27  ********
  71    2019-11-28 21:26    29  **********
  72    2019-11-28 21:27    29  **********
  73    2019-11-28 21:28    30  ***********
  74    2019-11-28 21:29    31  ************
  75    2019-11-28 21:30    31  ************
  76    2019-11-28 21:31    32  *************
  77    2019-11-28 21:32    32  *************
  78    2019-11-28 21:33    33  **************
  79    2019-11-28 21:34     ?  -
  80    2019-11-28 21:35    25  ******
  81    2019-11-28 21:36    28  *********
  82    2019-11-28 21:37    29  **********
  83    2019-11-28 21:38    30  ***********
  84    2019-11-28 21:39    30  ***********
  85    2019-11-28 21:40    31  ************
  86    2019-11-28 21:41    32  *************
  87    2019-11-28 21:42    32  *************
  88    2019-11-28 21:43    33  **************
  89    2019-11-28 21:44    33  **************
  90    2019-11-28 21:45     ?  -
  91    2019-11-28 21:46    24  *****

SMART WRITE LOG does not return COUNT and LBA_LOW register
SCT (Get) Error Recovery Control command failed

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 2) ==
0x01  0x008  4              12  ---  Lifetime Power-On Resets
0x01  0x018  6               0  ---  Logical Sectors Written
0x01  0x020  6         7815836  ---  Number of Write Commands
0x01  0x028  6       942898079  ---  Logical Sectors Read
0x01  0x030  6        12068720  ---  Number of Read Commands
0x01  0x038  6         4767996  ---  Date and Time TimeStamp
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              25  ---  Current Temperature
0x05  0x010  1               -  ---  Average Short Term Temperature
0x05  0x018  1               -  ---  Average Long Term Temperature
0x05  0x020  1              34  ---  Highest Temperature
0x05  0x028  1              31  ---  Lowest Temperature
0x05  0x030  1               -  ---  Highest Average Short Term Temperature
0x05  0x038  1               -  ---  Lowest Average Short Term Temperature
0x05  0x040  1               -  ---  Highest Average Long Term Temperature
0x05  0x048  1               -  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              73  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4               0  ---  Number of Hardware Resets
0x06  0x010  4               0  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
0x07  =====  =               =  ===  == Solid State Device Statistics (rev 1) ==
0x07  0x008  1               0  ---  Percentage Used Endurance Indicator
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

Pending Defects log (GP Log 0x0c) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  4            0  Command failed due to ICRC error
0x0002  4            0  R_ERR response for data FIS
0x0003  4            0  R_ERR response for device-to-host data FIS
0x0004  4            0  R_ERR response for host-to-device data FIS
0x0005  4            0  R_ERR response for non-data FIS
0x0006  4            0  R_ERR response for device-to-host non-data FIS
0x0007  4            0  R_ERR response for host-to-device non-data FIS
0x000a  4            1  Device-to-host register FISes sent due to a COMRESET
0x000b  4            0  CRC errors within host-to-device FIS
0x000d  4            0  Non-CRC errors within host-to-device FIS

comment:3 by Christian Franke, 5 years ago

Owner: set to Christian Franke
Status: newaccepted

comment:4 by Christian Franke, 5 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.