FreeBSD 8.0 hangs on boot with ACPI enabled
John Baldwin
jhb at freebsd.org
Mon Jan 4 19:53:16 UTC 2010
On Saturday 02 January 2010 5:06:48 pm Joerg Wunsch wrote:
> As John Baldwin wrote:
>
> > OTOH, I'm not sure why initializing ACPI is trashing the BAR. If
> > you want, you can try to narrow down at what point the BAR gets
> > reset to 0.
>
> Any hints about where to start doing this? I could probably run the
> machine through a remote GDB, but haven't been doing that for years
> (and the machine doesn't have a FireWire interface either so I'd have
> to use plain RS-232), so I'd preferrably start with a bit of "printf
> debugging" first. If someone can give me some hints about which
> files/functions to touch, I'd be grateful.
You can probably start with acpi_attach() adding a printf at the top of that
and after it calls bus_generic_attach(). You will want to figure out your
device's PCI address and use pci_cfgregread() to fetch the value of the BAR at
each printf.
--
John Baldwin
More information about the freebsd-acpi
mailing list