NetBSD Problem Report #58190

From www@netbsd.org  Wed Apr 24 04:48:29 2024
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 A65581A9238
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Apr 2024 04:48:29 +0000 (UTC)
Message-Id: <20240424044828.20C781A923B@mollari.NetBSD.org>
Date: Wed, 24 Apr 2024 04:48:28 +0000 (UTC)
From: mrg@eterna23.net
Reply-To: mrg@eterna23.net
To: gnats-bugs@NetBSD.org
Subject: HP AMD E2-7110 APU system crashed with acpi errors
X-Send-Pr-Version: www-1.0

>Number:         58190
>Category:       kern
>Synopsis:       HP AMD E2-7110 APU system crashed with acpi errors
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 24 04:50:00 +0000 2024
>Last-Modified:  Thu Apr 25 05:50:01 +0000 2024
>Originator:     matthew green
>Release:        -current
>Organization:
>Environment:
amd64, -current from feb 21, 2024.
>Description:
while sitting idle for a few days with the display turned off, the
system crashed shortly after *many* ACPI errors were seen.  main
snippets from the boot/crash log:

cpu0: AMD E2-7110 APU with AMD Radeon R2 Graphics    , id 0x730f01
acpiec0 at acpi0 (EC0, PNP0C09): io 0x62,0x66
acpiwmi0 at acpi0 (WMID, PNP0C14-0): ACPI WMI Interface
wmihp0 at acpiwmi0: HP WMI mappings
ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_NO_MEMORY) (20230628/psparse-580)
acpiec0: error: GPE query method _Q66 failed: AE_NO_MEMORYACPI Error: Aborting method \_SB.WMID.WHCM due to previous error (AE_NO_MEMORY) (202
30628/psparse-580)
acpibat0: error: failed to evaluate _BST: AE_ERROR
acpibat0: error: failed to evaluate _STA: AE_NO_MEMORY
ACPI Error: Could not allocate size 20 (20230628/exnames-116)
ACPI Error: AE_NO_MEMORY, While creating Arg 0 (20230628/dsutils-823)
ACPI Error: Package allocation failure (20230628/utcopy-1001)

then finally we crash here:

uvm_fault(0xfffffa35d5322200, 0x0, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip 0xffffffff80e99fbe cs 0x8 rflags 0x10206 cr2 0 ilevel 0 rsp 0xffffcd040ec0b790
curlwp 0xfffffa35d32ee000 pid 2552.2552 lowest kstack 0xffffcd040ec072c0
panic: trap
cpu1: Begin traceback...
vpanic() at netbsd:vpanic+0x171
panic() at netbsd:panic+0x3c
trap() at netbsd:trap+0xb44
--- trap (number 6) ---
AcpiUtUpdateObjectReference() at netbsd:AcpiUtUpdateObjectReference+0x19e
AcpiUtCopyIobjectToIobject() at netbsd:AcpiUtCopyIobjectToIobject+0xc3
AcpiDsStoreObjectToLocal() at netbsd:AcpiDsStoreObjectToLocal+0xf1
AcpiExOpcode_1A_1T_1R() at netbsd:AcpiExOpcode_1A_1T_1R+0x227
AcpiDsExecEndOp() at netbsd:AcpiDsExecEndOp+0x281
AcpiPsParseLoop() at netbsd:AcpiPsParseLoop+0xe7
AcpiPsParseAml() at netbsd:AcpiPsParseAml+0x83
AcpiPsExecuteMethod() at netbsd:AcpiPsExecuteMethod+0x13f
AcpiNsEvaluate() at netbsd:AcpiNsEvaluate+0x1fc
AcpiEvaluateObject() at netbsd:AcpiEvaluateObject+0xe9
acpi_wmi_method() at netbsd:acpi_wmi_method+0x14b
wmi_hp_method() at netbsd:wmi_hp_method+0x5e
wmi_hp_sensor_refresh() at netbsd:wmi_hp_sensor_refresh+0xc7
sysmon_envsys_refresh_sensor() at netbsd:sysmon_envsys_refresh_sensor+0x1b
sysmonioctl_envsys() at netbsd:sysmonioctl_envsys+0x8d2
cdev_ioctl() at netbsd:cdev_ioctl+0x9b

a more full version of the dmesg can be found here:

   https://www.netbsd.org/~mrg/dmesg-acpiwmi-crash-2024-04-12.txt

>How-To-Repeat:

>Fix:

>Audit-Trail:
From: matthew green <mrg@eterna23.net>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: kern/58190: HP AMD E2-7110 APU system crashed with acpi errors
Date: Thu, 25 Apr 2024 15:49:21 +1000

 FWIW, this system had a pretty useless "acpi" until riastradh@'s
 re-work for acpi_ec.c and friends in july 2023.

 this is the first time i've seen a problem on it since then,
 though it has not often been up as long as it was -- about 3
 weeks -- since the acpi fixes.


 .mrg.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.