From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1czQdI-0005Qp-4t for mharc-grub-devel@gnu.org; Sat, 15 Apr 2017 12:33:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czQdG-0005Qf-63 for grub-devel@gnu.org; Sat, 15 Apr 2017 12:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czQdF-0002yV-7A for grub-devel@gnu.org; Sat, 15 Apr 2017 12:33:06 -0400 Received: from mail.gw90.de ([2a01:4f8:100:7463::3]:46888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czQdF-0002wo-0V for grub-devel@gnu.org; Sat, 15 Apr 2017 12:33:05 -0400 Received: from [2a02:8109:8ac0:1c7f:5e33:e478:c88b:8ec4] (helo=mattotaupa) by mail.gw90.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1czQdC-0003Qu-KB for grub-devel@gnu.org; Sat, 15 Apr 2017 16:33:02 +0000 Message-ID: <1492273973.2222.113.camel@users.sourceforge.net> Subject: `halt` =?UTF-8?Q?doesn=E2=80=99t?= work on Lenovo T60 with coreboot and GRUB payload From: Paul Menzel To: grub-devel@gnu.org Date: Sat, 15 Apr 2017 18:32:53 +0200 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-7qK96tqZ/5TcdYE0Q+y7" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:4f8:100:7463::3 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2017 16:33:07 -0000 --=-7qK96tqZ/5TcdYE0Q+y7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear GRUB folks, On a Lenovo T60 with coreboot and the GRUB payload, version 2.02-rc1, entering `halt` in the GRUB command line, nothing happens. The cursor goes one line below, and everything stays that way. After that, the system can only be powered off by pressing the power button for ten seconds. Setting `debug=3Dall` before that =E2=80=93 `debug=3Dhalt` didn=E2=80=99t w= ork =E2=80=93 the last lines are below. ``` [=E2=80=A6] commands/acpihalt.c:107: data type =3D 0x12 commands/acpihalt.c:241: Opcode 0x8 commands/acpihalt.c:242: Tell 2dbd commands/acpihalt.c:107: data type =3D 0x12 commands/acpihalt.c:241: Opcode 0x8 commands/acpihalt.c:242: Tell 2dcd commands/acpihalt.c:269: S5 found commands/acpihalt.c:444: SLP_TYP =3D 7, port =3D 0x504 ``` I would have expected at least the monitor to go dark, and maybe also the system to power off as there is no specific command `poweroff` [1].=C2=A0 > The command halts the computer. If the --no-apm option is specified, > no APM BIOS call is performed. Otherwise, the computer is shut down > using APM. I heard, that SysV implemented `halt` =E2=80=9Cincorrectly=E2=80=9D, so tha= t it also powered off the system. Only `halt -p` or `poweroff` was supposed to that. so I don=E2=80=99t know, how GRUB=E2=80=99s implementation of `halt` = is supposed to work. Kind regards, Paul [1] https://www.gnu.org/software/grub/manual/html_node/halt.html#halt --=-7qK96tqZ/5TcdYE0Q+y7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQ8+w9d414FAVARIpk9fVorbA4dWAUCWPJLNgAKCRA9fVorbA4d WFJNAJ4xcps39WMPrtQ1JQWGCby0lMXxnwCfe96OC3yW++SCCog/96oED8xgOLc= =+FCE -----END PGP SIGNATURE----- --=-7qK96tqZ/5TcdYE0Q+y7--