RFC (patch below) Re: ide drive problem?

From: Christian Bornträger (linux-kernel@borntraeger.net)
Date: Sat Sep 29 2001 - 10:21:16 EST


Hi List, Hi Andre,

as Mark Hahn made a FAQ entry for the

hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }

message, I think we should point all users to this FAQ. I saw this message
and questions about it very often in this list, so we should help the users
to find a fast solution. You know, only a few people read a manual, even in
error case.

Now the output looks like:

hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }

For further Informations please check: http://www.tux.org/lkml/#s13-3

This patch applies correct for 2.4.9ac14 and 2.4.10

diff -r -u linux/drivers/ide/ide.c linux-new/drivers/ide/ide.c
--- linux/drivers/ide/ide.c Fri Sep 28 17:36:54 2001
+++ linux-new/drivers/ide/ide.c Sat Sep 29 17:03:36 2001
@@ -935,6 +935,9 @@
                                        printk(", sector=%ld", HWGROUP(drive)->rq->sector);
                        }
                }
+ if ((stat & READY_STAT) && (stat & SEEK_STAT) && (stat & ERR_STAT)
+ && (err & ABRT_ERR) && (err & ICRC_ERR))
+ printk("\nFor further Informations please check: http://www.tux.org/lkml/#s13-3\n");
 #endif /* FANCY_STATUS_DUMPS */
                printk("\n");
        }

greetings

Christian Bornträger


-
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:09 EST