Subject: wdc0:0:0 lost interrupt on PowerBook G4
To: None <port-macppc@netbsd.org>
From: Jason Beegan <jtb@netbsd.org>
List: port-macppc
Date: 06/18/2003 23:05:39
On my PowerBook G4, 1GHz, 15" (current model) running -current I consistently get
the following at boot time:


wdc0:0:0: lost interrupt
	type: ata tc_bcount: 2048 tc_skip: 0
wdc0:0:0: intr with DRQ (st=0x58)
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd0a: device timeout writing fsbn 16 of 16-19 (wd0 bn 55263665; cn 54825 tn 1 sn 2), retrying

[see appended dmesg for complete message]


OpenBSD and Linux have no problems with the drive.  Doing a google
search didn't turn up any solution.

Regards,

Jason


NetBSD 1.6U (Config1) #0: Wed Jun 18 04:28:00 UTC 2003
	jtb@:/home/jtb/NetBSD/src/sys/arch/macppc/compile/Config1
total memory = 512 MB
avail memory = 464 MB
using 3072 buffers containing 26316 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 7455 (Revision 3.3), ID 0 (primary)
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>
cpu0: 666.67 MHz, 256KB L2 cache, 1MB no-parity L3 cache (DDR SRAM) at 5:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: vendor 0x106b product 0x002d (rev. 0x00)
ofb0 at pci0 dev 16 function 0: vendor 0x1002 product 0x4c66
ofb0: 1280 x 854, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: vendor 0x106b product 0x002e (rev. 0x00)
obio0 at pci1 dev 23 function 0: addr 0x80000000
zsc0 at obio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
i2s at obio0 offset 0x10000 not configured
adb0 at obio0 offset 0x16000 irq 47: 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: PowerBook G3 keyboard
wskbd0 at akbd0 mux 1
wskbd0: connecting to wsdisplay0
ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: buttons
battery at obio0 offset 0x0 not configured
backlight at obio0 offset 0xf300 not configured
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
wd0 at wdc0 channel 0 drive 0: <FUJITSU MHS2060AT>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 57231 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
wdc1 at obio0 offset 0x20000 irq 20: DMA transfer
atapibus0 at wdc1 channel 0: 2 targets
cd0 at atapibus0 drive 0: <MATSHITACD-RW  CW-8121, , AA21> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wi0 at obio0 offset 0x30000 irq 57: 802.11 address 00:30:65:25:b8:35
wi0: using Lucent Embedded WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.70.1)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ohci0 at pci1 dev 24 function 0: vendor 0x106b product 0x0019 (rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x106b OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: vendor 0x106b product 0x0019 (rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x106b OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
cbb0 at pci1 dev 26 function 0: vendor 0x104c product 0xac50 (rev. 0x02)
cbb0: interrupting at irq 58
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0
pcmcia0 at cardslot0
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: vendor 0x106b product 0x002f (rev. 0x00)
vendor 0x11c1 product 0x5811 (Firewire serial bus, interface 0x10) at pci2 dev 14 function 0 not configured
gem0 at pci2 dev 15 function 0: vendor 0x106b product 0x0021 (rev. 0x01)
gem0: interrupting at irq 41
gem0: Ethernet address 00:0a:95:79:fb:16, 10KB RX fifo, 4KB TX fifo
brgphy0 at gem0 phy 0: BCM5421 1000BASE-T media interface, rev. 1
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 2048 tc_skip: 0
wdc0:0:0: intr with DRQ (st=0x58)
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd0a: device timeout writing fsbn 16 of 16-19 (wd0 bn 55263665; cn 54825 tn 1 sn 2), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 2048 tc_skip: 0
wdc0:0:0: intr with DRQ (st=0x58)
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 1 (using DMA data transfers)
wd0a: device timeout writing fsbn 16 of 16-19 (wd0 bn 55263665; cn 54825 tn 1 sn 2), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 2048 tc_skip: 0
wdc0:0:0: intr with DRQ (st=0x58)
wd0: transfer error, downgrading to DMA mode 2
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd0a: device timeout writing fsbn 16 of 16-19 (wd0 bn 55263665; cn 54825 tn 1 sn 2), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 2048 tc_skip: 0
wdc0:0:0: intr with DRQ (st=0x58)
wd0: transfer error, downgrading to PIO mode 4
wd0(wdc0:0:0): using PIO mode 4
wd0a: device timeout writing fsbn 16 of 16-19 (wd0 bn 55263665; cn 54825 tn 1 sn 2), retrying
wd0: soft error (corrected)