Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jul 2023 13:10:29 +1000
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Graham Perrin <grahamperrin@freebsd.org>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD 13.2-p1 hanging
Message-ID:  <F9C0B452-8D57-4E16-8110-8B0A140BB561@nimnet.asn.au>
In-Reply-To: <5bdac425-adfd-2f98-c1ec-ecec6ea09508@freebsd.org>
References:  <e6031a0a-5591-eb62-13af-c96a9c7f290d@khubla.com> <eaa2af32-25c7-b92b-b711-acf3069ea6f0@khubla.com> <c5fc6f47-fd91-f56c-6026-5ec2ce0dcbc0@freebsd.org> <280960a2-6406-97bc-173b-0ddc7a2ce75a@khubla.com> <f79ccb26-175a-262f-d9e1-574b838d3543@freebsd.org> <90c9f1e5-b1eb-3c54-2f37-fc35ae1570af@khubla.com> <48201e39-f3d1-488a-9d9a-7342ef91a54e@freebsd.org> <ce5e928c-217b-a1c0-2f65-a5133e543f39@khubla.com> <6fd724c5-1ac7-39a7-b805-91dcdcd73927@khubla.com> <5bdac425-adfd-2f98-c1ec-ecec6ea09508@freebsd.org>

index | next in thread | previous in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F9C0B452-8D57-4E16-8110-8B0A140BB561>