Re: Disk problems or worse?
On 06/03/2010 12:48 PM, Anand Sivaram wrote:
>
>
> On Thu, Jun 3, 2010 at 21:24, Daniel Barclay <daniel@fgm.com
> <mailto:daniel@fgm.com>> wrote:
>
> Ralph,
>
> Jochen Schulz wrote:
>
> Ralph Katz:
>
> Lenny install on newly acquired used Dell hangs and throws
> errors to
> syslog. Do I have two bad disks or a more serious hardware
> problem?
>
>
> Another option: it might be a kernel problem. I don't remember the
> specifics anymore, but on one of my systems I had similar
> errors. After
> replacing the disk and still getting these errors, I found hints
> that
> the kernel might be at fault. I then installed a newer kernel from
> backports.org <http://backports.org> and the problems went away.
>
>
> What processor and chipset does your motherboard use?
>
> Do you get
>
> Does changing your IDE/ATA controllers from DMA mode to PIO
> mode stop the message?
>
>
> (I had similar problems (got similar log message) with a dual-processor
> AMD Athlon MP board. Apparently, the AMD chipset apparently had some
> bug, the Linux didn't work around that particular bug, and the kernel's
> IDE DMA code (or maybe filesystem code) wasn't very robust--it didn't
> retry an operation that failed because of a detected DMA timeout,
> and it didn't even detect that the operation failed and stop (panic
> or something) before things (disk and filesystem state) became
> inconsistent.)
>
>
> Daniel
>
>
> Install the smartmontools for hard disk. This could tell you in case
> any real problems with your harddisk.
> smartctl -a /dev/hda (for ide hardisk /dev/hda)
> smartctl -d ata -a /dev/sda (for sata harddisk /dev/sda)
> change your device names with the one in your case.
Thanks for the replies to date.
As mentioned in the original post, disk PASSED SMART tests, and computer
is a P4.
Intel(R) Pentium(R) 4 CPU 1.70GHz single processor
hda: UDMA/100 mode selected
There are no sounds from the disk.
As requested, output from smartctl -a /dev/hda is below. The following
errors from this morning were in syslog prior to the most recent Smart
long self test:
Jun 3 08:09:52 spike kernel: [ 417.872025] hda: dma_timer_expiry: dma
status == 0x21
Jun 3 08:33:17 spike smartd[2357]: Device: /dev/hda, SMART Usage
Attribute: 196 Reallocated_Event_Count changed from 191 to 190
Jun 3 09:03:14 spike smartd[2357]: Device: /dev/hda, SMART Prefailure
Attribute: 7 Seek_Error_Rate changed from 100 to 200
ralph@spike ~$ sudo smartctl -a /dev/hda
[sudo] password for ralph:
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar SE family
Device Model: WDC WD1200JB-00EVA0
Serial Number: WD-WCAEK1690109
Firmware Version: 15.05R15
User Capacity: 120,034,123,776 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Thu Jun 3 13:29:56 2010 EDT
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: (0x85) Offline data collection activity
was aborted by an interrupting
command from host.
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: (3999) seconds.
Offline data collection
capabilities: (0x79) SMART execute Offline immediate.
No Auto Offline data collection
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.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 55) minutes.
Conveyance self-test routine
recommended polling time: ( 5) 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 200 200 051 Pre-fail Always
- 0
3 Spin_Up_Time 0x0007 146 143 021 Pre-fail Always
- 3225
4 Start_Stop_Count 0x0032 100 100 040 Old_age Always
- 95
5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always
- 10
7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail Always
- 0
9 Power_On_Hours 0x0032 083 083 000 Old_age Always
- 13118
10 Spin_Retry_Count 0x0013 100 253 051 Pre-fail Always
- 0
11 Calibration_Retry_Count 0x0013 100 253 051 Pre-fail Always
- 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always
- 95
194 Temperature_Celsius 0x0022 112 253 000 Old_age Always
- 38
196 Reallocated_Event_Count 0x0032 190 190 000 Old_age Always
- 10
197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0012 200 200 000 Old_age Always
- 0
199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x0009 200 155 051 Pre-fail
Offline - 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 Completed without error 00% 7
-
# 2 Short offline Completed without error 00% 1085
-
# 3 Short offline Completed without error 00% 1059
-
# 4 Extended offline Completed without error 00% 1012
-
# 5 Short offline Completed without error 00% 1011
-
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.
Reply to: