Discussion:
[smartmontools-support] peculiar output with JMicron sata/usb bridge
b***@bitrate.net
2013-01-13 01:52:59 UTC
Permalink
hi-
smartctl -a /dev/sdb
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.5.0-17-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.11
Device Model: ST3750330AS
Serial Number: 5QK042GB
Firmware Version: 0958
User Capacity: 750,156,374,016 bytes [750 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Thu Jan 10 22:14:01 2013 EST
==> WARNING: There are known problems with these drives,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/207951en
http://knowledge.seagate.com/articles/en_US/FAQ/207957en
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
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.
SMART Error Log not supported
SMART Self-test Log not supported
Device does not support Selective Self Tests/Logging

note "Firmware Version: 0958", "Auto Offline Data Collection: Disabled", and the truncated/incomplete output

what's interesting is that this appears to be related to the order in which the disks are enumerated. even though there are 3 different models of disk in this group of four, whichever disk is enumerated first suffers from this peculiar smartctl output. in my particular case, they enumerate from top to bottom in the enclosure, so whichever disk is the topmost disk suffers from this - even if i leave the top bay empty, and include only three disks in the enclosure.

having experimented with different ordering, and with another single usb -> sata adapter [vantec], i'm fairly confident that this smartctl output is erroneous in some capacity. each of the four disks will correctly report their various info, including the proper/confirmed firmware version, auto offline data collection, and complete smartctl output - as long as the disk is not first in enumeration, or is connected to the vantec single usb -> sata adapter. additionally, having just updated the firmware on all of these disks, i know with certainty what firmware revision is on each - none of which are "0958".
smartctl -a /dev/sdc
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.5.0-17-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.11
Device Model: ST3750330AS
Serial Number: 5QK042GB
LU WWN Device Id: 5 000c50 00838a648
Firmware Version: SD1A
User Capacity: 750,156,374,016 bytes [750 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Thu Jan 10 22:25:07 2013 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
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: ( 634) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off 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: ( 174) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103b) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 112 099 006 Pre-fail Always - 67235
3 Spin_Up_Time 0x0003 093 093 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 62
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 065 055 030 Pre-fail Always - 12896954537
9 Power_On_Hours 0x0032 095 095 000 Old_age Always - 5164
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 62
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 099 000 Old_age Always - 8590065667
189 High_Fly_Writes 0x003a 099 099 000 Old_age Always - 1
190 Airflow_Temperature_Cel 0x0022 067 046 045 Old_age Always - 33 (Min/Max 32/33)
194 Temperature_Celsius 0x0022 033 054 000 Old_age Always - 33 (0 19 0 0 0)
195 Hardware_ECC_Recovered 0x001a 022 015 000 Old_age Always - 67235
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]

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.
smartctl -a /dev/sdb
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.5.0-17-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Hitachi Ultrastar A7K1000
Device Model: Hitachi HUA721075KLA330
Serial Number: GTE200P8GBGHZE
Firmware Version: 0958
User Capacity: 750,156,374,016 bytes [750 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Thu Jan 10 22:26:00 2013 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
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.
SMART Error Log not supported
SMART Self-test Log not supported
Device does not support Selective Self Tests/Logging

same peculiar firmware and accompanying characteristics.
smartctl --offlineauto=on /dev/sdb
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.5.0-17-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
Warning: device does not support SMART Automatic Timers.
Error SMART Enable Automatic Offline failed: scsi error medium or hardware error (serious)
Smartctl: SMART Enable Automatic Offline Failed.
smartctl --offlineauto=on /dev/sdc
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.5.0-17-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Automatic Offline Testing Enabled every four hours.
lsusb -vs '002:008'
Bus 002 Device 008: ID 152d:0551 JMicron Technology Corp. / JMicron USA Technology Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x152d JMicron Technology Corp. / JMicron USA Technology Corp.
idProduct 0x0551
bcdDevice 1.00
iManufacturer 1 JMicron
iProduct 2 USB to ATA/ATAPI Bridge
iSerial 5 E2008BEFFFFF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 USB Mass Storage
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 6 MSC Bulk-Only Transfer
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
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: 0x0001
Self Powered

for reference, this behavior is consistent in ubuntu 12.10/i386, 11.10/i386, and 12.10/amd64, and is also observed when this enclosure is connected via esata rather than usb. i'm wondering what i might be able to do to further troubleshoot this, and determine more specifically what is happening. i see from various references on the smartmontools web pages that bridges like this are often not terribly reliable in terms of smart support, so wondered if that might simply be the case here, or if there might be something unique to this particular scenario which could be accommodated.

thanks
-ben
Christian Franke
2013-01-14 21:15:38 UTC
Permalink
Please attach(!) the smartctl debug output for the device with bogus output:
# smartctl -r ioctl,2 -a ...
Post by b***@bitrate.net
lsusb -vs '002:008'
idVendor 0x152d JMicron Technology Corp. / JMicron USA Technology Corp.
idProduct 0x0551
We already got a positive test report for a similar device with same USB ID:
http://sourceforge.net/apps/trac/smartmontools/ticket/95

This may be a USB bridge firmware issue.

Thanks,
Christian
b***@bitrate.net
2013-01-15 02:41:02 UTC
Permalink
Post by Christian Franke
# smartctl -r ioctl,2 -a ...
thanks, please see attached.

-ben
Christian Franke
2013-01-17 20:16:02 UTC
Permalink
Post by b***@bitrate.net
Post by Christian Franke
# smartctl -r ioctl,2 -a ...
thanks, please see attached.
===== [SMART READ ATTRIBUTE VALUES] DATA START (BASE-16) =====
000-015: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...
...
496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...
===== [SMART READ ATTRIBUTE VALUES] DATA END (512 Bytes) =====
The USB bridge does not return any useful SMART data. This is likely a
firmware issue.

Thanks,
Christian
b***@bitrate.net
2013-01-19 17:46:49 UTC
Permalink
Post by Christian Franke
Post by b***@bitrate.net
Post by Christian Franke
# smartctl -r ioctl,2 -a ...
thanks, please see attached.
===== [SMART READ ATTRIBUTE VALUES] DATA START (BASE-16) =====
000-015: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...
...
496-511: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...
===== [SMART READ ATTRIBUTE VALUES] DATA END (512 Bytes) =====
The USB bridge does not return any useful SMART data. This is likely a
firmware issue.
thanks for taking the time to look at this. so if i might summarize - the usb bridge [or some component within the drive enclosure] is able to return useful smart data, but for whatever reason [e.g. firmware issue], not for the "first" device?

i imagine my expectations should likely be low, but i'll see [if for no other reason than due diligence] if the manufacturer has any interest in this issue.

thanks
-ben

Loading...