From owner-freebsd-current@FreeBSD.ORG Fri Aug 13 19:56:20 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 40FED16A4CE for ; Fri, 13 Aug 2004 19:56:20 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F5CA43D3F for ; Fri, 13 Aug 2004 19:56:20 +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 i7DJu88U001335; Fri, 13 Aug 2004 12:56:08 -0700 Message-ID: <411D1CD8.9010005@root.org> Date: Fri, 13 Aug 2004 12:56:08 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7 (X11/20040702) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= References: <4113EB2A.7060401@root.org> <20040806221109.GC55186@werd><411406AA.3030607@root.org> <20040810203822.GB28585@werd><41193370.3020302@root.org> <20040810210112.GC28585@werd><411939FC.5060001@root.org> <20040810215907.GD28585@werd> <4119C858.6070000@DeepCore.dk> In-Reply-To: <4119C858.6070000@DeepCore.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: current@freebsd.org cc: Radek Kozlowski 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: Fri, 13 Aug 2004 19:56:20 -0000 Søren Schmidt wrote: > Radek Kozlowski wrote: > >> -atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x8080 >> [...] >> -ata0-master: setting UDMA100 on AcerLabs Aladdin chip >> [...] >> -ATAPI_RESET time = 160us >> +ATAPI_RESET time = 180us >> [...] >> -ad0: 16 secs/int, 1 depth queue, UDMA100 >> +ad0: 16 secs/int, 1 depth queue, PIO4 >> >> Please tell me if there's more I can do. Thank you. > > > Hmm, you are not getting the DMA resource, or the PCI config registers > are not responding as they should. > > To get more info you should instrument the code in ata-pci.c around > lines 178-190 to see what it is that rejects the DMA resource. > > Something changes in the resources/PCI config that is sent to the ATA > driver so that it either cant get at the I/O ports for DMA or so that > the PCI config regs wont allow busmastering to be enabled.. > Wether this is in ACPI or the PCI code I cant tell without more info > from doing the above instrumenting.. So far, we've found that it attempts to allocate the r_res1 resource but that fails. So the PCI BM enable code is working as expected. I sent him a patch to get a printf of resources and their RIDs. -Nate