[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: enable acpi
From:       John Baldwin <jhb () freebsd ! org>
Date:       2005-03-31 12:51:25
Message-ID: c7f48b8a206ce5a81cc0ebd3e0bf8ae6 () FreeBSD ! org
[Download RAW message or body]


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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic