From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 30 16:22:44 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0372A106566B for ; Wed, 30 Dec 2009 16:22:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id CA1128FC20 for ; Wed, 30 Dec 2009 16:22:43 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 62B7046B2C; Wed, 30 Dec 2009 11:22:43 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id AD25B8A01B; Wed, 30 Dec 2009 11:22:30 -0500 (EST) From: John Baldwin To: Joerg Wunsch Date: Wed, 30 Dec 2009 11:22:28 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <20091230082556.GD1637@uriah.heep.sax.de> <200912300839.47463.jhb@freebsd.org> <20091230143943.GA1616@uriah.heep.sax.de> In-Reply-To: <20091230143943.GA1616@uriah.heep.sax.de> MIME-Version: 1.0 Message-Id: <200912301122.28030.jhb@freebsd.org> Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 30 Dec 2009 11:22:30 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-acpi@freebsd.org Subject: Re: FreeBSD 8.0 hangs on boot with ACPI enabled X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 16:22:44 -0000 On Wednesday 30 December 2009 9:39:43 am Joerg Wunsch wrote: > As John Baldwin wrote: > > > I'm guessing that ahc0 doesn't like the the I/O port resource range > > it was assigned in the ACPI case. No idea why ACPI would clobber > > that BAR. > > Hmm, indeed, I've been using a differen HBA in the past. Do you think > it would make sense using another HBA, like a Tekram one? I could > easily swap them. > > Anyway, the ahc0 at least can still find the attached drives while the > BIOS is running (otherwise it wouldn't boot at all). Isn't it using > the very same IO addresses then as FreeBSD with ACPI enabled? No, when ACPI is enabled the BAR is getting reset to 0 for some reason after the boot has started and FreeBSD tries to guess at an address to use. Unfortunately it picks an address that doesn't work. This is fixable, it's just part of the much larger PCI resource management problem. OTOH, I'm not sure why initializing ACPI is trashing the BAR. If you want, you can try to narrow down at what point the BAR gets reset to 0. -- John Baldwin