Re: ACPI error after update to n280504-1f2a65222b88

From: Enji Cooper (yaneurabeya) <yaneurabeya_at_gmail.com>
Date: Wed, 24 Sep 2025 02:24:48 UTC
> On Sep 21, 2025, at 10:41 PM, Kevin Oberman <rkoberman@gmail.com> wrote:
> 
> On Sun, Sep 21, 2025 at 7:24 PM Yasuhiro Kimura <yasu@freebsd.org> wrote:
> From: Kevin Oberman <rkoberman@gmail.com>
> Subject: ACPI error after update to n280504-1f2a65222b88
> Date: Sun, 21 Sep 2025 18:45:07 -0700
> 
> > Since updating my 16.0 system on Friday, I am getting lots of this errors:
> > acpi0: request to enter state NONE failed (err 22)

	`err 22` means `EINVAL`, which points to this block of code from `sys/dev/acpica/acpi.c`:
```
3193 acpi_ReqSleepState(struct acpi_softc *sc, int state)
3194 {
3195 #if defined(__amd64__) || defined(__i386__)
3196     struct apm_clone_data *clone;
3197     ACPI_STATUS status;
3198  
3199     if (state < ACPI_STATE_S1 || state > ACPI_S_STATES_MAX)
3200         return (EINVAL);
```

	What state are you trying to enter? You might have not be entering the mode, which could be why you’re hitting that message (some defensive code might be missing).
	I wonder if this commit is related: https://cgit.FreeBSD.org/src/commit/?id=506b36c4fdde0b402cc730b41a9d9d20130e1bca <https://cgit.freebsd.org/src/commit/?id=506b36c4fdde0b402cc730b41a9d9d20130e1bca> (CCed obiwac@).
Cheers,
-Enji