From owner-freebsd-current@FreeBSD.ORG Sat Jan 26 16:57:36 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CA3ACCB0; Sat, 26 Jan 2013 16:57:36 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 889CC7C0; Sat, 26 Jan 2013 16:57:36 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 120468DF; Sat, 26 Jan 2013 17:54:59 +0100 (CET) Date: Sat, 26 Jan 2013 17:58:16 +0100 From: Pawel Jakub Dawidek To: Jung-uk Kim Subject: Re: ACPI panic on unplugging the power cord. Message-ID: <20130126165816.GA1376@garage.freebsd.pl> References: <20130122175629.GA1714@garage.freebsd.pl> <51008661.4060006@FreeBSD.org> <20130124161848.GA2386@garage.freebsd.pl> <20130125092602.GB1295@garage.freebsd.pl> <5102F6F0.4000100@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <5102F6F0.4000100@FreeBSD.org> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2013 16:57:36 -0000 --+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--