From owner-freebsd-stable@FreeBSD.ORG Fri Sep 12 06:53:45 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 A72851065670 for ; Fri, 12 Sep 2008 06:53:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 80D5D8FC1C for ; Fri, 12 Sep 2008 06:53:45 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id Dipt1a0060lTkoCA8itltm; Fri, 12 Sep 2008 06:53:45 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id Ditj1a0034v8bD78QitjzT; Fri, 12 Sep 2008 06:53:45 +0000 X-Authority-Analysis: v=1.0 c=1 a=vwWPteRqPzAA:10 a=bnbwb4g20KwA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=4EQZL9Md3NeA-zmlgK0A:9 a=jK1rTEexqtsxD5_O6O4A:7 a=SqaF5x1hp7UI8S8-kqWxSPmycUUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 738DE17B81A; Thu, 11 Sep 2008 23:53:43 -0700 (PDT) Date: Thu, 11 Sep 2008 23:53:43 -0700 From: Jeremy Chadwick To: Bruce M Simpson Message-ID: <20080912065343.GB49512@icarus.home.lan> References: <48C8F684.8090409@incunabulum.net> <20080911110407.GC25493@icarus.home.lan> <48C927D6.5020800@incunabulum.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C927D6.5020800@incunabulum.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: KAHO Toshikazu , FreeBSD stable , 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: Fri, 12 Sep 2008 06:53:45 -0000 On Thu, Sep 11, 2008 at 03:14:46PM +0100, Bruce M Simpson wrote: > 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... Interesting timing -- Toshikazu Kaho just reported the same issue with alpm(4) today: http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/044989.html I've CC'd him, as he's probably unaware of this already-existing thread. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |