Re: ACPI panic on unplugging the power cord.

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sat, 26 Jan 2013 17:58:16 +0100
On Fri, Jan 25, 2013 at 04:19:44PM -0500, Jung-uk Kim wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2013-01-25 04:26:02 -0500, Pawel Jakub Dawidek wrote:
> > On Thu, Jan 24, 2013 at 05:18:48PM +0100, Pawel Jakub Dawidek
> > wrote:
> >> One is when I leave laptop idle for some time (few hours?):
> >> 
> >> http://people.freebsd.org/~pjd/misc/acpi_idle_panic_0.jpg 
> >> http://people.freebsd.org/~pjd/misc/acpi_idle_panic_1.jpg
> > 
> > Small update. This panic doesn't happen when the system is idle,
> > it happens we I close the lid to the point when display is turned
> > off (which is almost closed, but not entirely closed).
> > 
> > Closing lid doesn't trigger suspend or anything like that. It just
> > turns off the display.
> 
> Please try the attached patch (with my previous patch).  Also,
> available from here:
> 
> http://people.freebsd.org/~jkim/acpi_exit.diff

Your patch fixes panic triggered by unplugging power cable as well the
one triggered by closing the lid. I haven't tried booting from battery
and connecting power cable, but I expect happy end there as well.
Thank you very much for the fix.

BTW. When I'm closing the lid and opening it again (not cosing it
entirely, just to the point when display is turned off) I see this
message to be printed twice on the console:

	CPU0: local APIC error 0x80

Although I must admit I see this message from time to time, but I
haven't found a pattern. Closing and opening the lid always make it
appear. Not sure how much it is related to ACPI, though.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl

Received on Sat Jan 26 2013 - 15:57:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC