Subject: kern/24094: pciide broken on Compaq Armada 1110
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/14/2004 18:46:06
>Number:         24094
>Category:       kern
>Synopsis:       pciide broken on Compaq Armada 1110
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 14 18:47:00 UTC 2004
>Originator:     Sascha Wilde
>Release:        NetBSD 1.6.2_RC3
NetBSD schleppy 1.6.2_RC3 NetBSD 1.6.2_RC3 (SCHLEPPY) #0: Wed Jan  7 21:10:35 CE                            T 2004     wilde@kenny:/usr/src/sys/arch/i386/compile/SCHLEPPY i386

Starting with NetBSD 1.5.x the pciide driver stoped working on my Compaq Armada 1110, the last working Version i tried was NetBSD 1.4.2, dmesg snippet:

| pci0 at mainbus0 bus 0: configuration mode 1
| pci0: i/o enabled, memory enabled
| pchb0 at pci0 dev 0 function 0
| pchb0: Opti 82C557 (rev. 0x14)
| pcib0 at pci0 dev 1 function 0
| pcib0: Opti 82C558 (rev. 0x02)
| vga1 at pci0 dev 2 function 0: Cirrus Logic CL-GD7543 (rev. 0x00)
| wsdisplay0 at vga1: console (80x25, vt100 emulation)
| pciide0 at pci0 dev 20 function 0: Opti 82C621 (rev. 0x12)
| pciide0: bus-master DMA support present, but unused (no driver
| support)
| pciide0: primary channel wired to compatibility mode
| pciide0: primary channel interrupting at irq 14
| wd0 at pciide0 channel 0 drive 0: <ST9810AG>
| wd0: drive supports 16-sector pio transfers, lba addressing
| wd0: 773MB, 1572 cyl, 16 head, 63 sec, 512 bytes/sect x 1584968
| sectors
| wd0: drive supports PIO mode 4, DMA mode 2

In all later Versions (including NetBSD 1.6.2 RC3) the pciide looses
its interrupt, detects an error, trys to "repair it" and repeats so
for nearly each and every block it trys to read. (This is a dump from
Memory).  This misbehavior damages the file-system unrecoverable   
(thats why I have no logs, sorry) -- I had to reinstall the system
from scratch.

Find an old Armada 1110...   ;-)
I don't know if the problem occures on any other Hardware.
No fix, but workaround:  a Kernel with only isa support (like NetBSD 1.6.2 RC3 GENERIC_TINY) works without problems.