Date: Wed, 3 Aug 2011 10:00:34 -0400 From: John Baldwin <jhb@freebsd.org> To: Test Rat <ttsestt@gmail.com> Cc: Doug Barton <dougb@freebsd.org>, Andriy Gapon <avg@freebsd.org>, freebsd-current@freebsd.org Subject: Re: ichwd0: unable to reserve GCS registers Message-ID: <201108031000.34338.jhb@freebsd.org> In-Reply-To: <86wreuriaz.fsf@gmail.com> References: <4E23EE49.5040801@FreeBSD.org> <4E38FEE5.4080300@FreeBSD.org> <86wreuriaz.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, August 03, 2011 4:49:24 am Test Rat wrote: > Doug Barton <dougb@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108031000.34338.jhb>