From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 30 18:10:31 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 B5B9C1065672; Wed, 30 Dec 2009 18:10:31 +0000 (UTC) (envelope-from dana.myers@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id 591E68FC1B; Wed, 30 Dec 2009 18:10:31 +0000 (UTC) Received: by ywh35 with SMTP id 35so3774684ywh.7 for ; Wed, 30 Dec 2009 10:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=RCRMBPx2w0gJWbFu3FPf5Ei+XGVN8CZ4OEDbSjogwp0=; b=m1yhjtrOlO/cIx7/82G0dAG4c1/havrpF97FuADvDxYAsmskWTNvPPN5mf/nDONG80 Z0ehnUR+9PCiZJe3TL0leVlbJOlZm1rxvKGF7zvZjml68jTGc3CFkTtmkjLdf4foOnck CGXSwLJ2HnKuJxbRxqCO37n+E0MEtUupGHg8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=urd2Tq+QnLQGGdKCeCtao9YlqVVSIbSTbazfhWQQb+ZNIXglOeGBTXRYr4ZqrZRaxN tH7EFIiQlw2l+cQv7FAoSkQ8Mq3ErR+f+lEIJROU4EtWuDARAn7bmKTftCgchL+B/wL2 40Xh2ONeOA7MHbAnIB74ZRCUIqtS0y5JhOR64= Received: by 10.90.40.39 with SMTP id n39mr2216114agn.39.1262194821483; Wed, 30 Dec 2009 09:40:21 -0800 (PST) Received: from ?192.168.0.100? (c-76-103-215-220.hsd1.ca.comcast.net [76.103.215.220]) by mx.google.com with ESMTPS id 36sm5521379yxh.67.2009.12.30.09.40.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 09:40:20 -0800 (PST) Message-ID: <4B3B9079.1060208@gmail.com> Date: Wed, 30 Dec 2009 09:40:09 -0800 From: Dana Myers User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: John Baldwin References: <20091230082556.GD1637@uriah.heep.sax.de> <200912300839.47463.jhb@freebsd.org> <20091230143943.GA1616@uriah.heep.sax.de> <200912301122.28030.jhb@freebsd.org> In-Reply-To: <200912301122.28030.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Joerg Wunsch , 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 18:10:31 -0000 John Baldwin wrote: > 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 I'm sure it's a side-effect of switching into ACPI mode. The Solaris port of ACPI CA has an option to leave the system in legacy mode during ACPI initialization which I've used to diagnose several instances of PCI config space being trampled by the ACPI-mode switch (done by SMM BIOS code). Sometimes an update to the BIOS solves the problem, but usually not. My guess is that Windows reconfigures PCI devices after switching into ACPI mode, and thus avoids this class of BIOS bug. Dana dana.myers@gmail.com