From owner-freebsd-current@FreeBSD.ORG Mon Aug 2 17:25:25 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 59BF716A4CE for ; Mon, 2 Aug 2004 17:25:25 +0000 (GMT) Received: from mailhub.sweetdreamsracing.biz (mailhub.sweetdreamsracing.biz [66.92.171.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA47243D45 for ; Mon, 2 Aug 2004 17:25:24 +0000 (GMT) (envelope-from culverk@sweetdreamsracing.biz) Received: by mailhub.sweetdreamsracing.biz (Postfix, from userid 80) id A820F10A; Mon, 2 Aug 2004 13:28:02 -0400 (EDT) Received: from 141.156.69.109 ([141.156.69.109]) by www.sweetdreamsracing.biz (Horde) with HTTP for ; Mon, 2 Aug 2004 13:28:02 -0400 Message-ID: <20040802132802.3d7kgoow0c80ss0s@www.sweetdreamsracing.biz> Date: Mon, 2 Aug 2004 13:28:02 -0400 From: Kenneth Culver To: Ville-Pertti Keinonen References: <410E688D.7020709@will.iki.fi> <410E74F7.1070000@will.iki.fi> In-Reply-To: <410E74F7.1070000@will.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs cc: freebsd-current@freebsd.org cc: =?iso-8859-1?b?U/hyZW4=?= Schmidt Subject: Re: ATA driver races with interrupts 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: Mon, 02 Aug 2004 17:25:25 -0000 Quoting Ville-Pertti Keinonen : > My previous patch makes things more reliable, but it's not good enough... > > Attached is an updated version of the patch that clears ATA_EXPECT_INTR > earlier (in the interrupt handler), which seems to stabilize things better. > > I'm definitely not convinced of its correctness, since I'm not sure > which part of the code is racing against interrupts despite the previous > version of the patch, but I can no longer cause any failures. > > Repeating the problem should be trivial with an unpatched -current with > PREEMPTION enabled and hardware similar to mine - ASUS K8V Deluxe, two > SATA disks on the VIA 6420: > I have this exact same motherboard, but I'm using the onboard promise controller set up with 2 disks as a raid0, and I'm not having any problems with this setup. I used the promise controller because from what I've been told, the promise controllers are very fast in FreeBSD compared to other controllers. Ken