Re: ide drive problem? RFC

From: Christian Bornträger (linux-kernel@borntraeger.net)
Date: Fri Sep 28 2001 - 10:48:18 EST


> > > hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> > > hde: dma_intr: error=0x84 { DriveStatusError BadCRC }
> >
> > Hmmm, I get this message as well about once a day (though it seems it
> > could not cause any damage ... yet ...)
>
> BadCRC is a transmission error on the IDE cable. It will be retried so
> it isnt a problem.

I read this error message very often in the LKML. Why not making the error message more detailed, pointing to a FAQ entry or an help file or a hint to check the IDE cable?

As a aimple example, I made a patch against 2.4.9-ac14.

diff -ur linux/drivers/ide/ide.c linux-new/drivers/ide/ide.c
--- linux/drivers/ide/ide.c Thu Sep 27 17:53:09 2001
+++ linux-new/drivers/ide/ide.c Fri Sep 28 17:26:16 2001
@@ -910,7 +910,8 @@
                if (drive->media == ide_disk) {
                        printk(" { ");
                        if (err & ABRT_ERR) printk("DriveStatusError ");
- if (err & ICRC_ERR) printk("%s", (err & ABRT_ERR) ? "BadCRC " : "BadSector ");
+ if (err & ICRC_ERR) printk("%s", (err & ABRT_ERR) ? "BadCRC.\
+Please check your IDE-cable." : "BadSector ");
                        if (err & ECC_ERR) printk("UncorrectableError ");
                        if (err & ID_ERR) printk("SectorIdNotFound ");
                        if (err & TRK0_ERR) printk("TrackZeroNotFound ");



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



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:01:03 EST