From: Manfred S. <man...@gm...> - 2007-01-04 09:48:10
Attachments:
samsung3.patch
|
Hi, I ported my patch to deal with my buggy samsung disk foreward to smartmontools 5.37. Perhaps someone can use it. Summary: My Samsung SP2514N regularily gets stuck in long self-tests with the message "00% remaining", although the disk seems healthy. As smartd does not issue any new self-tests when other tests are pending, this blocks any further tests. Smartctl is not affected. This patch simply does prevent the skipping of new self-tests when the disk is at "00% remaining". This firmware bug workaround can be activated with "-F samsung3". No documentation so far. Regards, Manfred -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |
From: Christian F. <Chr...@t-...> - 2007-01-04 11:11:13
|
Manfred Schwarb wrote: > I ported my patch to deal with my buggy samsung disk foreward to > smartmontools 5.37. Perhaps someone can use it. Thanks for the patch. I will add some doc and check it in soon. Could you please send smartctl -a output for the drive(s) where -F samsung3 and possibly others flags are necessary. Then I can add an entry to the drive database. Cheers, Christian |
From: Manfred S. <man...@gm...> - 2007-01-04 11:32:26
|
-------- Original-Nachricht -------- Datum: Thu, 04 Jan 2007 12:10:54 +0100 Von: "Christian Franke" <Chr...@t-...> An: "Manfred Schwarb" <man...@gm...> Betreff: Re: [smartmontools-support] samsung3 firmwarebug-patch for 5.37 > Manfred Schwarb wrote: > > > I ported my patch to deal with my buggy samsung disk foreward to > > smartmontools 5.37. Perhaps someone can use it. > > Thanks for the patch. I will add some doc and check it in soon. > > Could you please send smartctl -a output for the drive(s) where -F > samsung3 and possibly others flags are necessary. Then I can add an > entry to the drive database. > here you are, thanks. > Cheers, > > Christian > > smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: SAMSUNG SpinPoint P120 series Device Model: SAMSUNG SP2514N Serial Number: XXXXXXXXXXXXXX Firmware Version: VF100-37 User Capacity: 250,059,350,016 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a Local Time is: Thu Jan 4 11:25:36 2007 UTC 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: ( 240) Self-test routine in progress... 00% of test remaining. Total time to complete Offline data collection: (4866) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No 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: ( 81) minutes. SMART Attributes Data Structure revision number: 16 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 100 100 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0007 100 100 025 Pre-fail Always - 6016 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 21 5 Reallocated_Sector_Ct 0x0033 253 253 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail Always - 0 8 Seek_Time_Performance 0x0025 253 253 015 Pre-fail Offline - 9891 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 6449 10 Spin_Retry_Count 0x0033 253 253 051 Pre-fail Always - 0 11 Calibration_Retry_Count 0x0012 253 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 14 187 Unknown_Attribute 0x0032 253 253 000 Old_age Always - 0 190 Temperature_Celsius 0x0022 142 091 000 Old_age Always - 32 194 Temperature_Celsius 0x0022 142 091 000 Old_age Always - 32 195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 558905527 196 Reallocated_Event_Count 0x0032 253 253 000 Old_age Always - 0 197 Current_Pending_Sector 0x0012 253 253 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 253 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always - 0 201 Soft_Read_Error_Rate 0x000a 100 100 000 Old_age Always - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Self-test routine in progress 00% 6385 - # 2 Short offline Completed without error 00% 6361 - # 3 Short offline Completed without error 00% 6192 - # 4 Short offline Completed without error 00% 6024 - # 5 Short offline Completed without error 00% 5855 - # 6 Short offline Completed without error 00% 5686 - # 7 Extended offline Self-test routine in progress 00% 5638 - # 8 Short offline Completed without error 00% 5518 - # 9 Short offline Completed without error 00% 5349 - #10 Short offline Completed without error 00% 5182 - #11 Short offline Completed without error 00% 5013 - #12 Extended offline Completed without error 00% 4917 - #13 Short offline Completed without error 00% 4845 - #14 Short offline Completed without error 00% 4676 - #15 Short offline Completed without error 00% 4508 - #16 Short offline Completed without error 00% 4339 - #17 Short offline Completed without error 00% 4171 - #18 Extended offline Self-test routine in progress 00% 4170 - #19 Short offline Completed without error 00% 4002 - #20 Short offline Completed without error 00% 3833 - #21 Short offline Completed without error 00% 3665 - SMART Selective Self-Test Log Data Structure Revision Number (0) should be 1 SMART Selective self-test log data structure revision number 0 Warning: ATA Specification requires 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. -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |
From: Christian F. <Chr...@t-...> - 2007-01-04 15:21:33
|
Manfred Schwarb wrote: > here you are, thanks. Checked in. I added doc, drivedb entry and extra message in smartctl. Thanks again, Christian |
From: Manfred S. <man...@gm...> - 2007-01-05 22:52:38
|
-------- Original-Nachricht -------- Datum: Thu, 04 Jan 2007 16:21:14 +0100 Von: "Christian Franke" <Chr...@t-...> An: "Manfred Schwarb" <man...@gm...> Betreff: Re: [smartmontools-support] samsung3 firmwarebug-patch for 5.37 > Manfred Schwarb wrote: > > > here you are, thanks. > > Checked in. I added doc, drivedb entry and extra message in smartctl. > > Thanks again, > installed, tested, works. Thanks! Manfred > Christian > > -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |