Kernel panic when unpluggin AC adaptor
Demelier David
demelier.david at gmail.com
Wed May 5 13:57:55 UTC 2010
On Wed, May 05, 2010 at 12:45:46PM +0100, Rui Paulo wrote:
> Please try this patch:
>
> Index: acpi_cpu.c
> ===================================================================
> --- acpi_cpu.c (revision 207322)
> +++ acpi_cpu.c (working copy)
> @@ -997,12 +997,12 @@
> if (notify != ACPI_NOTIFY_CX_STATES)
> return;
>
> + ACPI_SERIAL_BEGIN(cpu);
> /* Update the list of Cx states. */
> acpi_cpu_cx_cst(sc);
> acpi_cpu_cx_list(sc);
>
> /* Update the new lowest useable Cx state for all CPUs. */
> - ACPI_SERIAL_BEGIN(cpu);
> cpu_cx_count = 0;
> for (i = 0; i < cpu_ndevices; i++) {
> isc = device_get_softc(cpu_devices[i]);
>
Tested, but exactly same panic an backtrace.
Cheers.
--
Demelier David
More information about the freebsd-acpi
mailing list