Re: ichwd0: unable to reserve GCS registers

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 3 Aug 2011 10:00:34 -0400
On Wednesday, August 03, 2011 4:49:24 am Test Rat wrote:
> Doug Barton <dougb_at_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
Received on Wed Aug 03 2011 - 12:05:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC