Project

General

Profile

Actions

Bug #809

closed

acpi sysresource fix

Added by qhwt+dfly over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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

dfly-ownres.diff.gz (7.03 KB) dfly-ownres.diff.gz qhwt+dfly, 09/14/2007 08:54 AM
dfly-ownres.diff.gz (8.52 KB) dfly-ownres.diff.gz qhwt+dfly, 10/12/2007 10:02 AM
Actions #1

Updated by qhwt+dfly almost 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.

Actions #2

Updated by qhwt+dfly almost 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.

Actions #3

Updated by qhwt+dfly almost 18 years ago

Please review/test the attached patch, and let me know any problems
you found with the patched acpi module.

Regards.

Actions #4

Updated by luxh almost 18 years ago

Can this be closed? The diff seems similar to this commit:
http://leaf.dragonflybsd.org/mailarchive/commits/2007-10/msg00131.html

Actions #5

Updated by qhwt+dfly almost 18 years ago

Yes, somehow I thought I already closed this.
Thanks for the reminder.

Actions

Also available in: Atom PDF