Another Maxtor drive with broken NCQ

5 messages, 3 authors, 2007-07-07 · open the first message on its own page

Another Maxtor drive with broken NCQ

From: Chuck Ebbert <hidden>
Date: 2007-07-06 18:45:55

From:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=246352

Looks like this entry is needed in the NCQ blacklist:

{"Maxtor 6B200M0",      "BANC1BM0",     ATA_HORKAGE_NONCQ }

Or should *all* Maxtor 6B200M0 be blacklisted, since there's already
one of them in the list?

Re: Another Maxtor drive with broken NCQ

From: Jeff Garzik <hidden>
Date: 2007-07-06 19:09:22

Chuck Ebbert wrote:
From:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=246352

Looks like this entry is needed in the NCQ blacklist:

{"Maxtor 6B200M0",      "BANC1BM0",     ATA_HORKAGE_NONCQ }

Or should *all* Maxtor 6B200M0 be blacklisted, since there's already
one of them in the list?
Wanna send that as a patch, with attribution and sign-offs?  :)

	Jeff


Re: Another Maxtor drive with broken NCQ

From: Chuck Ebbert <hidden>
Date: 2007-07-06 19:13:48

On 07/06/2007 03:09 PM, Jeff Garzik wrote:
quoted
{"Maxtor 6B200M0",      "BANC1BM0",     ATA_HORKAGE_NONCQ }

Or should *all* Maxtor 6B200M0 be blacklisted, since there's already
one of them in the list?
Wanna send that as a patch, with attribution and sign-offs?  :)
For all revisions, or just that one new one?

Re: Another Maxtor drive with broken NCQ

From: Jeff Garzik <hidden>
Date: 2007-07-07 14:51:19

Chuck Ebbert wrote:
On 07/06/2007 03:09 PM, Jeff Garzik wrote:
quoted
quoted
{"Maxtor 6B200M0",      "BANC1BM0",     ATA_HORKAGE_NONCQ }

Or should *all* Maxtor 6B200M0 be blacklisted, since there's already
one of them in the list?
Wanna send that as a patch, with attribution and sign-offs?  :)
For all revisions, or just that one new one?
I don't think all 6B200M0 should be blacklisted, but BANC* is probably 
bad.  I don't think the code can do wildcard matching, so just the one 
revision is probably the best we can do at the moment.

	Jeff


Re: Another Maxtor drive with broken NCQ

From: Alan Cox <hidden>
Date: 2007-07-07 20:23:42

On Sat, 07 Jul 2007 10:51:14 -0400
Jeff Garzik [off-list ref] wrote:
Chuck Ebbert wrote:
quoted
On 07/06/2007 03:09 PM, Jeff Garzik wrote:
quoted
quoted
{"Maxtor 6B200M0",      "BANC1BM0",     ATA_HORKAGE_NONCQ }

Or should *all* Maxtor 6B200M0 be blacklisted, since there's already
one of them in the list?
Wanna send that as a patch, with attribution and sign-offs?  :)
For all revisions, or just that one new one?
I don't think all 6B200M0 should be blacklisted, but BANC* is probably 
bad.  I don't think the code can do wildcard matching, so just the one 
revision is probably the best we can do at the moment.
Regexp is a bit extreme but a simple "anything starting.."  (untested)
would be ok
--- drivers/ata/libata-core.c~	2007-07-07 21:08:15.560015936 +0100
+++ drivers/ata/libata-core.c	2007-07-07 21:08:15.562015632 +0100
@@ -3869,10 +3869,18 @@
 
 	while (ad->model_num) {
 		if (!strcmp(ad->model_num, model_num)) {
+			unsigned char *tp;
 			if (ad->model_rev == NULL)
 				return ad->horkage;
-			if (!strcmp(ad->model_rev, model_rev))
-				return ad->horkage;
+			t = strchr(ad->model_rev, '*');
+			if (t == NULL) {
+				if (!strcmp(ad->model_rev, model_rev))
+					return ad->horkage;
+			} else {
+				if (!strncmp(ad->model_rev, model_rev,
+					t-model_rev))
+					return ad->horkage;
+			}
 		}
 		ad++;
 	}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help