From owner-freebsd-current@FreeBSD.ORG Wed May 5 13:09:15 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 AA4B916A4CE for ; Wed, 5 May 2004 13:09:15 -0700 (PDT) Received: from VARK.homeunix.com (adsl-68-124-137-57.dsl.pltn13.pacbell.net [68.124.137.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7190843D41 for ; Wed, 5 May 2004 13:09:15 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.10/8.12.10) with ESMTP id i45K9BeV002768; Wed, 5 May 2004 13:09:11 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.10/8.12.10/Submit) id i45K9BEF002767; Wed, 5 May 2004 13:09:11 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Wed, 5 May 2004 13:09:11 -0700 From: David Schultz To: "=?us-ascii:iso-8859-1?Q?S=F8ren?= Schmidt" Message-ID: <20040505200911.GA2752@VARK.homeunix.com> Mail-Followup-To: "=?us-ascii:iso-8859-1?Q?S=F8ren?= Schmidt" , Doug Ambrisko , current@FreeBSD.ORG 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40994763.4090203@DeepCore.dk> 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:09:15 -0000 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. 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.