grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* `halt` doesn’t work on Lenovo T60 with coreboot and GRUB payload
@ 2017-04-15 16:32 Paul Menzel
  2017-04-15 16:52 ` Andrei Borzenkov
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Menzel @ 2017-04-15 16:32 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

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=all` before that – `debug=halt` didn’t work – the last
lines are below.

```
[…]
commands/acpihalt.c:107: data type = 0x12
commands/acpihalt.c:241: Opcode 0x8
commands/acpihalt.c:242: Tell 2dbd
commands/acpihalt.c:107: data type = 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 = 7, port = 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]. 

> 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` “incorrectly”, so that it also
powered off the system. Only `halt -p` or `poweroff` was supposed to
that. so I don’t know, how GRUB’s implementation of `halt` is supposed
to work.


Kind regards,

Paul


[1] https://www.gnu.org/software/grub/manual/html_node/halt.html#halt

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-16 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-15 16:32 `halt` doesn’t work on Lenovo T60 with coreboot and GRUB payload Paul Menzel
2017-04-15 16:52 ` Andrei Borzenkov
2017-04-16 19:34   ` Paul Menzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).