Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2022 16:39:28 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Masachika ISHIZUKA <ish@amail.plala.or.jp>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: dmesg: ACPI Warning: Firmware issue warning spaming
Message-ID:  <CAFDf7U%2B-pOz_Fw6zF3m2QdA=KGArME0f-G_ZaiUuRmCHwJ%2B86A@mail.gmail.com>
In-Reply-To: <20220612.170203.1570364119618551543.ish@amail.plala.or.jp>
References:  <CAFDf7U%2BHP1nOFRjBnO-EcgK9Nrw6PwC5GTaSGQPJenhe9etFbw@mail.gmail.com> <20220612.170203.1570364119618551543.ish@amail.plala.or.jp>

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

[-- Attachment #1 --]
What do you think opening a review about this fix/tweak to stop this
spamming that blinds dmesg?

Masachika ISHIZUKA <ish@amail.plala.or.jp> escreveu no dia domingo,
12/06/2022 à(s) 09:03:

> > I'm running CURRENT 8d95f500521 and I'm receiving loads of dmesg
> warnings:
> > ---
> > ACPI Warning: Firmware issue: Excessive sleep time (0x0000000000000010
> ms >
> > 10 ms) in ACPI Control Method (20220331/exsystem-347)
> > ---
> > Is there a way to silence it?
>
>   Hi.
>
>   I think these messages are only informational and make them easier
> to miss more important messages.
>   My old machine's ACPI bios is worked at 20msec, so I did patch to
> /usr/src/sys/contrib/dev/acpica/components/executer/exsystem.c like below.
>
> % diff -ruN exsystem.c.orig exsystem.c
> --- exsystem.c.orig     2022-04-03 07:18:33.339997000 +0900
> +++ exsystem.c  2022-04-26 19:13:06.814856000 +0900
> @@ -342,10 +342,10 @@
>       * Warn users about excessive sleep times, so ASL code can be
> improved to
>       * use polling or similar techniques.
>       */
> -    if (HowLongMs > 10)
> +    if (HowLongMs > 20)
>      {
>         ACPI_WARNING ((AE_INFO,
> -            "Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 10
> ms)"
> +            "Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 20
> ms)"
>              " in ACPI Control Method",
>              ACPI_FORMAT_UINT64 (HowLongMs)));
>      }
> --
> Masachika ISHIZUKA
>
>

[-- Attachment #2 --]
<div dir="ltr">What do you think opening a review about this fix/tweak to stop this spamming that blinds dmesg?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Masachika ISHIZUKA &lt;<a href="mailto:ish@amail.plala.or.jp">ish@amail.plala.or.jp</a>&gt; escreveu no dia domingo, 12/06/2022 à(s) 09:03:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; I&#39;m running CURRENT 8d95f500521 and I&#39;m receiving loads of dmesg warnings:<br>
&gt; ---<br>
&gt; ACPI Warning: Firmware issue: Excessive sleep time (0x0000000000000010 ms &gt;<br>
&gt; 10 ms) in ACPI Control Method (20220331/exsystem-347)<br>
&gt; ---<br>
&gt; Is there a way to silence it?<br>
<br>
  Hi.<br>
<br>
  I think these messages are only informational and make them easier<br>
to miss more important messages.<br>
  My old machine&#39;s ACPI bios is worked at 20msec, so I did patch to<br>
/usr/src/sys/contrib/dev/acpica/components/executer/exsystem.c like below.<br>
<br>
% diff -ruN exsystem.c.orig exsystem.c<br>
--- exsystem.c.orig     2022-04-03 07:18:33.339997000 +0900<br>
+++ exsystem.c  2022-04-26 19:13:06.814856000 +0900<br>
@@ -342,10 +342,10 @@<br>
      * Warn users about excessive sleep times, so ASL code can be improved to<br>
      * use polling or similar techniques.<br>
      */<br>
-    if (HowLongMs &gt; 10)<br>
+    if (HowLongMs &gt; 20)<br>
     {<br>
        ACPI_WARNING ((AE_INFO,<br>
-            &quot;Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms &gt; 10 ms)&quot;<br>
+            &quot;Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms &gt; 20 ms)&quot;<br>
             &quot; in ACPI Control Method&quot;,<br>
             ACPI_FORMAT_UINT64 (HowLongMs)));<br>
     }<br>
-- <br>
Masachika ISHIZUKA<br>
<br>
</blockquote></div>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2B-pOz_Fw6zF3m2QdA=KGArME0f-G_ZaiUuRmCHwJ%2B86A>