Patch to disable NCQ for some SSD drives

Vishal Rao vishalrao at gmail.com
Tue Jan 26 12:01:40 UTC 2010


Hello,

Please see LP: #502219 about problems with Crucial brand SSDs.
Also my original msg to LKML: http://lkml.org/lkml/2010/1/22/3

I'm just starting out to learn PPA work:
https://launchpad.net/~vishalrao/+archive/kernels

Patch is something like this (should I attach the diff to the bug?):

--- linux-2.6.32.orig/drivers/ata/libata-core.c
+++ linux-2.6.32/drivers/ata/libata-core.c
@@ -4250,6 +4250,9 @@
{ "ST380817AS", "3.42", ATA_HORKAGE_NONCQ },
{ "ST3160023AS", "3.42", ATA_HORKAGE_NONCQ },
{ "OCZ CORE_SSD", "02.10104", ATA_HORKAGE_NONCQ },
+ { "CRUCIAL_CT64M225", NULL, ATA_HORKAGE_NONCQ },
+ { "CRUCIAL_CT128M225", NULL, ATA_HORKAGE_NONCQ },
+ { "CRUCIAL_CT256M225", NULL, ATA_HORKAGE_NONCQ },

/* Seagate NCQ + FLUSH CACHE firmware bug */
{ "ST31500341AS", "SD15", ATA_HORKAGE_NONCQ |




(Please CC me in any replies since I'm not subscribed to the list)

Regards,
Vishal

-- 
"Thou shalt not follow the null pointer for at its end madness and chaos lie."




More information about the kernel-team mailing list