NetBSD Problem Report #56404

From www@netbsd.org  Wed Sep 15 20:57:39 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 321681A921F
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 Sep 2021 20:57:39 +0000 (UTC)
Message-Id: <20210915205737.D9C5A1A923A@mollari.NetBSD.org>
Date: Wed, 15 Sep 2021 20:57:37 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: ACPI poweroff fails in current, works in -9
X-Send-Pr-Version: www-1.0

>Number:         56404
>Category:       kern
>Synopsis:       ACPI poweroff fails in current, works in -9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 15 21:00:00 +0000 2021
>Closed-Date:    Mon May 02 15:40:53 +0000 2022
>Last-Modified:  Mon May 02 15:40:53 +0000 2022
>Originator:     nia
>Release:        9.99.88 amd64
>Organization:
The NetBSD Foundation
>Environment:
9.99.88 amd64
>Description:
I have a machine that fails to poweroff in CURRENT, instead displaying these ACPI errors after devices are detached. This only occurs after several hours' uptime, and the machine is able to poweroff shortly after boot.

ACPI Error: Mutex [ACPI_MTX_Namespace] (0x1) is not acquired, cannot release (20210604/utmutex-367)
ACPI Error: Could not release AML Namespace mutex (20210604/exutils-151)
ACPI Error: Mutex [ACPI_MTX_Namespace] (0x1) is not acquired, cannot release (20210604/utmutex-367)
ACPI Error: Could not release AML Namespace mutex (20210604/exutils-151)
ACPI Error: Mutex [ACPI_MTX_Interpreter] (0x0) is not acquired, cannot release (20210604/utxmutex-367)
ACPI Error: Could not release AML Interpreter mutex (20210604/exutils-156)

Sometimes no errors are displayed and the machine simply hangs until it is powered off manually.

ACPI events (e.g. lid open and close) are still recognized and appear in dmesg.

acpidump output: http://procyon.is/acpidump.txt
>How-To-Repeat:
# /sbin/poweroff
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Mon, 02 May 2022 15:40:53 +0000
State-Changed-Why:
Fixed by Riastradh (ZFS bug)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.