Messages in this thread Patches in this message |  | | From | Christian Bornträger <> | Subject | RFC (patch below) Re: ide drive problem? | Date | Sat, 29 Sep 2001 17:21:16 +0200 |
| |
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ägerdiff -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"); } |  |