RFC (patch below) Re: ide drive problem?

(no name) ((no email))
Sat, 29 Sep 2001 17:21:16 +0200


--------------Boundary-00=_GZJFKS4YND8PISU5IZVZ
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi List, Hi Andre,

as Mark Hahn made a FAQ entry for the =20

hde: dma_intr: status=3D0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=3D0x84 { DriveStatusError BadCRC }

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

Now the output looks like:

hde: dma_intr: status=3D0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=3D0x84 { 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=3D%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=E4ger
--------------Boundary-00=_GZJFKS4YND8PISU5IZVZ
Content-Type: text/x-diff;
charset="iso-8859-1";
name="m.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="m.patch"

ZGlmZiAtciAtdSBsaW51eC9kcml2ZXJzL2lkZS9pZGUuYyBsaW51eC1uZXcvZHJpdmVycy9pZGUv
aWRlLmMKLS0tIGxpbnV4L2RyaXZlcnMvaWRlL2lkZS5jCUZyaSBTZXAgMjggMTc6MzY6NTQgMjAw
MQorKysgbGludXgtbmV3L2RyaXZlcnMvaWRlL2lkZS5jCVNhdCBTZXAgMjkgMTc6MDM6MzYgMjAw
MQpAQCAtOTM1LDYgKzkzNSw5IEBACiAJCQkJCXByaW50aygiLCBzZWN0b3I9JWxkIiwgSFdHUk9V
UChkcml2ZSktPnJxLT5zZWN0b3IpOwogCQkJfQogCQl9CisJCWlmICgoc3RhdCAmIFJFQURZX1NU
QVQpICYmIChzdGF0ICYgU0VFS19TVEFUKSAmJiAoc3RhdCAmIEVSUl9TVEFUKQorCQkgJiYgKGVy
ciAmIEFCUlRfRVJSKSAmJiAoZXJyICYgSUNSQ19FUlIpKQorCQkgICAgICAgIHByaW50aygiXG5G
b3IgZnVydGhlciBJbmZvcm1hdGlvbnMgcGxlYXNlIGNoZWNrOiBodHRwOi8vd3d3LnR1eC5vcmcv
bGttbC8jczEzLTNcbiIpOwogI2VuZGlmCS8qIEZBTkNZX1NUQVRVU19EVU1QUyAqLwogCQlwcmlu
dGsoIlxuIik7CiAJfQo=

--------------Boundary-00=_GZJFKS4YND8PISU5IZVZ--
-
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/