#298 closed defect (fixed)

[patch] Fix for Seagate drives in drivedb.h

Reported by: seanprees Owned by: chrfranke
Priority: minor Milestone: Release 6.3
Component: drivedb Version: 6.2
Keywords: Cc: cjmayo, cybermcm@…, dscharrer

Description

I've a Seagate ST2000DM001-1CH164 and it generates the following warning from smartd and smartctl:
ep 29 11:46:00 freyr smartd[1093]: Device: /dev/ada5, WARNING: A firmware update for this drive may be available,
Sep 29 11:46:00 freyr smartd[1093]: see the following Seagate web pages:
Sep 29 11:46:00 freyr smartd[1093]: http://knowledge.seagate.com/articles/en_US/FAQ/207931en
Sep 29 11:46:00 freyr smartd[1093]: http://knowledge.seagate.com/articles/en_US/FAQ/223651en

Having a look at the second link, the firmware update only applies to a specific part number (9YN166 and friends). My drive is a ST2000DM001-1CH164 (part 1CH164) and is up-to-date according to Seagate. Currently using smartmontools 6.2.

I've modified drivedb.h in order to accommodate, see attached patch.

Attachments (1)

seagate-1ch1.patch (1.1 KB) - added by seanprees 14 months ago.
Diff to drivedb.h. Restricts the warning message for the firmware update to 9YN1.* drives and adds a specific definition for 1CH1.* drives. A good enhancement might be to make the 1CH1 entry generic.

Download all attachments as: .zip

Change History (7)

Changed 14 months ago by seanprees

Diff to drivedb.h. Restricts the warning message for the firmware update to 9YN1.* drives and adds a specific definition for 1CH1.* drives. A good enhancement might be to make the 1CH1 entry generic.

comment:1 Changed 14 months ago by chrfranke

  • Component changed from all to drivedb
  • Milestone set to Release 6.3
  • Owner changed from somebody to chrfranke
  • Priority changed from major to minor
  • Status changed from new to accepted

Please attach a sample "smartctl -x" output of this drive.

comment:2 Changed 14 months ago by seanprees

Note, this is with the patched drivedb.h.

[root@freyr]# smartctl -x /dev/ada4
smartctl 6.2 2013-07-26 r3841 [FreeBSD 9.2-RC4 amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-1CH164
Serial Number:    S1E1A00B
LU WWN Device Id: 5 000c50 05bd91a24
Firmware Version: CC24
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Sep 29 18:05:16 2013 IST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM level is:     128 (minimum power consumption without standby)
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, NOT FROZEN [SEC1]
(pass4:ahcich4:0:0:0): SMART. ACB: b0 d6 e0 4f c2 40 00 00 00 00 01 00
(pass4:ahcich4:0:0:0): CAM status: ATA Status Error
(pass4:ahcich4:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT )
(pass4:ahcich4:0:0:0): RES: 51 04 00 00 00 00 00 00 00 10 00
Write SCT (Get) XXX Error Recovery Control Command failed: Input/output error
Wt Cache Reorder: N/A

=== 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.
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: 		(  575) seconds.
Offline data collection
capabilities: 			 (0x73) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					No 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: 	 ( 223) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3085)	SCT Status supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR--   117   099   006    -    122179888
  3 Spin_Up_Time            PO----   097   096   000    -    0
  4 Start_Stop_Count        -O--CK   100   100   020    -    10
  5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
  7 Seek_Error_Rate         POSR--   075   060   030    -    34506081
  9 Power_On_Hours          -O--CK   095   095   000    -    4382
 10 Spin_Retry_Count        PO--C-   100   100   097    -    0
 12 Power_Cycle_Count       -O--CK   100   100   020    -    9
183 Runtime_Bad_Block       -O--CK   100   100   000    -    0
184 End-to-End_Error        -O--CK   100   100   099    -    0
187 Reported_Uncorrect      -O--CK   100   100   000    -    0
188 Command_Timeout         -O--CK   100   100   000    -    0 0 0
189 High_Fly_Writes         -O-RCK   100   100   000    -    0
190 Airflow_Temperature_Cel -O---K   068   060   045    -    32 (Min/Max 24/38)
191 G-Sense_Error_Rate      -O--CK   100   100   000    -    0
192 Power-Off_Retract_Count -O--CK   100   100   000    -    6
193 Load_Cycle_Count        -O--CK   075   075   000    -    51423
194 Temperature_Celsius     -O---K   032   040   000    -    32 (0 21 0 0 0)
197 Current_Pending_Sector  -O--C-   100   100   000    -    0
198 Offline_Uncorrectable   ----C-   100   100   000    -    0
199 UDMA_CRC_Error_Count    -OSRCK   200   200   000    -    0
240 Head_Flying_Hours       ------   100   253   000    -    1683h+36m+08.385s
241 Total_LBAs_Written      ------   100   253   000    -    2134540168
242 Total_LBAs_Read         ------   100   253   000    -    12458221982
                            ||||||_ 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      5  Comprehensive SMART error log
0x03       GPL     R/O      5  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test 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
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa1       GPL,SL  VS      20  Device vendor specific log
0xa2       GPL     VS    4496  Device vendor specific log
0xa8       GPL,SL  VS     129  Device vendor specific log
0xa9       GPL,SL  VS       1  Device vendor specific log
0xab       GPL     VS       1  Device vendor specific log
0xb0       GPL     VS    5176  Device vendor specific log
0xbd       GPL     VS     512  Device vendor specific log
0xbe-0xbf  GPL     VS   65535  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL,SL  VS      10  Device vendor specific log
0xc4       GPL,SL  VS       5  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

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

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%      4322         -
# 2  Extended offline    Completed without error       00%      4177         -
# 3  Extended offline    Completed without error       00%      4010         -
# 4  Extended offline    Completed without error       00%      3841         -
# 5  Extended offline    Completed without error       00%      3673         -
# 6  Extended offline    Completed without error       00%      3505         -
# 7  Extended offline    Completed without error       00%      3337         -
# 8  Extended offline    Completed without error       00%      3177         -
# 9  Extended offline    Completed without error       00%      3009         -
#10  Extended offline    Completed without error       00%      2841         -
#11  Extended offline    Completed without error       00%      2673         -
#12  Extended offline    Completed without error       00%      2515         -
#13  Extended offline    Completed without error       00%      2347         -
#14  Extended offline    Completed without error       00%      2179         -
#15  Extended offline    Completed without error       00%      2011         -
#16  Extended offline    Completed without error       00%      1843         -
#17  Extended offline    Completed without error       00%      1675         -
#18  Extended offline    Completed without error       00%      1507         -
#19  Extended offline    Completed without error       00%      1339         -

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 Data Table command not supported

SCT Error Recovery Control command not supported

Device Statistics (GP Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x000a  2           24  Device-to-host register FISes sent due to a COMRESET
0x0001  2            0  Command failed due to ICRC error
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS

comment:3 Changed 13 months ago by cjmayo

  • Cc cjmayo added

comment:4 Changed 12 months ago by cybermcm

  • Cc cybermcm@… added

comment:5 Changed 12 months ago by dscharrer

  • Cc dscharrer added

comment:6 Changed 12 months ago by chrfranke

  • Resolution set to fixed
  • Status changed from accepted to closed

r3860. Please update drivedb.h and test.

Note: See TracTickets for help on using tickets.