linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Jan Engelhardt <jengelh@inai.de>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Subject: Re: Linux hangs at ACPI init on Medion P15648 MD63490
Date: Sun, 16 Feb 2020 01:32:55 +0100	[thread overview]
Message-ID: <CAJZ5v0jesX_fz6-1wnNqYqtVE1qtjZhMsq2OW2L6EGvcpLPtsg@mail.gmail.com> (raw)
In-Reply-To: <nycvar.YFH.7.76.2002141734590.24119@n3.vanv.qr>

On Fri, Feb 14, 2020 at 8:28 PM Jan Engelhardt <jengelh@inai.de> wrote:
>
> Greetings.
>
>
> I have a problem with a certain x86 laptop, and judging from the
> kernel's output, this looks very much like a broken ACPI table.
> Versions tried are 5.3.8 (Fedora31 liveimage), 5.5.2 (openSUSE
> Tumbleweed installer) and 5.6.0-rc1+
> (b19e8c68470385dd2c5440876591fddb02c8c402; self compile), all
> exhibiting the same hang.
>
> The last messages emitted by 5.6.0-rc1+ are:
>
>         ACPI: 11 ACPI AML tables successfully acquired and loaded
>         ACPI: EC: EC started
>         ACPI: EC: interrupt blocked
>         ACPI: \: Used as first EC
>         ACPI: \: GPE=0x10, IRQ=-1, EC_CMD/EC_SC=0x66, EC_DATA=0x62
>         ACPI: EC: Boot ECDT EC used to handle transactions
>         <hang>
>
> The full boot procedure is made available at
> http://inai.de/files/m921.mp4 [79MB].
> Curiously, FreeBSD 12.1 can be booted without issues, so either they
> already workaround the issue, or don't trigger it in the first place.

Would it be possible to try 5.0 or earlier on the problematic machine?

You may be hitting a regression here.

> After about 20 minutes, the kernel issues a stack trace.
> http://inai.de/files/m922.mp4 [4.2M]; this seems to repeat every
> 20 minutes:
>
>         Task swapper blocked for more than 491 seconds.
>         schedule
>         schedule_timeout
>         __down_timeout
>         down_timeout
>         acpi_os_wait_semaphore
>         acpi_ex_system_wait_semaphore
>         acpi_ev_acquire_global_lock
>         acpi_ex_acquire_mutex_object
>         acpi_ex_acquire_global_lock
>         acpi_ex_write_data_to_field
>         acpi_ex_store_object_to_node
>         acpi_ex_store
>         acpi_ex_opcode_1A_1T_1R
>         acpi_ds_exec_end_op
>         acpi_ps_parse_loop
>         [a few frames more]
>
> For comparison, a (vastly) different laptop with a proper firmware,
> the EC messages go like this:
>
>         <Fujitsu U728 for comparison>
>         ACPI: EC: EC started
>         ACPI: EC: interrupt blocked
>         ACPI: \_SB_.PCI0.LPCB.EC__: Used as first EC
>         ACPI: \_SB_.PCI0.LPCB.EC__: GPE=0x22, EC_CMD/EC_SC=0x66, EC_DATA=0x62
>         ACPI: \_SB_.PCI0.LPCB.EC__: Boot DSDT EC used to handle transactions
>         ACPI: Interpreter enabled
>
> It kind of makes sense that, if "\" is seen as an EC in the Medion that
> it is not going to work.

  reply	other threads:[~2020-02-16  0:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14 19:28 Linux hangs at ACPI init on Medion P15648 MD63490 Jan Engelhardt
2020-02-16  0:32 ` Rafael J. Wysocki [this message]
2020-02-16 14:15   ` Jan Engelhardt
2020-02-16 20:49     ` Rafael J. Wysocki
2020-02-17  0:10       ` Jan Engelhardt
2020-02-17 20:23         ` Rafael J. Wysocki
2020-02-25 15:09           ` Moore, Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJZ5v0jesX_fz6-1wnNqYqtVE1qtjZhMsq2OW2L6EGvcpLPtsg@mail.gmail.com \
    --to=rafael@kernel.org \
    --cc=jengelh@inai.de \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).