enable acpi

John Baldwin jhb at FreeBSD.org
Thu Mar 31 04:51:39 PST 2005


On Mar 30, 2005, at 11:18 PM, Dinesh Nair wrote:

>
> acpi related, but on freebsd 4.11 (cvsupped and built on 24 march).
>
> i've compiled with device acpica in the kernel, but i get sporadic page
> faults as attached.
>
> i do know that acpica is experimental and that LINT does warn of kernel
> panics and machine hangs. however i was wondering if anyone has got 
> this
> working succesfully on any machine.

The problem is that the taskqueue_swi in 4.x doesn't have a thread 
context that can be slept on via tsleep().  The fix would be to create 
a kthread in which to run the ACPI tasks.  4.x already has one such 
kthread for the taskqueue_thread taskqueue that you could use as a 
reference if you wish to do this yourself.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



More information about the freebsd-acpi mailing list