Subject: Revenge of kern/18893
To: None <port-macppc@netbsd.org>
From: Cameron Kaiser <spectre@floodgap.com>
List: port-macppc
Date: 12/22/2003 18:56:24
Came back home to find this on the screen of my 7300:

pciide0:0:0: lost interrupt
        type: ata tc_bcount: 1024 tc_skip: 0

... and, naturally, it was hung up. Restarted with the three-finger-salute
and brought it back up to be greeted by this during boot:

pciide0:0:0: lost interrupt
        type: ata tc_bcount: 1024 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0a: error reading fsbn 62092690 of 62092690-62092691 (wd0 bn 62092690; cn 6159
9 tn 14 sn 16), retrying
wd0: (uncorrectable data error)
pciide0:0:0: lost interrupt
        type: ata tc_bcount: 1024 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0a: error reading fsbn 62092690 of 62092690-62092691 (wd0 bn 62092690; cn 6159
9 tn 14 sn 16), retrying
wd0: (uncorrectable data error)
pciide0:0:0: lost interrupt
        type: ata tc_bcount: 1024 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0a: error reading fsbn 62092690 of 62092690-62092691 (wd0 bn 62092690; cn 6159
9 tn 14 sn 16), retrying
wd0: (uncorrectable data error)
wd0: soft error (corrected)

What happened? It seems to be fine right now. This seems suspiciously similar
to kern/18893.

Any comments before I send-pr this?

This machine is a Power Mac 7300 with a Sonnet G3/500 running 1.6.1 with
security patches applied, with 512MB physical RAM and a Sonnet Tempo Trio
ATA/133 PCI card connected to a Western Digital 40GB ATA/100 drive. dmesg
follows. (Incidentally, I still can't get the kernel to support UltraATA
with this card, either.) Arigatoo gozaimasu.

NetBSD 1.6.1 (ARCHANGEL) #2: Fri Jun 27 19:49:08 PDT 2003
    loser@localhost.floodgap.com:/usr/src/sys/arch/macppc/compile/ARCHANGEL
total memory = 512 MB
avail memory = 464 MB
using 2048 buffers containing 26316 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 3.0), ID 0 (primary)
cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0: 500.00 MHz
cpu0: 1MB backside cache
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
rtk0 at pci0 dev 13 function 0: D-Link Systems DFE 530TX+
rtk0: interrupting at irq 23
rtk0: Ethernet address 00:40:05:0a:d7:93
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ppb0 at pci0 dev 15 function 0: unknown vendor 0x1668 product 0x0100 (rev. 0x11)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ohci0 at pci1 dev 0 function 0: NEC USB Host Controller (rev. 0x41)
ohci0: interrupting at irq 25
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci1 dev 0 function 1: NEC USB Host Controller (rev. 0x41)
ohci1: interrupting at irq 25
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
NEC USB Host Controller (USB serial bus, interface 0x20, revision 0x02) at pci1 dev 0 function 2 not configured
fwohci0 at pci1 dev 1 function 0: Lucent Technologies product 0x5811 (rev. 0x04)
fwohci0: interrupting at irq 25
fwohci0: OHCI 1.0, 00:30:93:01:00:00:01:34, 400Mb/s, 1024 max_rec, 8 iso_ctx
pciide0 at pci1 dev 2 function 0: Promise Ultra133/ATA Bus Master IDE Accelerator (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using irq 25 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD400JB-00ENA0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38166 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel configured to native-PCI mode
obio0 at pci0 dev 16 function 0: addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:05:02:a8:e4:22
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 1 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0: console keyboard
mesh0 at obio0 offset 0x18000 irq 13: 50MHz, SCSI ID 7
scsibus1 at mesh0: 8 targets, 8 luns per target
nvram0 at obio0 offset 0x1d000
bandit1 at mainbus0
pci2 at bandit1 bus 2
pci2: i/o space, memory space enabled
ofb0 at pci2 dev 11 function 0: Apple Computer Control
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
scsibus0: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 4 lun 0: <MATSHITA, CD-ROM CR-8012, 1.0f> SCSI2 5/cdrom removable
cd0: sync (200.0ns offset 8), 8-bit (5.000MB/s) transfers
scsibus1: waiting 2 seconds for devices to settle...
fw0 at fwohci0: 00:30:93:01:00:00:01:34:09:02:20:00:00:00:00:00
boot device: <unknown>
root on wd0a dumps on wd0b
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd0c: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: (aborted command, interface CRC error)
wd0: soft error (corrected)
pciide0:0:0: lost interrupt
        type: ata tc_bcount: 1024 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0a: error reading fsbn 62092690 of 62092690-62092691 (wd0 bn 62092690; cn 61599 tn 14 sn 16), retrying
wd0: (uncorrectable data error)
pciide0:0:0: lost interrupt
        type: ata tc_bcount: 1024 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0a: error reading fsbn 62092690 of 62092690-62092691 (wd0 bn 62092690; cn 61599 tn 14 sn 16), retrying
wd0: (uncorrectable data error)
pciide0:0:0: lost interrupt
        type: ata tc_bcount: 1024 tc_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0a: error reading fsbn 62092690 of 62092690-62092691 (wd0 bn 62092690; cn 61599 tn 14 sn 16), retrying
wd0: (uncorrectable data error)
wd0: soft error (corrected)

-- 
---------------------------------- personal: http://www.armory.com/~spectre/ --
 Cameron Kaiser, Floodgap Systems Ltd * So. Calif., USA * ckaiser@floodgap.com
-- BOND THEME NOW PLAYING: "A View To A Kill" ---------------------------------