From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 20:43:45 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 C65AD16A4CE for ; Tue, 10 Aug 2004 20:43:45 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AD4143D3F for ; Tue, 10 Aug 2004 20:43:45 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-127-84-57.dsl.snfc21.pacbell.net [67.127.84.57]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i7AKhT8U004203; Tue, 10 Aug 2004 13:43:32 -0700 Message-ID: <41193370.3020302@root.org> Date: Tue, 10 Aug 2004 13:43:28 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Radek Kozlowski References: <4113EB2A.7060401@root.org> <20040806221109.GC55186@werd> <411406AA.3030607@root.org> <20040810203822.GB28585@werd> In-Reply-To: <20040810203822.GB28585@werd> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: sos@deepcore.dk Subject: Re: Panic on boot with today's CURRENT, ata related 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: Tue, 10 Aug 2004 20:43:45 -0000 Radek Kozlowski wrote: > On Fri, Aug 06, 2004 at 03:31:06PM -0700, Nate Lawson wrote: > >>It looks like the DMA object for the channel is not being initialized. >>However, that is in another path (this backtrace is just a symptom >>triggered by the first DMA access to the drive). Someone who knows more >>about the control path for going from PIO -> DMA mode will have to look >>into this. > > I would like to stress that it only happens with ACPI enabled. If I boot > with ACPI disabled the transfer mode is set to UDMA100. Shall I provide > you with more info? I'm done debugging ATA for now. I spent 8 hours tracking down the first bug (not counting the time lost tracking down a non-existent routing table bug triggered by the ATA bug) and 15 minutes on the second one. ACPI does not affect ATA other than setting up IO ports and IRQs. I have no idea what can cause ATA to use PIO over UDMA. -- Nate