From owner-freebsd-current@FreeBSD.ORG Wed Aug 3 14:05:34 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD5D1106564A; Wed, 3 Aug 2011 14:05:34 +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 B43588FC13; Wed, 3 Aug 2011 14:05:34 +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 4B28846B2D; Wed, 3 Aug 2011 10:05:34 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id DC0CF8A02C; Wed, 3 Aug 2011 10:05:33 -0400 (EDT) From: John Baldwin To: Test Rat Date: Wed, 3 Aug 2011 10:00:34 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110617; KDE/4.5.5; amd64; ; ) References: <4E23EE49.5040801@FreeBSD.org> <4E38FEE5.4080300@FreeBSD.org> <86wreuriaz.fsf@gmail.com> In-Reply-To: <86wreuriaz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201108031000.34338.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 03 Aug 2011 10:05:34 -0400 (EDT) Cc: Doug Barton , Andriy Gapon , freebsd-current@freebsd.org Subject: Re: ichwd0: unable to reserve GCS registers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 03 Aug 2011 14:05:35 -0000 On Wednesday, August 03, 2011 4:49:24 am Test Rat wrote: > Doug Barton writes: > > > On 08/02/2011 15:06, John Baldwin wrote: > >> On Saturday, July 30, 2011 2:49:52 am Andriy Gapon wrote: > >>> on 19/07/2011 18:16 John Baldwin said the following: > >>>> Hmm, can you get devinfo -r output from a working kernel with ichwd loaded? > >>>> You might be able to just build the kernel with 'nooptions NEW_PCIB'. > >>> > >>> I believe that I've got a similar problem with amdsbwd(4). > >>> It needs some resources (I/O ports) that belong to ACPI. > >>> The problem is that the driver attaches to isa bus which is under > >>> isab->pci->pcib and those particular resources are not assigned to the Host-PCI > >>> bridge. > >>> > >>> I think that you already made a suggestion that perhaps isa bus should directly > >>> attach to acpi bus when acpi is available. Not sure if there are any > >>> alternative approaches. > >> > >> Can you try this: > > > > Not so much. :) the first and last patches I can apply to HEAD by hand, > > but /sys/dev/acpica/acpi_pcib_acpi.c is only 387 lines long, so I'm not > > even sure where to start. > > $ svn cat svn://svn.freebsd.org/base/head/sys/dev/acpica/acpi_pcib_acpi.c | wc -l > 531 > > No difference here on ICH9, ichwd(4) still doesn't attach. Can you add some printfs to see if the new method is being called in acpi_pcib_alloc_resource() and if it is failing when it is called? -- John Baldwin