Re: Serial ATA (SATA) for Linux status report

From: Martin Schlemmer
Date: Sun Jan 18 2004 - 07:32:32 EST


On Thu, 2004-01-15 at 02:41, Jeff Garzik wrote:
> I'm pretty sure the "excessive interrupts" issue was successfully
> tracked down by Jon Burgess (thanks!). He found this post describing an
> ICH5 hardware issue,
> http://www.mail-archive.com/freebsd-stable@xxxxxxxxxxx/msg58421.html
>
> and he also submitted the attached patch.
>
> I've been meaning to rewrite his patch to isolate it more to ata_piix,
> but in the meantime maybe folks could test this?
>

I have an Asus P4C800-E Deluxe, with two drivers on the ICH5 sata
controllers. It is a 3Ghz cpu using HT.

I use the normal PIIX ide drivers for the pata channels, and libata for
the sata ones. I also use the vector based interrupts. Kernel is
2.6.1-bk4.

Anyhow, I do not think the interrupt count is _that_ high, as it shares
with usb and network and I cannot complain of problems with cdrom, etc,
but I decided to try the patch anyhow. It have some interesting results
though. First, network stops responding after a few minutes of uptime
(especially easy to reproduce if you have heavy network traffic), then
for some reason you cannot start a new program/login/etc, but those
running seems Ok, and lastly X becomes totally unresponsive (although
alt-sysrq-b still do work).

--
# cat /proc/interrupts
CPU0 CPU1
0: 29703539 29690292 IO-APIC-edge timer
2: 0 0 XT-PIC cascade
8: 2 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
14: 564 210 IO-APIC-edge ide0
15: 1 0 IO-APIC-edge ide1
169: 1049180 1055746 IO-APIC-level libata, uhci_hcd, eth0
177: 39519 37904 IO-APIC-level Intel ICH5
185: 2521873 2494269 IO-APIC-level uhci_hcd, uhci_hcd, nvidia
193: 0 0 IO-APIC-level uhci_hcd
201: 0 0 IO-APIC-level ehci_hcd
NMI: 0 0
LOC: 59387583 59387287
ERR: 0
MIS: 0
--

--
Martin Schlemmer

Attachment: signature.asc
Description: This is a digitally signed message part