From owner-freebsd-current@FreeBSD.ORG Mon Aug 2 17:33:43 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 A69C716A4CE for ; Mon, 2 Aug 2004 17:33:43 +0000 (GMT) Received: from av4-2-sn3.vrr.skanova.net (av4-2-sn3.vrr.skanova.net [81.228.9.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6666043D48 for ; Mon, 2 Aug 2004 17:33:43 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av4-2-sn3.vrr.skanova.net (Postfix, from userid 502) id C2A5137F75; Mon, 2 Aug 2004 19:33:42 +0200 (CEST) Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net [81.228.9.177]) by av4-2-sn3.vrr.skanova.net (Postfix) with ESMTP id B3F7537E62; Mon, 2 Aug 2004 19:33:42 +0200 (CEST) Received: from gadget (h130n1fls11o822.telia.com [213.64.66.130]) by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 921A03800E; Mon, 2 Aug 2004 19:33:42 +0200 (CEST) From: "Daniel Eriksson" To: "'Ville-Pertti Keinonen'" , Date: Mon, 2 Aug 2004 19:35:41 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal In-Reply-To: <410E74F7.1070000@will.iki.fi> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 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:33:43 -0000 Ville-Pertti Keinonen wrote: > 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: > > ... > atapci1: port > 0xd000-0xd0ff,0xd400-0xd40f,0xd800-0xd803,0xe000-0xe007,0xe400 > -0xe403,0xe800-0xe807 > irq 20 at device 15.0 on pci0 > ata5: at 0xe800 on atapci1 > ata6: at 0xe000 on atapci1 > ... > ad10: 152627MB [310101/16/63] at ata5-master SATA150 > ad12: 152627MB [310101/16/63] at ata6-master SATA150 This looks exactly like the problems I have had with similar hardware (ASUS A7V600-X, a KT-600 based mobo with an on-board 6420 controller). With preemption turned off it sort of worked, but with preemption turned on the discs would lock up pretty quick just as you described it. I have just applied the patch and will try it out later tonight once I get everything recompiled. I'll let you know how it turns out. /Daniel Eriksson