IDE Timeout problem on Intel PIIX3 (Triton 2) chipset

From: Patrick Dreker
Date: Mon Jun 28 2004 - 07:49:31 EST


Hello...

Any kernel above and including 2.4.21 (including 2.6.5 and 2.6.7, others not
tested) produces the following errors quite often (once or twice per minute,
with the corresponding delay) and the harddisk drops out of DMA.

-------------------------------------------------
hda: dma_timer_expiry: dma status == 0x20
hda: timeout waiting for DMA
hda: timeout waiting for DMA
hda: (__ide_dma_test_irq) called while not waiting
hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }

hda: drive not ready for command
-----------------------------------------------

I have checked that the drive and cable are OK (tested in another machine) and
no matter what drive I connect to the IDE controller, they *all* produce the
above error and drop DMA after some seconds.

Currently I am stuck at kernel version 2.4.20, as any later kernel severely
degrades the performance of the machine (Pentium Pro 200).

At http://www.uwsg.iu.edu/hypermail/linux/kernel/0304.1/0332.html I found a
thread which hints that IRQ sharing maybe the culprit, but /proc/interrupts
shows that the ide interrupt is not shared...

lspci and /proc/interrupts are included at the end of this mail.

What can I do to debug this problem?

Thanks,
Patrick

lspci:
-----------------------
0000:00:00.0 Host bridge: Intel Corp. 440FX - 82441FX PMC [Natoma] (rev 02)
0000:00:07.0 ISA bridge: Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II] (rev
01)
0000:00:07.1 IDE interface: Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II]
0000:00:0a.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2]
(rev 01)
0000:00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
0000:00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
--------------------------

/proc/interrupts:
-------------------------
CPU0
0: 55623224 IO-APIC-edge timer
1: 2 IO-APIC-edge keyboard
2: 0 XT-PIC cascade
8: 4 IO-APIC-edge rtc
10: 59404185 IO-APIC-level eth1
11: 64467911 IO-APIC-level eth0
14: 9031698 IO-APIC-edge ide0
NMI: 0
LOC: 55623074
ERR: 0
MIS: 13142
----------------------------

--
Patrick Dreker

GPG KeyID : 0xFCC2F7A7 (Patrick Dreker)
Fingerprint: 7A21 FC7F 707A C498 F370 1008 7044 66DA FCC2 F7A7
Key available from keyservers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/