4.9-RELEASE, ACPI and DELL Latitude D600

John Baldwin jhb at FreeBSD.org
Wed Nov 12 09:08:42 PST 2003


On 12-Nov-2003 Andre Grosse Bley wrote:
>> > Ah, the problem is that ACPI tries to sleep from a task, which is not safe
>> > to do.  This is not easy to fix. :(
>> 
>> Actually, it may not be too hard.  In current, ACPI uses its own thread
>> to run the tasks in, so stable would need the same sort of thing.
>> Basically, ACPI needs to start up a kproc and needs to have its own
>> taskqueue again that uses this kproc for its execution context.
> 
> So - as I am not a experienced kernel hacker - there is no easy solution
> for me to 'fix' this panic? Should I open a PR?

A PR might be a good idea.  The basic details are that ACPI in 4.x needs
to create a kernel process to service it's private taskqueue and then
use this taskqueue instead of the system taskqueue to service events.

-- 

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-hackers mailing list