Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757996AbXJKMUt (ORCPT ); Thu, 11 Oct 2007 08:20:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753321AbXJKMUj (ORCPT ); Thu, 11 Oct 2007 08:20:39 -0400 Received: from ns1.q-leap.de ([153.94.51.193]:49764 "EHLO mail.q-leap.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752801AbXJKMUh (ORCPT ); Thu, 11 Oct 2007 08:20:37 -0400 From: Bernd Schubert To: Jeff Garzik Subject: Re: [PATCH 2/3] Re: sil3114 data corruption Date: Thu, 11 Oct 2007 14:20:34 +0200 User-Agent: KMail/1.9.6 Cc: linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <200710081709.18253.bs@q-leap.de> <200710111409.56210.bs@q-leap.de> <200710111415.35203.bs@q-leap.de> In-Reply-To: <200710111415.35203.bs@q-leap.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710111420.35166.bs@q-leap.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1323 Lines: 37 This will add the sil3114 back to the controllers with the mod15 bug. Without this patch no workaround for this controller is done and people might/will suffer from data corruption. Also rather trivial, though with a huge effect, the speed for the effected disks will go down from about 45-50MB/s to 20-25MB/s. But better safe than lost data or damaged filesystem. Signed-off-by: Bernd Schubert Index: linux-2.6.23-rc9/drivers/ata/sata_sil.c =================================================================== --- linux-2.6.23-rc9.orig/drivers/ata/sata_sil.c 2007-10-11 10:45:02.000000000 +0200 +++ linux-2.6.23-rc9/drivers/ata/sata_sil.c 2007-10-11 10:45:08.000000000 +0200 @@ -241,7 +241,8 @@ static const struct ata_port_info sil_po }, /* sil_3114 */ { - .flags = SIL_DFL_PORT_FLAGS | SIL_FLAG_RERR_ON_DMA_ACT, + .flags = SIL_DFL_PORT_FLAGS | SIL_FLAG_RERR_ON_DMA_ACT + | SIL_FLAG_MOD15WRITE, .pio_mask = 0x1f, /* pio0-4 */ .mwdma_mask = 0x07, /* mwdma0-2 */ .udma_mask = ATA_UDMA5, -- Bernd Schubert Q-Leap Networks GmbH - 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/