ichwd0: unable to reserve GCS registers

John Baldwin jhb at freebsd.org
Wed Aug 3 14:05:35 UTC 2011


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


More information about the freebsd-current mailing list