Bug #809
closedacpi sysresource fix
0%
Description
Hello.
If you have device probing problem(lost keyboard, etc.) because of resource
allocation failure, when ACPI is enabled,
and setting
debug.acpi.disabled='sysresource'
in the /boot/loader.conf fixes it, please try attached patch. It brings
in this change
http://docs.FreeBSD.org/cgi/mid.cgi?200406132252.i5DMqVVo084238
and the previous change to some other (affected) device drivers
to also try ACPI attachment.
This patch could affect other ACPI subsystems, since it changes the probe
order and how it handles the pre-allocated resources.
Cheers.
Files
Updated by qhwt+dfly over 18 years ago
I'm currently holding to commit this patch; if I build the acpi.ko
without ACPI_DEBUG defined, acpi_bus_alloc_gas() fails to allocate
some of resources. In my case, available Cx states are limited to 1
because of this. I'm going to investigate on this.
Cheers.
Updated by qhwt+dfly over 18 years ago
I tracked it to down to acpi_timer doing a resource allocation in
identify routine, which was grabbing the resource before sysresource
could do it. I'll rework the patch and post it here later.
Cheers.
Updated by qhwt+dfly over 18 years ago
Please review/test the attached patch, and let me know any problems
you found with the patched acpi module.
Regards.
Updated by luxh over 18 years ago
Can this be closed? The diff seems similar to this commit:
http://leaf.dragonflybsd.org/mailarchive/commits/2007-10/msg00131.html
Updated by qhwt+dfly over 18 years ago
Yes, somehow I thought I already closed this.
Thanks for the reminder.