From nobody Tue Sep 16 04:54:58 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cQqMQ6rXPz68GwR for ; Tue, 16 Sep 2025 04:54:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cQqMQ6g4qz3Mfs for ; Tue, 16 Sep 2025 04:54:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757998498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZRqx4esp0U6oz5UlpD7gQZeAyQ33wXEqv98yNTQE/Ss=; b=cd+mwqzF6Yrgt5PWaju5bnyyHOPfDFVQ/q967v9AMjOuU3dOXLoS+B7oYLfRjjhY4ALwPp 3MQgUC8DyNbJoWqkeVxk2Kf+R7qusDv1lGCwa3jvZ7CAc5V3Ad96tpmvw5vx94imMyvF2F 7EiTVXK4foCoFnVzLi/WlfViCNkqiVH8ZKP1NjzooFpOqq3ucgCLxUMkTg6ZsgD/MNwyx1 beGckkgTEgMx+zFrsNkabtT7vXKRQrbmvI+ryVr/AyXdhGv3kyqSAoLChqj5qa8N+eiIVu uEUMLiGe5yMudiDbYDxUdiE8HVV5YlS/t1eEbMBJEl4iLCetaZyumlVeWtW6zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757998498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZRqx4esp0U6oz5UlpD7gQZeAyQ33wXEqv98yNTQE/Ss=; b=rbe6bMDMlGO9MGvEI9n7PuU6F/ee6jVrtu8V7ozqaTw4rDHNfMPLNaIiSzurCE5aZDlmkN 6KAFy8onFH7kMTsJCPMaDeolqbd6hrNj2xDDO+FcRynBrbeOKyiHQNMFkcaeRSBiYitwb0 HYalG25to4EsiWr/sivRQNz8PySd12loFVR5OaPYndGpoX0j46J+UO0h/HrdEUel5Ff2uT WxHHtin/bfqgC5aNwk2//71e+UBbCNjsws7fFJ/fA6LdKJDZAFTBk44/7UsI1LAi2nokUA 5CoMHVzGjUlmHe/w60sFUIaW+PhERvcG27Pv0yzSa/CVbVmL+pi1jNO2Z1vx9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757998498; a=rsa-sha256; cv=none; b=hOjLFTLTt4neEQFKVp+UjrdgSoTPjpWdgSz5giJ4lhvCtN4+hiacp23XEr9vAw5CP8oOnb rfQv9jxSH6ORd5IaMZ5H1UIKpnowotjE/+qfpwuQUDZjlRg0ghqGmis4fMvXsz5XSskVZP Ic17T4tJX2KMdKGYu6SBZszJQd7hH6uVf0tZsj9y+tW1/CwzpZJA1bxqZ//fp2nAoQB/t3 6IeNyjzGMiqC7HKqf+33Lqu1YclKpbQpT9eqjhCBbZKM15L85gNSkQ4Mdn3m6O8XnNcHd0 DMRH2Fp/JZohDalYjLVG63nO54th2c+0VIHW5uW6RIotgzJ8wGgfgIgNbaKKDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cQqMQ62z2z9hP for ; Tue, 16 Sep 2025 04:54:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 58G4swIT018261 for ; Tue, 16 Sep 2025 04:54:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58G4swmt018260 for bugs@FreeBSD.org; Tue, 16 Sep 2025 04:54:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289634] ACPI(4) not managing power on 16.0-CURRENT Date: Tue, 16 Sep 2025 04:54:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: dogfood, needs-patch, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289634 --- Comment #3 from Cy Schubert --- One of my machines managed to capture a kernel panic from a poweroff(8). __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%c1,%0" : "=3Dr" (td) (kgdb) #0 __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:= 57=20=20 td =3D #1 doadump (textdump=3Dtextdump@entry=3D1) at /opt/src/git-src/sys/kern/kern_shutdown.c:399 error =3D 0 coredump =3D #2 0xffffffff8070d320 in kern_reboot (howto=3D260) at /opt/src/git-src/sys/kern/kern_shutdown.c:519 once =3D 1 __pc =3D 0x0 #3 0xffffffff8070d857 in vpanic (fmt=3D0xffffffff80b8e00c "%s", ap=3Dap@entry=3D0xfffffe008a636960) at /opt/src/git-src/sys/kern/kern_shutdown.c:974 buf =3D "page fault", '\000' __pc =3D 0x0 __pc =3D 0x0 __pc =3D 0x0 other_cpus =3D {__bits =3D {14, 0 }} td =3D 0xfffff80006607000 bootopt =3D newpanic =3D #4 0xffffffff8070d683 in panic (fmt=3D) at /opt/src/git-src/sys/kern/kern_shutdown.c:887 ap =3D {{gp_offset =3D 16, fp_offset =3D 48, overflow_arg_area =3D 0xfffffe008a636990, reg_save_area =3D 0xfffffe008a636930}} #5 0xffffffff80aeb4bc in trap_fatal (frame=3D, eva=3D) at /opt/src/git-src/sys/amd64/amd64/trap.c:969 type =3D handled =3D #6 0xffffffff80aeb4bc in trap_pfault (frame=3D0xfffffe008a636a00,=20=20 usermode=3Dfalse, signo=3D, ucode=3D) __pc =3D 0x0 __pc =3D 0x0 __pc =3D 0x0 td =3D p =3D eva =3D 136 map =3D ftype =3D rv =3D #7 No locals. #8 device_get_softc (dev=3Ddev@entry=3D0x0) at /opt/src/git-src/sys/kern/subr_bus.c:2141 No locals. #9 0xffffffff80429385 in acpi_wake_sleep_prep (handle=3D0xfffff80007706e00, stype=3DPOWER_STYPE_POWEROFF) at /opt/src/git-src/sys/dev/acpica/acpi.c= :3689 prw =3D {gpe_handle =3D 0x0, gpe_bit =3D 27, lowest_wake =3D 3, pow= er_res =3D {{ Type =3D 0, Integer =3D {Type =3D 0, Value =3D 0}, String =3D= {Type =3D 0, Length =3D 0, Pointer =3D 0x0}, Buffer =3D {Type =3D 0, Len= gth =3D 0, Pointer =3D 0x0}, Package =3D {Type =3D 0, Count =3D 0, Elements =3D 0x0}, Reference =3D {Type =3D 0, ActualType = =3D 0, Handle =3D 0x0}, Processor =3D {Type =3D 0, ProcId =3D 0, PblkAddress =3D 0, PblkLength =3D 87678488}, PowerResource = =3D { Type =3D 0, SystemLevel =3D 0, ResourceOrder =3D 0}}, {Type= =3D 369, Integer =3D {Type =3D 369, Value =3D 8}, String =3D {Type =3D= 369, Length =3D 0, Pointer =3D 0x8 }, Buffer =3D {Type =3D 369, Length =3D 0, Pointer =3D 0x8 }, Buffer =3D {Type =3D 369, Length =3D 0, Pointer =3D 0x8 }, Package =3D {Type =3D 369, Count =3D 0, Elements =3D 0x8}, Re= ference =3D { Type =3D 369, ActualType =3D 0, Handle =3D 0x8}, Processor = =3D { Type =3D 369, ProcId =3D 0, PblkAddress =3D 8, PblkLength = =3D 0}, PowerResource =3D {Type =3D 369, SystemLevel =3D 0, ResourceOrder =3D 8}}, {Type =3D 2159484735, Integer =3D { Type =3D 2159484735, Value =3D 0}, String =3D {Type =3D 215= 9484735, Length =3D 4294967295, Pointer =3D 0x0}, Buffer =3D { Type =3D 2159484735, Length =3D 4294967295, Pointer =3D 0x0= }, Package =3D {Type =3D 2159484735, Count =3D 4294967295, Elements =3D 0x0}, Reference =3D {Type =3D 2159484735, ActualType =3D 4294967295, Handle =3D 0x0}, Processor =3D { Type =3D 2159484735, ProcId =3D 4294967295, PblkAddress =3D= 0, PblkLength =3D 87678488}, PowerResource =3D {Type =3D 21594= 84735, SystemLevel =3D 4294967295, ResourceOrder =3D 0}}, {Type = =3D 458, Integer =3D {Type =3D 458, Value =3D 8}, String =3D {Type =3D= 458, Length =3D 0, Pointer =3D 0x8 }, Buffer =3D {Type =3D 458, Length =3D 0, Pointer =3D 0x8 }, Package =3D {Type =3D 458, Count =3D 0, Elements =3D 0x8}, Re= ference =3D { Type =3D 458, ActualType =3D 0, Handle =3D 0x8}, Processor = =3D { Type =3D 458, ProcId =3D 0, PblkAddress =3D 8, PblkLength = =3D 0}, PowerResource =3D {Type =3D 458, SystemLevel =3D 0, ResourceOrder =3D 8}}, {Type =3D 2159484735, Integer =3D { Type =3D 2159484735, Value =3D 18446741877008067488}, Strin= g =3D { Type =3D 2159484735, Length =3D 4294967295, Pointer =3D 0xfffffe008a636ba0 "\300kc\212"}, Buffer =3D { Type =3D 2159484735, Length =3D 4294967295, Pointer =3D 0xfffffe008a636ba0 "\300kc\212"}, Package =3D { Type =3D 2159484735, Count =3D 4294967295, Elements =3D 0xfffffe008a636ba0}, Reference =3D { Type =3D 2159484735, ActualType =3D 4294967295, Handle =3D 0xfffffe008a636ba0}, Processor =3D {Type =3D 215= 9484735, ProcId =3D 4294967295, PblkAddress =3D 18446741877008067488, PblkLength =3D 2154715683}, PowerResource =3D {Type =3D 215= 9484735, SystemLevel =3D 4294967295, ResourceOrder =3D 2321771424}},= { Type =3D 87678488, Integer =3D {Type =3D 87678488, Value =3D 18446735277723512832}, String =3D {Type =3D 87678= 488, Length =3D 4294965248, Pointer =3D 0xfffff80006607000 "\300\321G\204\377\377\377\3= 77\020 "}, Buffer =3D {Type =3D 87678488, Length =3D 4294965248, Pointer =3D 0xfffff80006607000 "\300\321G\204\377\377\377\3= 77\020 "}, Package =3D {Type =3D 87678488, Count =3D 4294965248, Elements =3D 0xfffff80006607000}, Reference =3D {Type =3D 8= 7678488, ActualType =3D 4294965248, Handle =3D 0xfffff80006607000}, Processor =3D {Type =3D 87678488, ProcId =3D 4294965248, PblkAddress =3D 18446735277723512832, PblkLength =3D 876784= 64}, PowerResource =3D {Type =3D 87678488, SystemLevel =3D 4294965= 248, ResourceOrder =3D 106983424}}, {Type =3D 663, Integer =3D { Type =3D 663, Value =3D 18446735277704207896}, String =3D { Type =3D 663, Length =3D 0, Pointer =3D 0xfffff8000539de18 = ""}, Buffer =3D {Type =3D 663, Length =3D 0, Pointer =3D 0xfffff8000539de18 ""}, Package =3D {Type =3D 6= 63, Count =3D 0, Elements =3D 0xfffff8000539de18}, Reference = =3D { Type =3D 663, ActualType =3D 0, Handle =3D 0xfffff8000539de= 18}, Processor =3D {Type =3D 663, ProcId =3D 0, PblkAddress =3D 18446735277704207896, PblkLength =3D 216558= 1152}, PowerResource =3D {Type =3D 663, SystemLevel =3D 0, ResourceOrder =3D 87678488}}, {Type =3D 87678464, Integer = =3D { Type =3D 87678464, Value =3D 8}, String =3D {Type =3D 87678= 464, Length =3D 4294965248, Pointer =3D 0x8 }, Buffer =3D {Type =3D 87678464, Length =3D 4294965248, Pointer =3D 0x8 }, Package =3D {Type =3D 87678464, Count =3D 4294965248, Element= s =3D 0x8}, Reference =3D {Type =3D 87678464, ActualType =3D 4294965248, Handle =3D 0x8}, Processor =3D {Type =3D 87678464, ProcId =3D 4294965248, PblkAddress =3D 8, PblkLength =3D 2321771456}, PowerResource =3D {Type =3D 876= 78464, SystemLevel =3D 4294965248, ResourceOrder =3D 8}}}, power_res_count =3D 0} dev =3D 0x0 sc =3D sstate =3D #10 acpi_wake_prep (handle=3D0xfffff80007706e00, level=3D, context=3D, status=3D) at /opt/src/git-src/sys/dev/acpica/acpi.c:3764 stype =3D POWER_STYPE_POWEROFF #11 0xffffffff803756db in AcpiNsWalkNamespace (Type=3DType@entry=3D6, StartNode=3D, StartNode@entry=3D0xfffff800050b3880, MaxDepth=3DMaxDepth@entry=3D100, Flags=3DFlags@entry=3D1, DescendingCallback=3DDescendingCallback@entry=3D0xffffffff80429320 , AscendingCallback=3DAscendingCallbac k@entry=3D0x0, Context=3D0xfffffe008a636ce4, ReturnValue=3D0x0) at /opt/src/git-src/sys/contrib/dev/acpica/components/namespace/nswalk.c:484 NodePreviouslyVisited =3D 0 '\000' ParentNode =3D 0xfffff800050b14c0 ChildNode =3D 0xfffff80007706e00 ChildType =3D 6 Level =3D 2 Status =3D 0 MutexStatus =3D #12 0xffffffff80375c45 in AcpiWalkNamespace (Type=3DType@entry=3D6, StartObject=3D0xfffff800050b3880, MaxDepth=3DMaxDepth@entry=3D100, DescendingCallback=3D0xffffffff80429320 , AscendingCallback=3DAscendingCallback@entry=3D0x0, Context=3DContext@entry=3D0xfffffe008a636ce4, ReturnValue=3D) at /opt/src/git-src/sys/contrib/dev/acpica/components/namespace/nsxfeval.c:809 Status =3D 0 #13 0xffffffff80426384 in acpi_wake_prep_walk (stype=3DPOWER_STYPE_POWEROFF) at /opt/src/git-src/sys/dev/acpica/acpi.c:3777 sb_handle =3D 0xfffff800050b3880 #14 acpi_shutdown (dev=3D0xfffff80007716e00) at /opt/src/git-src/sys/dev/acpica/acpi.c:878 No locals. #15 0xffffffff8074c706 in DEVICE_SHUTDOWN (dev=3D0xfffff80007716e00) at ./device_if.h:262 rc =3D _m =3D _cep =3D _ce =3D _desc =3D #16 device_shutdown (dev=3D0xfffff80007716e00) at /opt/src/git-src/sys/kern/subr_bus.c:2753 No locals. #17 bus_generic_shutdown (dev=3D) at /opt/src/git-src/sys/kern/subr_bus.c:3563 child =3D #18 0xffffffff8074c706 in DEVICE_SHUTDOWN (dev=3D0xfffff800051b8200) at ./device_if.h:262 rc =3D _m =3D _cep =3D _ce =3D #16 device_shutdown (dev=3D0xfffff80007716e00) at /opt/src/git-src/sys/kern/subr_bus.c:2753 No locals. #17 bus_generic_shutdown (dev=3D) at /opt/src/git-src/sys/kern/subr_bus.c:3563 child =3D #18 0xffffffff8074c706 in DEVICE_SHUTDOWN (dev=3D0xfffff800051b8200) at ./device_if.h:262 rc =3D _m =3D _cep =3D _ce =3D _desc =3D #19 device_shutdown (dev=3D0xfffff800051b8200) at /opt/src/git-src/sys/kern/subr_bus.c:2753 No locals. #20 bus_generic_shutdown (dev=3D) at /opt/src/git-src/sys/kern/subr_bus.c:3563 child =3D #21 0xffffffff80750d06 in DEVICE_SHUTDOWN (dev=3D0xfffff800051b8500) at ./device_if.h:262 rc =3D _m =3D _cep =3D _ce =3D _desc =3D #22 device_shutdown (dev=3D0xfffff800051b8500) at /opt/src/git-src/sys/kern/subr_bus.c:2753 No locals. #23 root_bus_module_handler (mod=3D, what=3D, arg=3D) at /opt/src/git-src/sys/kern/subr_bus.c:5211 No locals. #24 0xffffffff806e534b in module_shutdown (arg1=3D, arg2=3D) at /opt/src/git-src/sys/kern/kern_module.c:101 mod =3D 0xfffff800051d3b00 #25 0xffffffff8070d3d3 in kern_reboot (howto=3D16392) at /opt/src/git-src/sys/kern/kern_shutdown.c:527 _ep =3D _t =3D 0xfffff800050e9f40 _el =3D 0xfffff800050e4600 once =3D 1 __pc =3D 0x0 #26 0xffffffff8070cd9c in sys_reboot (td=3D0xfffff80006607000, uap=3D0xfffff80006607428) at /opt/src/git-src/sys/kern/kern_shutdown.c:= 308 error =3D 5 #27 0xffffffff80aebe69 in syscallenter (td=3D0xfffff80006607000) at /opt/src/git-src/sys/amd64/amd64/../../kern/subr_syscall.c:193 se =3D 0xffffffff81054310 p =3D 0xfffffe0081002010 sa =3D 0xfffff80006607418 error =3D sy_thr_static =3D true traced =3D _audit_entered =3D #28 amd64_syscall (td=3D0xfffff80006607000, traced=3D0) at /opt/src/git-src/sys/amd64/amd64/trap.c:1208 ksi =3D {ksi_link =3D {tqe_next =3D 0xfffffe008a636f30, tqe_prev =3D 0xffffffff80aeae4d }, ksi_info =3D { si_signo =3D -1973195040, si_errno =3D -512, si_code =3D -21395= 94896, si_pid =3D -1, si_uid =3D 25088, si_status =3D -2047, si_addr =3D 0x800000000000, si_value =3D {sival_int =3D -860430= 388, sival_ptr =3D 0x326493c1ccb6dfcc, sigval_int =3D -860430388, sigval_ptr =3D 0x326493c1ccb6dfcc}, _reason =3D {_fault =3D { _trapno =3D 3}, _timer =3D {_timerid =3D 3, _overrun =3D 0}= , _mesgq =3D { _mqd =3D 3}, _poll =3D {_band =3D 3}, _capsicum =3D {_sysca= ll =3D 3}, __spare__ =3D {__spare1__ =3D 3, __spare2__ =3D {106984784, -= 2048, -1973194752, -512, -2126868952, -1, 106983424}}}}, ksi_flags =3D -2130704888, ksi_sigq =3D 0x7} #29 No locals. #30 0x000000000028bb1a in ?? () --=20 You are receiving this mail because: You are the assignee for the bug.=