[martin@mh57.de: Re: [ltp] Re: R40 APM Standby and Power-Off not working]

Martin Hermanowski linux-thinkpad@linux-thinkpad.org
Mon, 16 Jun 2003 10:24:37 +0200


--uxuisgdDHaNETlh8
Content-Type: multipart/mixed; boundary="vOmOzSkFvhd7u8Ms"
Content-Disposition: inline


--vOmOzSkFvhd7u8Ms
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I should have set the right sender address :-/

--vOmOzSkFvhd7u8Ms
Content-Type: message/rfc822
Content-Disposition: inline

Date: Sat, 14 Jun 2003 20:57:32 +0200
From: Martin Hermanowski <martin@mh57.de>
To: linux-thinkpad@linux-thinkpad.org
Subject: Re: [ltp] Re: R40 APM Standby and Power-Off not working
Message-ID: <20030614185732.GB25570@mh57.de>
References: <200306062153.58209.g_sauthoff@web.de> <200306071423.20080.g_sauthoff@web.de> <20030607123149.GD8449@mh57.de> <200306071733.28136.g_sauthoff@web.de> <20030607154845.GB20301@mh57.de> <871xxypspl.fsf@complete.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="OZkY3AIuv2LYvjdk"
Content-Disposition: inline
In-Reply-To: <871xxypspl.fsf@complete.org>
User-Agent: Mutt/1.5.3i


--OZkY3AIuv2LYvjdk
Content-Type: multipart/mixed; boundary="/unnNtmY43mpUSKx"
Content-Disposition: inline


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

On Thu, Jun 12, 2003 at 10:22:14PM -0500, John Goerzen wrote:
> Martin Hermanowski <martin@mh57.de> writes:
>=20
> >> > Are you sure that apm in enabled?
> >>=20
> >> Yes, of course, I posted the apm options, which are enabled, in my fir=
st mail.
> >
> > Try setting `Use real mode APM BIOS call to power off' to no. This
> > should not be needed on current machines.
>=20
> For what it's worth, I've observed the same behavior on my T40p and
> that option is indeed disabled over here.

I just read the attached mail on linux-kernel, perhaps this is an issue
specific to centrino-machines.

LLAP, Martin

--=20
pgp-key: https://mh57.de/cc/view.php?file=3D/martin/pgp

--/unnNtmY43mpUSKx
Content-Type: message/rfc822
Content-Disposition: inline

Delivered-To: postmaster@pegasus
Received: from localhost (127.0.0.1) by pegasus with POP3 for
  <postmaster@pegasus>; 14 Jun 2003 18:08:02 -0000
Return-path: <linux-kernel-owner+lkml=40martin.mh57.de@vger.kernel.org>
Envelope-to: lkml@martin.mh57.de
Delivery-date: Sat, 14 Jun 2003 19:27:09 +0200
Received: from vger.kernel.org ([209.116.70.75])
	by mithrin.mh57.de with esmtp (Exim 3.35 #1)
	id 19REo1-0003Su-00
	for lkml@martin.mh57.de; Sat, 14 Jun 2003 19:27:09 +0200
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
	id S265692AbTFNRL4 (ORCPT <rfc822;lkml@martin.mh57.de>);
	Sat, 14 Jun 2003 13:11:56 -0400
Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265693AbTFNRL4
	(ORCPT <rfc822;linux-kernel-outgoing>);
	Sat, 14 Jun 2003 13:11:56 -0400
Received: from smtp-out8.blueyonder.co.uk ([195.188.213.11]:19611 "EHLO
	smtp-out8.blueyonder.co.uk") by vger.kernel.org with ESMTP
	id S265692AbTFNRLz (ORCPT <rfc822;linux-kernel@vger.kernel.org>);
	Sat, 14 Jun 2003 13:11:55 -0400
Received: from 10.10.0.100 ([80.192.219.59]) by smtp-out8.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5329);
	 Sat, 14 Jun 2003 18:25:45 +0100
From: Edward Macfarlane Smith <snowfire@blueyonder.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Machine does not shutdown with certain configuration
Date: Sat, 14 Jun 2003 18:26:21 +0100
User-Agent: KMail/1.5.1
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200306141826.21935.snowfire@blueyonder.co.uk>
X-OriginalArrivalTime: 14 Jun 2003 17:25:45.0652 (UTC) FILETIME=[FD3CEF40:01C33299]
Sender: linux-kernel-owner@vger.kernel.org
Precedence: bulk
X-Mailing-List: linux-kernel@vger.kernel.org
X-Spam-Status: No, hits=-5.0 required=5.0 tests=UNIFIED_PATCH version=2.20
X-Spam-Level: 

Since getting my new laptop (Sony PCG-Z1SP, it's a Centrino machine) I had 
never got it to successfully power off. I had just been using the SuSE kernel 
and then the same configuration that worked well on a couple of other 
machines, but I then tried a different configuration and it powered off, 
after I did a little playing I tracked it down to the "Local APIC support on 
uniprocessors" option. Turning this off makes the machine poweroff. 
I have checked this on 2.4.21-rc6-ac1 and 2.4.21-ac1. I just thought other 
people might find that useful to know. 
The text on the help for CONFIG_X86_UP_APIC seems to suggest it's fine to use 
it on any machine (and certainly while running it seems to make no 
difference), would a patch to the text to indicate it may prevent power off 
be accepted, or is this problem too specific to this machine to be included?
Regards,
Edward

e.g.

--- linux-2.4.21_ac1_orig/Documentation/Configure.help  2003-06-14 
16:00:30.000000000 +0100
+++ linux/Documentation/Configure.help  2003-06-14 18:04:18.000000000 +0100
@@ -289,6 +289,8 @@
   have a local APIC, then the kernel will still run with no slowdown at
   all. The local APIC supports CPU-generated self-interrupts (timer,
   performance counters), and the NMI watchdog which detects hard lockups.
+  On some machines (e.g. Sony Vaio PCG-Z1SP) this option may prevent the
+  machine from powering off when it is halted.

   If you have a system with several CPUs, you do not need to say Y
   here: the local APIC will be used automatically.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


--/unnNtmY43mpUSKx--

--OZkY3AIuv2LYvjdk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+63AcmGb6Npij0ewRAiBSAKCbLiKi6VG/+ijSKCAmI/8Sn90XIgCdGv9o
BufqAEXRvorugI5J0v2tb50=
=r0vB
-----END PGP SIGNATURE-----

--OZkY3AIuv2LYvjdk--

--vOmOzSkFvhd7u8Ms--

--uxuisgdDHaNETlh8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+7X7FmGb6Npij0ewRAqkyAJ9XUCvxDiLWTJu6CxdLohN+Afni8gCgoH8W
X5RJiYxCvlFymXHSdNH129k=
=K0mI
-----END PGP SIGNATURE-----

--uxuisgdDHaNETlh8--