Date: Mon, 4 Jan 2010 23:37:38 +0100 From: Joerg Wunsch <j@uriah.heep.sax.de> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-acpi@freebsd.org Subject: Re: FreeBSD 8.0 hangs on boot with ACPI enabled Message-ID: <20100104223738.GP1616@uriah.heep.sax.de> In-Reply-To: <200912301122.28030.jhb@freebsd.org> References: <20091230082556.GD1637@uriah.heep.sax.de> <200912300839.47463.jhb@freebsd.org> <20091230143943.GA1616@uriah.heep.sax.de> <200912301122.28030.jhb@freebsd.org>
index | next in thread | previous in thread | raw e-mail
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.
It happens here:
res = resource_list_alloc(rl, bus, dev, type, ®, start, end, count,
prefetch ? RF_PREFETCHABLE : 0);
if (res == NULL) {
/*
* If the allocation fails, clear the BAR and delete
* the resource list entry to force
* pci_alloc_resource() to allocate resources from the
* parent.
*/
resource_list_delete(rl, type, reg);
printf("resource_list_alloc() failed\n");
start = 0;
The printf() I added there triggers, and this resets "start" to 0.
Where to proceed now?
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100104223738.GP1616>
