[smartmontools-support] JMicron JMS567 - not retrieving SMART data
Styx
styxmailbox-forum at yahoo.com
Wed Jan 3 05:04:28 CET 2018
Hi,
I have an Oyen Digital Mobius 5-bay RAID enclosure running on Debian
8.10 connected via USB 3.0
The enclosure has 2 WD Red NAS 4TB (WD40EFRX) in it and is configured in
JBOD mode.
From what I got, it seems the enclosure is using a JMicron JMS567
USB-SATA Bridge (http://www.jmicron.com/PDF/brief/jms567.pdf) combined
with a JMicron JMB394 RAID Port multiplier
(http://www.jmicron.com/PDF/brief/jmb394.pdf).
I found in the mailing list archive the following email:
https://sourceforge.net/p/smartmontools/mailman/message/32935671/ which
indicated that JMS567 seem to work find with smartctl when using the
"sat" driver.
So I tried to read the SMART data from my drives on the system, and
unfortunately I could not retrieve all the information I want,
especially the SMART attributes.
I would like to indicate first that, when I plug this enclosure to a
windows system, using the USB3.0 connection, I can read the smart data
using a tool named HDSentinel (https://www.hdsentinel.com/) and I do get
all the information, including attributes, temperature, ... . But when
I use smartmontools 6.6.1 on windows I cannot retrieve all the SMART
Data (no attribute, temperature, logs, ..), I actually get the exact
same errors as on Linux, which are the one you can see below.
So here are the different smartctl command I tried to run in order to
get the SMART Data (again, on Windows, i get the same outputs)
# smartctl -x /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.9.0-0.bpo.4-amd64] (local
build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Mobius DISK2
Serial Number: WD-WCC7K2YF4N0Y
Firmware Version: 0962
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Size: 512 bytes logical/physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Tue Jan 2 22:15:29 2018 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM level is: 1 (minimum power consumption with standby)
Rd look-ahead is: Disabled
Write cache is: Enabled
ATA Security is: Disabled, frozen [SEC2]
Wt Cache Reorder: Unavailable
=== 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: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection:
Disabled.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x00) Offline data collection
not supported.
SMART capabilities: (0x0000) Automatic saving of SMART
data is not implemented.
Error logging capability: (0x00) Error logging NOT supported.
No General Purpose Logging support.
Read SMART Log Directory failed: scsi error aborted command
ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: scsi error
aborted command
Read GP Log Directory failed
SMART Extended Comprehensive Error Log (GP Log 0x03) not supported
SMART Error Log not supported
SMART Extended Self-test Log (GP Log 0x07) not supported
SMART Self-test Log not supported
Selective Self-tests/Logging not supported
SCT Commands not supported
Device Statistics (GP/SMART Log 0x04) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
--------------------------------------
which gives actually the exact same result as smartctl -x -d sat
/dev/sdc as sat is apparently the default driver picked.
I also tried with different command pass-through size (12), but not
working either:
# smartctl -x -d sat,12 /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.9.0-0.bpo.4-amd64] (local
build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Mobius DISK2
Serial Number: WD-WCC7K2YF4N0Y
Firmware Version: 0962
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Size: 512 bytes logical/physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Tue Jan 2 22:17:03 2018 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM level is: 1 (minimum power consumption with standby)
Rd look-ahead is: Disabled
Write cache is: Enabled
ATA Security is: Disabled, frozen [SEC2]
Wt Cache Reorder: Unavailable
=== 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: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection:
Disabled.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x00) Offline data collection
not supported.
SMART capabilities: (0x0000) Automatic saving of SMART
data is not implemented.
Error logging capability: (0x00) Error logging NOT supported.
No General Purpose Logging support.
Read SMART Log Directory failed: scsi error aborted command
ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: 48-bit ATA
commands require SAT ATA PASS-THROUGH (16)
Read GP Log Directory failed
SMART Extended Comprehensive Error Log (GP Log 0x03) not supported
SMART Error Log not supported
SMART Extended Self-test Log (GP Log 0x07) not supported
SMART Self-test Log not supported
Selective Self-tests/Logging not supported
SCT Commands not supported
Device Statistics (GP/SMART Log 0x04) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
--------------------------------------
I finally tried with the usbjmicron driver, which did not work either:
# smartctl -x -d usbjmicron /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.9.0-0.bpo.4-amd64] (local
build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdc [USB JMicron] failed: No device connected
# smartctl -x -d usbjmicron,x /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.9.0-0.bpo.4-amd64] (local
build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdc [USB JMicron] failed: No device connected
# smartctl -x -d usbjmicron,p /dev/sdc
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.9.0-0.bpo.4-amd64] (local
build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error medium or hardware error (serious)
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
# smartctl -x -d usbjmicron,p /dev/sdc -T permissive
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.9.0-0.bpo.4-amd64] (local
build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error medium or hardware error (serious)
=== START OF INFORMATION SECTION ===
Device Model: [No Information Found]
Serial Number: [No Information Found]
Firmware Version: [No Information Found]
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: [No Information Found]
Local Time is: Tue Jan 2 22:19:35 2018 EST
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.
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
# smartctl -a -d usbjmicron,p /dev/sdc -T permissive
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.9.0-0.bpo.4-amd64] (local
build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error medium or hardware error (serious)
=== START OF INFORMATION SECTION ===
Device Model: ▒▒▒▒▒▒3▒▒▒▒▒▒3▒▒>
Serial Number: ▒3▒▒▒▒▒▒3▒▒▒▒▒▒3▒▒
Firmware Version: ▒▒▒@▒▒3
User Capacity: 127,429,771,264 bytes [127 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 3796 rpm
Form Factor: Unknown (0xad80)
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: Unknown(0x3cc0) (unknown minor revision code: 0x0ec3)
Local Time is: Tue Jan 2 22:19:56 2018 EST
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.
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
# smartctl -a -d usbjmicron,x,0 /dev/sdc -T permissive
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.9.0-0.bpo.4-amd64] (local
build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error medium or hardware error (serious)
=== START OF INFORMATION SECTION ===
Device Model: ▒▒
Serial Number: ▒3▒▒▒▒▒▒3▒▒
Firmware Version: ▒▒▒▒▒▒3
User Capacity: 138,622,173,184 bytes [138 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 3786 rpm
Form Factor: Unknown (0xca40)
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: Unknown(0x3c80) (unknown minor revision code: 0x0ecb)
Local Time is: Tue Jan 2 22:20:40 2018 EST
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.
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
--------------------------------------
So it seems that obviously something is not right when querying for the
SMART data.
--------------------------------------
Here some information about the system itself:
# uname -a
Linux omv 4.9.0-0.bpo.4-amd64 #1 SMP Debian 4.9.65-3+deb9u1~bpo8+1
(2017-12-23) x86_64 GNU/Linux
# lsblk
NAME MAJ:MIN RM SIZE RO
TYPE MOUNTPOINT
sdb 8:16 0 3.7T 0 disk
└─sdb1 8:17 0 3.7T 0 part
└─bcache0 254:0 0 3.7T 0 disk
├─mobius_4TB_data_vg-mobius_containerdata_lv 252:4 0 10G 0 lvm
/srv/dev-disk-by-label-containerdata
├─mobius_4TB_data_vg-mobius_userdata_lv 252:2 0 2T 0 lvm
/srv/dev-disk-by-label-userdata
└─mobius_4TB_data_vg-mobius_vmdata_lv 252:3 0 20G 0 lvm
/srv/dev-disk-by-label-vmdata
sdc 8:32 0 3.7T 0 disk
└─sdc1 8:33 0 3.7T 0 part
└─backup_vg-backup_lv 252:1 0 2T 0
lvm /srv/dev-disk-by-label-backup
sda 8:0 0 232.9G 0 disk
├─sda2 8:2 0 55.9G 0 part
│ └─ssd_vg-swap_lv 252:0 0 8G 0 lvm
[SWAP]
├─sda5 8:5 0 46.6G 0 part
│ └─bcache0 254:0 0 3.7T 0 disk
│ ├─mobius_4TB_data_vg-mobius_containerdata_lv 252:4 0 10G 0 lvm
/srv/dev-disk-by-label-containerdata
│ ├─mobius_4TB_data_vg-mobius_userdata_lv 252:2 0 2T 0 lvm
/srv/dev-disk-by-label-userdata
│ └─mobius_4TB_data_vg-mobius_vmdata_lv 252:3 0 20G 0 lvm
/srv/dev-disk-by-label-vmdata
├─sda3 8:3 0 1K 0 part
└─sda1 8:1 0 37.3G 0
part /
sdb and sdc are the 2 drives from the enclosure.
sda is an SSD and boot device, and also used as a cache device using
bcache (only /dev/sdb is a cache backing device - but I do not think it
has any relation with the issue with SMART data)
# lsusb
Bus 002 Device 002: ID 152d:0567 JMicron Technology Corp. / JMicron USA
Technology Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129
Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 5000M
|__ Port 3: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 7: Dev 2, If 0, Class=Vendor Specific Class,
Driver=rtsx_usb, 480M
|__ Port 9: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 9: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
# lsusb -d 152d:0567 -v
Bus 002 Device 002: ID 152d:0567 JMicron Technology Corp. / JMicron USA
Technology Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x152d JMicron Technology Corp. / JMicron USA
Technology Corp.
idProduct 0x0567
bcdDevice 3.22
iManufacturer 1 JMicron
iProduct 2 Mobius
iSerial 3 0123456789ABCDEF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
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 15
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 15
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
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
Device Status: 0x000d
Self Powered
U1 Enabled
U2 Enabled
dmesg entries related to the enclosure:
[ 2.965806] usb 2-3: New USB device found, idVendor=152d, idProduct=0567
[ 2.965807] usb 2-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 2.965808] usb 2-3: Product: Mobius
[ 2.965809] usb 2-3: Manufacturer: JMicron
[ 2.965810] usb 2-3: SerialNumber: 0123456789ABCDEF
[ 2.966150] device-mapper: uevent: version 1.0.3
[ 2.966232] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23)
initialised: dm-devel at redhat.com
[ 2.967315] usb-storage 2-3:1.0: USB Mass Storage device detected
[ 2.967384] usb-storage 2-3:1.0: Quirks match for vid 152d pid 0567:
5000000
[ 2.967397] scsi host6: usb-storage 2-3:1.0
[ 2.967448] usbcore: registered new interface driver usb-storage
[ 2.967676] usbcore: registered new interface driver uas
[...]
[ 3.973289] scsi 6:0:0:0: Direct-Access Mobius DISK1
0103 PQ: 0 ANSI: 6
[ 3.973442] scsi 6:0:0:1: Direct-Access Mobius DISK2
0103 PQ: 0 ANSI: 6
[ 3.973632] sd 6:0:0:0: Attached scsi generic sg1 type 0
[ 3.973952] sd 6:0:0:1: Attached scsi generic sg2 type 0
[ 3.973954] sd 6:0:0:0: [sdb] Very big device. Trying to use READ
CAPACITY(16).
[ 3.974541] sd 6:0:0:0: [sdb] 7814037168 512-byte logical blocks:
(4.00 TB/3.64 TiB)
[ 3.974542] sd 6:0:0:0: [sdb] 4096-byte physical blocks
[ 3.974656] sd 6:0:0:1: [sdc] Very big device. Trying to use READ
CAPACITY(16).
[ 3.974858] sd 6:0:0:0: [sdb] Write Protect is off
[ 3.974859] sd 6:0:0:0: [sdb] Mode Sense: 33 00 00 08
[ 3.974978] sd 6:0:0:1: [sdc] 7814037168 512-byte logical blocks:
(4.00 TB/3.64 TiB)
[ 3.974978] sd 6:0:0:1: [sdc] 4096-byte physical blocks
[ 3.975176] sd 6:0:0:0: [sdb] No Caching mode page found
[ 3.975180] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 3.975376] sd 6:0:0:1: [sdc] Write Protect is off
[ 3.975377] sd 6:0:0:1: [sdc] Mode Sense: 33 00 00 08
[ 3.975656] sd 6:0:0:1: [sdc] No Caching mode page found
[ 3.975658] sd 6:0:0:1: [sdc] Assuming drive cache: write through
[ 3.975778] sd 6:0:0:0: [sdb] Very big device. Trying to use READ
CAPACITY(16).
[ 3.976095] sd 6:0:0:1: [sdc] Very big device. Trying to use READ
CAPACITY(16).
[ 4.014973] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[ 4.040433] sdb: sdb1
[ 4.040880] sdc: sdc1
[ 4.041154] sd 6:0:0:0: [sdb] Very big device. Trying to use READ
CAPACITY(16).
[ 4.041276] sd 6:0:0:1: [sdc] Very big device. Trying to use READ
CAPACITY(16).
[ 4.042238] sd 6:0:0:1: [sdc] Attached SCSI disk
[ 4.042435] sd 6:0:0:0: [sdb] Attached SCSI disk
There are no error or suspicious logs in the system logs.
Let me know if there is any other information I can provide in order to
figure out the issue.
Thank you.
More information about the Smartmontools-support
mailing list