DriveReady SeekComplete Error, DriveStatusError BadCRC

Leigh Orf (orf@mailbag.com)
Thu, 30 Sep 1999 20:44:13 -0500


Hi again,

I wrote in a couple days ago complaining of hard lockups. The only clue
I'm getting via syslog, which I assume is a symptom of the problem (but
I may be wrong) are the following messages which have been occurring
lately in /var/log/messages:

Sep 30 18:49:33 cb26038-a kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 30 18:49:33 cb26038-a kernel: hda: dma_intr: error=0x84 { DriveStatusError BadCRC }

I put in a new IDE cable, and while the machine hasn't hung since then,
the error continues to appear once or twice a day in my syslog. I was
warned against disabling DMA auto detection, which was a proposed
solution (to another problem I guess). I am wondering how I should
interpret this; if it's just my HD going bad, I can deal with that and
buy a new one... but I'm not sure it's a bad HD and don't want to waste
$$ on something I don't need.

I'm sure this is a recent thing, I have not been getting these errors
until the last few weeks. My problems have occurred with both the 2.2.10
and 2.2.12 kernels, but I suspect they are not to blame.

When the machine hangs, it freezes solid; not responsive to anything
but the reset/power switch (this makes me think hardware). And the
dma errors do not occur right before the crash, but the occurrance of
the error message showing up in my syslog and hard freezes seem to
coincide. BTW /dev/hda has my boot sector for both Linux and NT and is
approximately 2 years old. It's always mounted IOW.

What I'd love is a way to tell whether the drive is bad without moving it
to another machine. I'm not so sure that's possible. I just don't know
how to interpret the error messages and what they really mean (it ain't
a bad cable).

Here's some info I hope will help if there is any troubleshooting to be
done:

The machine is a 233 MMX Intel Pentium, with a ASUS TX 97-X mobo/chipset
with Award BIOS software. Both the BIOS and Linux kernel are ready for
UDMA autodetection. /dev/hda is a master to an identical hard drive. My
other IDE slot has a cd rom and a cd-rw drive (I know, I should have
the masters be the HDs and the slaves be the CDs but that shouldn't have
any bearing on this right?). Software-wise, it's RedHat 6.0 with some
updates.

When the machine finds the hard drives:
Sep 30 20:21:34 cb26038-a kernel: hda: WDC AC36400L, 6149MB w/256kB Cache, CHS=784/255/63, UDMA
Sep 30 20:21:34 cb26038-a kernel: hdb: WDC AC36400L, 6149MB w/256kB Cache, CHS=784/255/63, UDMA

home[1005]:/usr/src/linux/Documentation% lspci
00:00.0 Host bridge: Intel Corporation 430TX - 82439TX MTXC (rev 01)
00:01.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01)
00:01.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:01.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01)
00:0a.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG [Mystique] (rev 03)
00:0b.0 SCSI storage controller: Adaptec AIC-7881U (rev 01)
00:0c.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)

home[1002]:/usr/src/linux/Documentation% hdparm -i /dev/hda

/dev/hda:

Model=WDC AC36400L, FwRev=08.09L08, SerialNo=WD-WT420
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=13328/15/63, TrkSize=57600, SectSize=600, ECCbytes=22
BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
CurCHS=784/255/63, CurSects=789577920, LBA=yes, LBAsects=12594960
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
IORDY=on/off, tPIO={min:160,w/IORDY:120}, PIO modes: mode3 mode4

home[1003]:/usr/src/linux/Documentation% hdparm /dev/hda

/dev/hda:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 784/255/63, sectors = 12594960, start = 0

Thanks,

Leigh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/