Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2005 07:51:25 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        Dinesh Nair <dinesh@alphaque.com>
Cc:        freebsd-acpi@FreeBSD.org
Subject:   Re: enable acpi
Message-ID:  <c7f48b8a206ce5a81cc0ebd3e0bf8ae6@FreeBSD.org>
In-Reply-To: <424B7A2D.5060902@alphaque.com>
References:  <42334057.5070705@gmx.net> <42492F0B.3040704@alphaque.com> <424B7A2D.5060902@alphaque.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c7f48b8a206ce5a81cc0ebd3e0bf8ae6>