Subject: DS10L -- missing IDE interrupts?
To: None <port-alpha@NetBSD.org>
From: Havard Eidnes <he@NetBSD.org>
List: port-alpha
Date: 12/24/2005 13:33:48
Hi,

I recently aquired a Compaq DS10L, and I've installed a new harddrive
and put it to use as bulk builder.  However, I notice that there
appears to be problems with the interrupts from the IDE controller.
I've swapped out the old 40p cable with an 80p one, but that didn't
make any difference, so I'm now running with PIO mode I/O to the IDE
drive.

I notice that it says

  aceride0: primary channel interrupting at isa irq 14

and

  aceride0: secondary channel interrupting at isa irq 15

during probing, but on first use, it says:

  stray isa irq 15
  stray isa irq 14
  stray isa irq 14
  stray isa irq 14
  stray isa irq 14
  stray isa irq 14; stopped logging

Is this a software issue?  (I suspect it is...)

Since it's currently doing bulk builds and I'm circa 900km away from
the machine, it's a little inconvenient for me to try to debug this
further right now, but it would be nice to have some hints so that I
can try to get it into better shape sometime after I return to work
just after New Year.

Output from dmesg follows below. =


Best regards,

- H=E5vard

------------------------------ =


Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200=
5
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 2.1 (TURBOT) #1: Thu Dec 15 10:30:49 CET 2005
	he@turbot.urc.uninett.no:/usr/obj/sys/arch/alpha/compile/TURBOT
COMPAQ AlphaServer DS10L 466 MHz, s/n ay01122910
8192 byte page size, 1 processor.
total memory =3D 1024 MB
(2832 KB reserved for PROM, 1021 MB used by NetBSD)
avail memory =3D 998 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264-4
cpu0: Architecture extensions: 303<PAT,MVI,FIX,BWX>
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 2 Dchips, 1 memory bus of 16 bytes
tsc0: arrays present: 1024MB (split), 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
sio0 at pci0 dev 7 function 0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc=
3)
tlp0 at pci0 dev 9 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at dec 6600 irq 29
tlp0: DEC, Ethernet address 08:00:2b:86:b8:2b
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci0 dev 11 function 0: DECchip 21143 Ethernet, pass 4.1
tlp1: interrupting at dec 6600 irq 30
tlp1: DEC, Ethernet address 08:00:2b:86:b8:57
tlp1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aceride0 at pci0 dev 13 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
aceride0: bus-master DMA support present
aceride0: primary channel wired to compatibility mode
aceride0: primary channel interrupting at isa irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel wired to compatibility mode
aceride0: secondary channel interrupting at isa irq 15
atabus1 at aceride0 channel 1
isp0 at pci0 dev 17 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at dec 6600 irq 47
scsibus0 at isp0: 16 targets, 8 luns per target
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
stray isa irq 15
stray isa irq 14
stray isa irq 14
stray isa irq 14
stray isa irq 14
stray isa irq 14; stopped logging
wd0 at atabus0 drive 0: <ST3200822A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 se=
ctors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100=
)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using=
 DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <CD-224E, , 9.5B> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(aceride0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfe=
rs)
aceride0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
aceride0:0:0: bus-master DMA error: missing interrupt, status=3D0x21
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data t=
ransfers)
wd0c: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
stray isa irq 14
aceride0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
aceride0:0:0: bus-master DMA error: missing interrupt, status=3D0x21
wd0: transfer error, downgrading to PIO mode 4
wd0(aceride0:0:0): using PIO mode 4
wd0c: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
stray isa irq 14
wd0: soft error (corrected)
root on wd0a dumps on wd0b
root file system type: ffs