I keep getting hard drive errors in my kernel log/dmesg that have me worried. From /var/log/kernel/current:
Jan 13 11:42:31 [kernel] hda: dma_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } - Last output repeated 7 times - Jan 13 11:42:39 [kernel] hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=206696214, high=12, low=5369622, sector=206695927 Jan 13 11:42:39 [kernel] ide: failed opcode was: unknown Jan 13 11:42:40 [kernel] hda: dma_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } The drive is a 160 GB PATA Samsung. It's about two or three years old, running 24x7 (although lightly). The drive has three partitions, all are ext3. When I started seeing the above messages, I ran fsck.ext3 -f -v -c -c /dev/hda? on all three partitions. Note that the "-c" flag includes the bad blocks check. I also ran smartctl -t long /dev/hda On the drive. Apparently, an error was found (details below). I'm not sure if this drive is actually dying, though, as the following article (by the smartmontools author) suggests that one or two errors on a drive is nothing to worry about. Also, the SMART overall-health self-assessment test comes back as PASSED. http://www.linuxjournal.com/article/6983 But the constant kernel messages, along with the error in the "long" SMART test, concern me. At this point, I'm not really sure what my next steps should be, so I'm looking for any suggestions or advice. Thanks! Matt # smartctl -a /dev/hda smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: SAMSUNG SP1614N Serial Number: 0642J1FW903226 Firmware Version: TM100-24 User Capacity: 160,041,885,696 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0 Local Time is: Fri Jan 13 15:24:27 2006 CST 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. Self-test execution status: ( 245) Self-test routine in progress... 50% of test remaining. Total time to complete Offline data collection: (5760) seconds. Offline data collection capabilities: (0x1b) 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. No 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. No General Purpose Logging support. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 96) 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 0x000b 100 100 051 Pre-fail Always - 1 3 Spin_Up_Time 0x0007 061 061 000 Pre-fail Always - 6528 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 73 5 Reallocated_Sector_Ct 0x0033 253 253 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 253 253 051 Pre-fail Always - 0 8 Seek_Time_Performance 0x0024 253 253 000 Old_age Offline - 0 9 Power_On_Half_Minutes 0x0032 098 098 000 Old_age Always - 11505h+32m 10 Spin_Retry_Count 0x0013 253 253 049 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 50 194 Temperature_Celsius 0x0022 163 127 000 Old_age Always - 25 195 Hardware_ECC_Recovered 0x000a 100 100 000 Old_age Always - 265460048 196 Reallocated_Event_Count 0x0012 100 100 000 Old_age Always - 2 197 Current_Pending_Sector 0x0033 253 253 010 Pre-fail Always - 0 198 Offline_Uncorrectable 0x0031 100 100 010 Pre-fail Offline - 2 199 UDMA_CRC_Error_Count 0x000b 100 100 051 Pre-fail Always - 0 200 Multi_Zone_Error_Rate 0x000b 100 100 051 Pre-fail Always - 0 201 Soft_Read_Error_Rate 0x000b 100 100 051 Pre-fail Always - 0 SMART Error Log Version: 1 ATA Error Count: 1 CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 1 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 04 51 00 01 00 00 a0 Error: ABRT Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- b1 c0 00 01 00 00 a0 00 00:00:07.688 DEVICE CONFIGURATION RESTORE ec 00 03 01 00 00 a0 00 00:00:07.688 IDENTIFY DEVICE 91 00 3f 01 00 00 af 00 00:00:07.688 INITIALIZE DEVICE PARAMETERS [OBS-6] 10 00 00 01 00 00 a0 00 00:00:07.688 RECALIBRATE [OBS-4] ec 00 01 01 00 00 a0 00 00:00:07.688 IDENTIFY DEVICE SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 00% 11486 262886799 # 2 Short offline Completed without error 00% 11483 - Device does not support Selective Self Tests/Logging smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/ # smartctl -l selftest /dev/hda === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 00% 11486 262886799 # 2 Short offline Completed without error 00% 11483 - -- Matt Garman email at: http://raw-sewage.net/index.php?file=email -- gentoo-user@gentoo.org mailing list