From owner-freebsd-current@FreeBSD.ORG Wed May 5 13:17:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DA1D16A4CE; Wed, 5 May 2004 13:17:23 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2675343D5E; Wed, 5 May 2004 13:17:22 -0700 (PDT) (envelope-from sos@DeepCore.dk) Received: from DeepCore.dk (sos.deepcore.dk [194.192.25.130]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i45KHFxH050881; Wed, 5 May 2004 22:17:20 +0200 (CEST) (envelope-from sos@DeepCore.dk) Message-ID: <40994BCB.6000203@DeepCore.dk> Date: Wed, 05 May 2004 22:17:15 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla Thunderbird 0.5 (X11/20040329) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Schultz References: <200405041825.i44IPgVa021573@ambrisko.com> <4097F9EA.1080904@DeepCore.dk> <20040505124349.GA612@VARK.homeunix.com> <40990479.6070809@DeepCore.dk> <20040505194949.GA2443@VARK.homeunix.com> <40994763.4090203@DeepCore.dk> <20040505200911.GA2752@VARK.homeunix.com> In-Reply-To: <20040505200911.GA2752@VARK.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: current@freebsd.org Subject: Re: Updated SATA support patches for Intel ICH & Promise cards X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2004 20:17:23 -0000 David Schultz wrote: > On Wed, May 05, 2004, Sren Schmidt wrote: > >>David Schultz wrote: >> >>>I have two SATA drives that are mirrored via ccd(4). The >>>mirroring apparently introduced some sort of race that led to >>>problems, which started when ATAng was committed. The specific >>>symptoms changed as the ata driver evolved, and varied from kernel >>>panics in the best case and data corruption in the worst case. >>>But the details of the problem aren't as important as the fact >>>that some aspect of Doug's patch fixes them! >> >>Have you considered using atacontrol to create an ATA RAID instead ? >>Does that work ? on an unpatched kernel ? > > > This is an Intel 875P motherboard, and I think the controller only > supports striping, not mirroring. If this is not the case, I'd > happily try it, although it would take a while for me to find the > time to back up and migrate my data if there are any > incompatibilities. RAID done by atacontrol and one ATA controllers are just software RAID's just like CCD, the only difference is that some controllers has BIOS suport for it that allows you to boot from them etc... > Nevertheless, this completely skirts the issue that there are > races in the ata driver that are exacerbated by using ccd(4). > ATA RAID would only be a workaround. I'm just collecting data about the problem (which I btw cant reproduce on an Intel board here). Understanding what happens and why is crucial to getting things fixed the right way, and not just applying some random hack that seems to fix the problem. -- -Søren