Subject: wdc0(1): lost interrupt
To: None <port-i386@NetBSD.ORG>
From: Dave Huang <khym@bga.com>
List: port-i386
Date: 03/05/1998 00:00:06
I saw some mention about wdc0 lost interrupts in the list archives, but
didn't see any resolution... so I guess this is still a problem?

I just added a Quantum GLS127A (2.5" IDE drive I had lying around) to
my 386-25 system, and I get the following errors with moderate disk
activity (e.g. copying some files to it from another drive):

wdc0(1): lost interrupt
	type: ata
	c_bcount: 65536
	c_skip: 0
wd1: wdccontrol: recal failed (2)
wd1: wdccontrol: recal failed (2)
wd1: wdccontrol: recal failed (2)
wd1: wdccontrol: recal failed (2)
wd1e: wdc_ata_start hard error writing fsbn 79264 of 13728-13855 (wd1 bn 79264; cn 214 tn 7 sn 11)
wd1: wdccontrol: recal failed (2)
wd1: wdccontrol: recal failed (2)
wd1: wdccontrol: recal failed (2)
wd1: wdccontrol: recal failed (2)
wd1: wdccontrol: recal failed (2)
wd1e: wdc_ata_start hard error writing fsbn 20160 of 11968-11983 (wd1 bn 21060; cn 54 tn 5 sn 29)

I've also had it silently trash my filesystem... no lost interrupt
messages (or any other messages), but a directory turned into a block
device, and another directory got filled with junk "files" that had
random garbage filenames. (I haven't put anything important on the
drive, so nothing was lost :)

The drive seems to work fine in MSDOS/Windoze, and it was working fine
when I took it out of my Mac Powerbook, so I don't think it's bad hardware.

It's running a NetBSD-current kernel, Mar 4 sources:
NetBSD 1.3E (SLOTH) #164: Wed Mar  4 21:01:40 CST 1998

And it's got these drives:
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <QUANTUM LP120A GM120A01X>
wd0: 116MB, 901 cyl, 5 head, 53 sec, 512 bytes/sec
wd0: using 8-sector 16-bit pio transfers, chs addressing
wd1 at wdc0 drive 1: <QUANTUM GLS127A>
wd1: 121MB, 677 cyl, 9 head, 41 sec, 512 bytes/sec
wd1: using 16-sector 16-bit pio transfers, chs addressing
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++