lkml.org 
[lkml]   [2001]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
From
SubjectRFC (patch below) Re: ide drive problem?
Date
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");
}
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.069 / U:19.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site