Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2025 22:53:32 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        "Enji Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
Cc:        Yasuhiro Kimura <yasu@freebsd.org>, freebsd-current@freebsd.org,  "obiwac@freebsd.org" <obiwac@freebsd.org>
Subject:   Re: ACPI error after update to n280504-1f2a65222b88
Message-ID:  <CAN6yY1tz%2B5cdRUknBVJ3tVfGw%2BTBX0=i-pZJnAak57JdVxxYPA@mail.gmail.com>
In-Reply-To: <2E2426C6-C2E4-49E1-99E5-60D5A98383BF@gmail.com>
References:  <CAN6yY1tyOKjPfOOnC0k6pye1RUoNQHQH9Vg0L3JfvxwrJ8k76A@mail.gmail.com> <20250922.112305.218918605244730977.yasu@FreeBSD.org> <CAN6yY1vjTGmEm-AgnZNfFY7va-t9r9yn=sneWOs_PtuR64DOqQ@mail.gmail.com> <2E2426C6-C2E4-49E1-99E5-60D5A98383BF@gmail.com>

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

[-- Attachment #1 --]
On Tue, Sep 23, 2025 at 7:25 PM Enji Cooper (yaneurabeya) <
yaneurabeya@gmail.com> wrote:

>
> > 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


Thanks, but these errors were caused by hte commit that broke several ports
including postfix. It turns out that rebuilding the failed ports. That is
really a work-around, but allowed me to get postfix working correctly and,
as a fringe benefit, fixed the ACPI errors. since it was a change in error
returns that caused the problem.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">On Tue, Sep 23, 2025 at 7:25 PM Enji Cooper (yaneurabeya) &lt;<a href="mailto:yaneurabeya@gmail.com">yaneurabeya@gmail.com</a>&gt; wrote:</div></div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
&gt; On Sep 21, 2025, at 10:41 PM, Kevin Oberman &lt;<a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a>&gt; wrote:<br>
&gt; <br>
&gt; On Sun, Sep 21, 2025 at 7:24 PM Yasuhiro Kimura &lt;<a href="mailto:yasu@freebsd.org" target="_blank">yasu@freebsd.org</a>&gt; wrote:<br>
&gt; From: Kevin Oberman &lt;<a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a>&gt;<br>
&gt; Subject: ACPI error after update to n280504-1f2a65222b88<br>
&gt; Date: Sun, 21 Sep 2025 18:45:07 -0700<br>
&gt; <br>
&gt; &gt; Since updating my 16.0 system on Friday, I am getting lots of this errors:<br>
&gt; &gt; acpi0: request to enter state NONE failed (err 22)<br>
<br>
        `err 22` means `EINVAL`, which points to this block of code from `sys/dev/acpica/acpi.c`:<br>
```<br>
3193 acpi_ReqSleepState(struct acpi_softc *sc, int state)<br>
3194 {<br>
3195 #if defined(__amd64__) || defined(__i386__)<br>
3196     struct apm_clone_data *clone;<br>
3197     ACPI_STATUS status;<br>
3198  <br>
3199     if (state &lt; ACPI_STATE_S1 || state &gt; ACPI_S_STATES_MAX)<br>
3200         return (EINVAL);<br>
```<br>
<br>
        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).<br>
        I wonder if this commit is related: <a href="https://cgit.FreeBSD.org/src/commit/?id=506b36c4fdde0b402cc730b41a9d9d20130e1bca" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/src/commit/?id=506b36c4fdde0b402cc730b41a9d9d20130e1bca</a>; &lt;<a href="https://cgit.freebsd.org/src/commit/?id=506b36c4fdde0b402cc730b41a9d9d20130e1bca" rel="noreferrer" target="_blank">https://cgit.freebsd.org/src/commit/?id=506b36c4fdde0b402cc730b41a9d9d20130e1bca</a>&gt; (CCed obiwac@).<br>
Cheers,<br>
-Enji</blockquote></div><div><br clear="all"></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">Thanks, but these errors were caused by hte commit that broke several ports including postfix. It turns out that rebuilding the failed ports. That is really a work-around, but allowed me to get postfix working correctly and, as a fringe benefit, fixed the ACPI errors. since it was a change in error returns that caused the problem.</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kevin Oberman, Part time kid herder and retired Network Engineer<br>E-mail: <a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div></div></div></div></div></div></div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tz%2B5cdRUknBVJ3tVfGw%2BTBX0=i-pZJnAak57JdVxxYPA>