From: Anand Sivaram on
On Thu, Jun 3, 2010 at 21:24, Daniel Barclay <daniel(a)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 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
> --
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
> Archive: http://lists.debian.org/4C07D027.9020203(a)fgm.com
>
>
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.
From: Ralph Katz on
On 06/03/2010 12:48 PM, Anand Sivaram wrote:
>
>
> On Thu, Jun 3, 2010 at 21:24, Daniel Barclay <daniel(a)fgm.com
> <mailto:daniel(a)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(a)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.




--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C07E7B2.6050701(a)rcn.com
From: Jochen Schulz on
Ralph Katz:
>
> 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

Which IDE controller? The controller I had problems with was:

00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)

J.
--
I have never been happier than I am now; a fact which depresses me
immensely.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
From: Ralph Katz on
On 06/03/2010 01:45 PM, Jochen Schulz wrote:
> Ralph Katz:
>> 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
>
> Which IDE controller? The controller I had problems with was:
>
> 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
>
> J.

Where would I find it? You think those errors could come from the
controller?
There is probing but no results like you posted. I only see this is
/var/log/* :

Jun 2 08:22:13 spike kernel: [ 2.887681] Uniform Multi-Platform
E-IDE driver
Jun 2 08:22:13 spike kernel: [ 2.887695] ide: Assuming 33MHz system
bus speed for PIO modes; override with idebus=xx
Jun 2 08:22:13 spike kernel: [ 2.912223] ICH2: IDE controller
(0x8086:0x244b rev 0x12) at PCI slot 0000:00:1f.1
Jun 2 08:22:13 spike kernel: [ 2.912255] ICH2: not 100% native mode:
will probe irqs later
Jun 2 08:22:13 spike kernel: [ 2.912277] ide0: BM-DMA at
0xffa0-0xffa7
Jun 2 08:22:13 spike kernel: [ 2.912295] ide1: BM-DMA at
0xffa8-0xffaf
Jun 2 08:22:13 spike kernel: [ 2.912304] Probing IDE interface ide0...
Jun 2 08:22:13 spike kernel: [ 3.200226] hda: WDC WD1200JB-00EVA0,
ATA DISK drive

Thanks,
Ralph


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C081118.5080804(a)rcn.com
From: Jochen Schulz on
Ralph Katz:
> On 06/03/2010 01:45 PM, Jochen Schulz wrote:
>>
>> Which IDE controller? The controller I had problems with was:
>>
>> 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
>
> Where would I find it?

Just run lspci.

> You think those errors could come from the
> controller?

Yes and no. As far as I understand, it was the kernel having
difficulties with that controller. But as I wrote, I don't know the
specifics anymore. I just remember that I blamed the disk at first, but
a replacement drive showed the same symptoms.

You can easily rule this out by adding backports.org to your
sources.list and trying their kernel.

J.
--
When standing at the top of beachy head I find the rocks below very
attractive.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>