Re: FreeBSD 13.2-p1 hanging

From: Ian Smith <smithi_at_nimnet.asn.au>
Date: Sun, 02 Jul 2023 03:10:29 UTC
On 2 July 2023 3:06:42 am AEST, Graham Perrin <grahamperrin@freebsd.org> wrote:
 > On 01/07/2023 16:37, Tom Everett wrote:

 > > … a follow-up that things have been stable, until this morning when I
 > > woke up to essentially the same; system hung and unresponsive to
 > > the keyboard or ssh.
 
 > Add the line below to /etc/sysctl.conf then restart the OS.
 > 
 > hw.acpi.power_button_state="S5"

Isn't that the default setting on any ACPI system, i.e. pretty much everything?

Or at least, on any that include S5 in
sysctl hw.acpi.supported_sleep_state ?

It is on mine, but they're laptops.

 > S5 should cause a press on the power button to gracefully shut down the
 > computer. In my experience this button sometimes works when FreeBSD
 > is otherwise unresponsive.

Indeed it often does (as I recall, it's been years :)

cheers, Ian