From owner-freebsd-stable@FreeBSD.ORG Thu Sep 11 14:14:48 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2DD81065679; Thu, 11 Sep 2008 14:14:48 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id A31848FC1B; Thu, 11 Sep 2008 14:14:48 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 43B78160646; Thu, 11 Sep 2008 10:14:48 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 11 Sep 2008 10:14:48 -0400 X-Sasl-enc: iyrbIo4f+whgCa2j7MuGcSSad2wjhT/+3ozamdNF71xn 1221142487 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id A499A2865D; Thu, 11 Sep 2008 10:14:47 -0400 (EDT) Message-ID: <48C927D6.5020800@incunabulum.net> Date: Thu, 11 Sep 2008 15:14:46 +0100 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: Jeremy Chadwick , FreeBSD stable References: <48C8F684.8090409@incunabulum.net> <20080911110407.GC25493@icarus.home.lan> In-Reply-To: <20080911110407.GC25493@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: John Baldwin Subject: Re: alpm(4) I/O range is claimed by ACPI X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 14:14:48 -0000 Jeremy Chadwick wrote: > ... > Might mention this to jhb@ to see if it's related to the SMBus changes > made 1.5 years ago: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/alpm.c > Thanks for the pointers. The other reports sound like duplicate reports of the same issue. I'm not sure that backing out the last change is going to help. The BIOS has generally set up the I/O resource before FreeBSD boots; the bus_set_resource() call might only be useful in those cases where that hasn't happened. In any event, in alpm_attach(), the rman is going to notice that the bus space is already allocated by acpi(4), and will balk. I'm sure there has been some kind of override mechanism in place for certain other drivers; but they seem to boil down to using an ACPI attachment of some kind, which won't work here as alpm(4) is a PCI function and needs to attach to the pcib parent. It would be really, really useful to have working SMBus drivers right now on a machine I can actually touch... cheers BMS