Linux-ACPI Archive on lore.kernel.org
 help / color / Atom feed
From: Jan Engelhardt <jengelh@inai.de>
To: linux-acpi@vger.kernel.org
Subject: Linux hangs at ACPI init on Medion P15648 MD63490
Date: Fri, 14 Feb 2020 20:28:52 +0100 (CET)
Message-ID: <nycvar.YFH.7.76.2002141734590.24119@n3.vanv.qr> (raw)

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.

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 index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14 19:28 Jan Engelhardt [this message]
2020-02-16  0:32 ` Rafael J. Wysocki
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

Reply instructions:

You may reply publically 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=nycvar.YFH.7.76.2002141734590.24119@n3.vanv.qr \
    --to=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

Linux-ACPI Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-acpi/0 linux-acpi/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-acpi linux-acpi/ https://lore.kernel.org/linux-acpi \
		linux-acpi@vger.kernel.org
	public-inbox-index linux-acpi

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-acpi


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git