Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2013 17:58:16 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: ACPI panic on unplugging the power cord.
Message-ID:  <20130126165816.GA1376@garage.freebsd.pl>
In-Reply-To: <5102F6F0.4000100@FreeBSD.org>
References:  <20130122175629.GA1714@garage.freebsd.pl> <51008661.4060006@FreeBSD.org> <20130124161848.GA2386@garage.freebsd.pl> <20130125092602.GB1295@garage.freebsd.pl> <5102F6F0.4000100@FreeBSD.org>

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

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 25, 2013 at 04:19:44PM -0500, Jung-uk Kim wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> 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?):
> >>=20
> >> http://people.freebsd.org/~pjd/misc/acpi_idle_panic_0.jpg=20
> >> http://people.freebsd.org/~pjd/misc/acpi_idle_panic_1.jpg
> >=20
> > 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).
> >=20
> > Closing lid doesn't trigger suspend or anything like that. It just
> > turns off the display.
>=20
> Please try the attached patch (with my previous patch).  Also,
> available from here:
>=20
> 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.

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

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlEECygACgkQForvXbEpPzQ2SwCgxV513hTG4uZ6V8Ofyjp+jpQu
zWkAn3/s6M8iJ8/ZMn44T2IspQlPL/mM
=WDki
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--



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