From patchwork Tue Jan 26 12:01:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vishal Rao X-Patchwork-Id: 43695 X-Patchwork-Delegate: apw@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 0B095B7C09 for ; Wed, 27 Jan 2010 00:23:33 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NZlO9-00032x-0K; Tue, 26 Jan 2010 13:23:25 +0000 Received: from mail-pz0-f186.google.com ([209.85.222.186]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NZk74-0003It-7a for kernel-team@lists.ubuntu.com; Tue, 26 Jan 2010 12:01:42 +0000 Received: by pzk16 with SMTP id 16so2645454pzk.18 for ; Tue, 26 Jan 2010 04:01:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.188.38 with SMTP id l38mr5431085waf.63.1264507301024; Tue, 26 Jan 2010 04:01:41 -0800 (PST) Date: Tue, 26 Jan 2010 17:31:40 +0530 Message-ID: Subject: Patch to disable NCQ for some SSD drives From: Vishal Rao To: kernel-team@lists.ubuntu.com X-Mailman-Approved-At: Tue, 26 Jan 2010 13:23:21 +0000 Cc: vishalrao@gmail.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com 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?): (Please CC me in any replies since I'm not subscribed to the list) Regards, Vishal Signed-off-by: Vishal Rao --- 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 |