Kernel panic when unpluggin AC adaptor

David DEMELIER demelier.david at gmail.com
Tue May 4 20:27:31 UTC 2010


2010/5/4 Kostik Belousov <kostikbel at gmail.com>:
> On Tue, May 04, 2010 at 06:35:52PM +0200, David DEMELIER wrote:
>> Good news ! It worked, check the picture here :
>>
>> http://img63.imageshack.us/img63/4244/dsc00361g.jpg
>
> Please try adding code fragment like this:
>        if (cx_next->p_lvlx == NULL)
>                printf("Going to panic.\n");
> to  dev/acpi/acpi_cpu.c:acpi_cpu_idle() function, right before
>    CPU_GET_REG(cx_next->p_lvlx, 1);
> line and see if it prints the message immediately before the panic.
>

Yes it does at the beginning of the kernel panic.

Cheers.

-- 
Demelier David


More information about the freebsd-stable mailing list