From nobody Wed Sep 17 21:48:57 2025 X-Original-To: freebsd-current@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 4cRsq257BYz6879h for ; Wed, 17 Sep 2025 21:49:02 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cRsq24pGXz3Sp7; Wed, 17 Sep 2025 21:49:02 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758145742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ld6+RJQgKLTARLoieUxiWXqPPzO6r35aEm6i9GstNLI=; b=YAsX3vvxuWnJU7ht2n2gbZNo1ATQ3tA2e1zHMFN/OJOgWvwvLSZw0wxd7ROYcfje96qJeP KZikQYlTEOZFF8D1HM4PfE1P7/o3MuWvVz1pFcCss/OHYoc4Hy3+tjatq9brBraF7ltU+p POMLv8lHFGI6SMpLXQMVQxRilv2vOlIBKAQABnaEXsqDNR/kk7IMMNvvwx3Pl0pEDEDKNf ZUWLxztzFD4VXISZoCmzWhx+o/csxeemKVGTyHfjmwFMuc78hBmDvpHlIm2QEcEaI8PYXy dj58NPbFnHNFAYfeK4nkzLYb1V7ActyNSzA0ntloiZqL38HiYUpvyWNwagb1Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758145742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ld6+RJQgKLTARLoieUxiWXqPPzO6r35aEm6i9GstNLI=; b=ZReDEPoBhkEBCi3Da18VDkZS6b5SvX4b6MrAori3vM6H4/dYTAW+5MomS3Jbbd4J44GmK/ u9a/dGvOdLzjmNdKQLP5eaIoT/pPKGn2r5Yhdqa68hL8BqpNKla4cSD1H0G/ifLBQIiwuh JpoRiGwz8D9XbzTds4De77UFP3sIzk+SDwBk1CJH6CSTmq7E4EbXWxalOSiPSfohogWDW8 2qPV55JzBhkKrUyRBqSaQq+EDAy6UMZk5WlPR9jSTpTucWP9HsmK/Sxe4ykcYlDQjwfnWC LeKRLHwbnLLfCXzU9f2QoGKcKJqtjJi32omSJOQXg6HGlNZXWpO6o7g92em/7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758145742; a=rsa-sha256; cv=none; b=szFVsdbKSR5TwlfOK3XqS4ZVhYVgKKaVZ3tIriyOxsn0B1ClmhXqQCTYzX/Y4qX7yMUDPK Vu+ns6/RV+a2YfwK3ipwzjriVzvaZaIhrZtrk5w2g3m0Zjy+2aTaoeYMzzhAwZMOuYR3zm s9puwvUBN4NxZDJw8cVVqk29IAI//qOwBCk9MCZjgaCQX9DZ0q6liFXbpMKaO8U43NQ1T1 lxBiObc71JF9pGGutemuyeAcS7UAvBce0C0YSCeb3pDjOJLv0sWFUgNJzPYWVKiIDxpLGH ZVsLrdrsyTTLb+baO2pkWuxPzhObNKAjSiz4LbUOB8ytLJ5HHUAdqVP+3c9ItA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E6" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cRsq22SpZz6PS; Wed, 17 Sep 2025 21:49:02 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id E8B58A64806; Wed, 17 Sep 2025 21:48:51 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 9A3332D029E6; Wed, 17 Sep 2025 21:49:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id D3qOWcPnDLOF; Wed, 17 Sep 2025 21:48:58 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 14ED22D029D8; Wed, 17 Sep 2025 21:48:58 +0000 (UTC) Date: Wed, 17 Sep 2025 21:48:57 +0000 (UTC) From: "Bjoern A. Zeeb" To: Oleg Nauman cc: A FreeBSD User , FreeBSD CURRENT Subject: Re: CURRENT: panic init() on acpi_shutdown In-Reply-To: Message-ID: <7709p7nn-s774-152o-p6n0-50nn9310q85p@SerrOFQ.bet> References: <20250917214321.7e28fe5e@thor.sb211.local> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-1478158849-1758145738=:4494" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-1478158849-1758145738=:4494 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 17 Sep 2025, Oleg Nauman wrote: > On Wed, Sep 17, 2025 at 10:44 PM A FreeBSD User wrote: >> >> Hello, >> >> Maybe some minor issue, but since two days I can not shutdown recent CURRENT (at the moment >> FreeBSD 16.0-CURRENT #0 master-n280445-2d85bc89294b: Wed Sep 17 20:11:48 CEST 2025 amd64). >> >> System stops with a db> carret, a backtrace is shown. No core saved (although configured), USB >> keyboards unresponsive, filesystems (system on UFS, data graveyard on ZFS) unharmed and >> already cleanly unmounted as it seems, tried to save the backtrace, but keyboards are >> nonworking at that stage (picture taken from screen only). >> >> The crash seems to occur quite after everything is ready to reboot and or switch the box off. Yes, and USB is all detached; same problem here. Started after I rebased my branch to main yesterday. > I am experiencing the same issue with panic on shutdown > > Backtrace looks like Seems you are blessed in that your keyboard still worked? I could not get a dump either; only a photo of the panic so far. The end of the backtrace looks the same. > __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 > 57 __asm("movq %%gs:%c1,%0" : "=r" (td) > (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 > td = > #1 doadump (textdump=) at /usr/src/sys/kern/kern_shutdown.c:399 > error = 0 > coredump = > #2 0xffffffff80517da9 in kern_reboot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:519 > once = 1 > #3 0xffffffff8051824b in vpanic (fmt=0xffffffff808b9cbc "%s", > ap=ap@entry=0xfffffe00df015970) at /usr/src/sys/kern/kern_shutdown.c:974 > buf = "page fault", '\000' > __pc = 0x0 > __pc = 0x0 > __pc = 0x0 > other_cpus = {__bits = {254, 0 }} > td = 0xfffff8010261b780 > bootopt = > newpanic = > #4 0xffffffff805180e3 in panic (fmt=) > at /usr/src/sys/kern/kern_shutdown.c:887 > ap = {{gp_offset = 16, fp_offset = 48, > overflow_arg_area = 0xfffffe00df0159a0, > reg_save_area = 0xfffffe00df015940}} > #5 0xffffffff80860ead in trap_fatal (frame=, > eva=) at /usr/src/sys/amd64/amd64/trap.c:969 > type = > #6 0xffffffff80860ead in trap_pfault (frame=0xfffffe00df0159f0, > usermode=, signo=, ucode=) > __pc = 0x0 > __pc = 0x0 > __pc = 0x0 > td = > p = > eva = 136 > map = > ftype = > rv = > #7 > No locals. > #8 device_get_softc (dev=dev@entry=0x0) at /usr/src/sys/kern/subr_bus.c:2141 > No locals. > #9 0xffffffff80369ce5 in acpi_wake_sleep_prep (handle=0xfffff80001675c80, > stype=POWER_STYPE_POWEROFF) at /usr/src/sys/dev/acpica/acpi.c:3689 > prw = {gpe_handle = 0x0, gpe_bit = 105, lowest_wake = 4, power_res = {{ > Type = 0, Integer = {Type = 0, Value = 18446741878427704080}, > String = {Type = 0, Length = 0, > Pointer = 0xfffffe00df015b10 "`[", sequence \337>}, Buffer = {Type = 0, Length = 0, > Pointer = 0xfffffe00df015b10 "`[", sequence \337>}, Package = {Type = 0, Count = 0, Elements = > 0xfffffe00df015b10}, Reference = { > Type = 0, ActualType = 0, Handle = 0xfffffe00df015b10}, > Processor = {Type = 0, ProcId = 0, > PblkAddress = 18446741878427704080, PblkLength = 2150908252}, > PowerResource = {Type = 0, SystemLevel = 0, > ResourceOrder = 3741408016}}, {Type = 3741408001, Integer = { > Type = 3741408001, Value = 0}, String = {Type = 3741408001, > Length = 4294966784, Pointer = 0x0}, Buffer = { > Type = 3741408001, Length = 4294966784, Pointer = 0x0}, > Package = {Type = 3741408001, Count = 4294966784, > Elements = 0x0}, Reference = {Type = 3741408001, > ActualType = 4294966784, Handle = 0x0}, Processor = { > Type = 3741408001, ProcId = 4294966784, PblkAddress = 0, > PblkLength = 3741408001}, PowerResource = {Type = 3741408001, > SystemLevel = 4294966784, ResourceOrder = 0}}, { > Type = 19051264, Integer = {Type = 19051264, > Value = 18446741878427704160}, String = {Type = 19051264, > Length = 4294965248, > Pointer = 0xfffffe00df015b60 "\340[", sequence \337>}, Buffer = {Type = 19051264, Length = 4294965248, > Pointer = 0xfffffe00df015b60 "\340[", sequence \337>}, Package = {Type = 19051264, Count = 4294965248, > Elements = 0xfffffe00df015b60}, Reference = {Type = 19051264, > ActualType = 4294965248, Handle = 0xfffffe00df015b60}, > Processor = {Type = 19051264, ProcId = 4294965248, > PblkAddress = 18446741878427704160, PblkLength = 2150851410}, > PowerResource = {Type = 19051264, SystemLevel = 4294965248, > ResourceOrder = 3741408096}}, {Type = 0, Integer = {Type = 0, > Value = 17328064}, String = {Type = 0, Length = 0, > Pointer = 0x10867c0 address 0x10867c0>}, Buffer = {Type = 0, Length = 0, > Pointer = 0x10867c0 address 0x10867c0>}, Package = {Type = 0, Count = 0, Elements = > 0x10867c0}, Reference = { > Type = 0, ActualType = 0, Handle = 0x10867c0}, Processor = { > Type = 0, ProcId = 0, PblkAddress = 17328064, > PblkLength = 1598182239}, PowerResource = {Type = 0, > SystemLevel = 0, ResourceOrder = 17328064}}, {Type = 0, > Integer = {Type = 0, Value = 18446735277642536049}, String = { > Type = 0, Length = 0, Pointer = 0xfffff800018cd471 "GPRW"}, > Buffer = {Type = 0, Length = 0, > Pointer = 0xfffff800018cd471 "GPRW"}, Package = {Type = 0, > Count = 0, Elements = 0xfffff800018cd471}, Reference = { > Type = 0, ActualType = 0, Handle = 0xfffff800018cd471}, > Processor = {Type = 0, ProcId = 0, > PblkAddress = 18446735277642536049, PblkLength = 0}, > PowerResource = {Type = 0, SystemLevel = 0, > ResourceOrder = 26006641}}, {Type = 2161121376, Integer = { > Type = 2161121376, Value = 2}, String = {Type = 2161121376, > Length = 4294967295, > Pointer = 0x2 }, > Buffer = {Type = 2161121376, Length = 4294967295, > Pointer = 0x2 }, > Package = {Type = 2161121376, Count = 4294967295, > Elements = 0x2}, Reference = {Type = 2161121376, > ActualType = 4294967295, Handle = 0x2}, Processor = { > Type = 2161121376, ProcId = 4294967295, PblkAddress = 2, > PblkLength = 3741408224}, PowerResource = {Type = 2161121376, > SystemLevel = 4294967295, ResourceOrder = 2}}, { > Type = 2150833742, Integer = {Type = 2150833742, > Value = 18446741878427704232}, String = {Type = 2150833742, > Length = 4294967295, Pointer = 0xfffffe00df015ba8 "\001"}, > Buffer = {Type = 2150833742, Length = 4294967295, > Pointer = 0xfffffe00df015ba8 "\001"}, Package = { > Type = 2150833742, Count = 4294967295, > Elements = 0xfffffe00df015ba8}, Reference = { > Type = 2150833742, ActualType = 4294967295, > Handle = 0xfffffe00df015ba8}, Processor = {Type = 2150833742, > ProcId = 4294967295, PblkAddress = 18446741878427704232, > PblkLength = 2150889998}, PowerResource = {Type = 2150833742, > SystemLevel = 4294967295, ResourceOrder = 3741408168}}, { > Type = 557304, Integer = {Type = 557304, Value = 4097}, > String = {Type = 557304, Length = 4294966784, > Pointer = 0x1001 address 0x1001>}, Buffer = {Type = 557304, Length = 4294966784, > Pointer = 0x1001 address 0x1001>}, Package = {Type = 557304, Count = 4294966784, > Elements = 0x1001}, > Reference = {Type = 557304, ActualType = 4294966784, > Handle = 0x1001}, Processor = {Type = 557304, > ProcId = 4294966784, PblkAddress = 4097, PblkLength = 3}, > PowerResource = {Type = 557304, SystemLevel = 4294966784, > ResourceOrder = 4097}}}, power_res_count = 0} > dev = 0x0 > sc = > sstate = > #10 acpi_wake_prep (handle=0xfffff80001675c80, level=, > context=, status=) > at /usr/src/sys/dev/acpica/acpi.c:3764 > stype = POWER_STYPE_POWEROFF > #11 0xffffffff80336eab in AcpiNsWalkNamespace (Type=Type@entry=6, > StartNode=, StartNode@entry=0xfffff8000122b300, > MaxDepth=MaxDepth@entry=100, Flags=Flags@entry=1, > DescendingCallback=DescendingCallback@entry=0xffffffff80369c80 > , AscendingCallback=AscendingCallback@entry=0x0, > Context=0xfffffe00df015cd4, ReturnValue=0x0) > at /usr/src/sys/contrib/dev/acpica/components/namespace/nswalk.c:484 > NodePreviouslyVisited = 0 '\000' > ParentNode = 0xfffff80001506cc0 > ChildNode = 0xfffff80001675c80 > ChildType = 6 > Level = 3 > Status = 0 > MutexStatus = > #12 0xffffffff80337415 in AcpiWalkNamespace (Type=Type@entry=6, > StartObject=0xfffff8000122b300, MaxDepth=MaxDepth@entry=100, > DescendingCallback=0xffffffff80369c80 , > AscendingCallback=AscendingCallback@entry=0x0, > Context=Context@entry=0xfffffe00df015cd4, ReturnValue=) > at /usr/src/sys/contrib/dev/acpica/components/namespace/nsxfeval.c:809 > Status = 0 > #13 0xffffffff80366cf4 in acpi_wake_prep_walk (stype=POWER_STYPE_POWEROFF) > at /usr/src/sys/dev/acpica/acpi.c:3777 > sb_handle = 0xfffff8000122b300 > #14 acpi_shutdown (dev=0xfffff80001264800) > at /usr/src/sys/dev/acpica/acpi.c:878 > No locals. > #15 0xffffffff805533e6 in DEVICE_SHUTDOWN (dev=0xfffff80001264800) > at ./device_if.h:267 > rc = > _m = > _cep = > _ce = > _desc = > #16 device_shutdown (dev=0xfffff80001264800) > at /usr/src/sys/kern/subr_bus.c:2753 > No locals. > #17 bus_generic_shutdown (dev=) > at /usr/src/sys/kern/subr_bus.c:3563 > child = > #18 0xffffffff805533e6 in DEVICE_SHUTDOWN (dev=0xfffff80001263500) > at ./device_if.h:267 > rc = > _m = > _cep = > _ce = > _desc = > #19 device_shutdown (dev=0xfffff80001263500) > at /usr/src/sys/kern/subr_bus.c:2753 > No locals. > #20 bus_generic_shutdown (dev=) > at /usr/src/sys/kern/subr_bus.c:3563 > child = > #21 0xffffffff80557686 in DEVICE_SHUTDOWN (dev=0xfffff8000129f800) > at ./device_if.h:267 > rc = > _m = > _cep = > _ce = > _desc = > #22 device_shutdown (dev=0xfffff8000129f800) > at /usr/src/sys/kern/subr_bus.c:2753 > No locals. > #23 root_bus_module_handler (mod=, what=, > arg=) at /usr/src/sys/kern/subr_bus.c:5211 > No locals. > #24 0xffffffff804fa0dc in module_shutdown (arg1=, > arg2=) at /usr/src/sys/kern/kern_module.c:101 > mod = 0xfffff80001197c00 > #25 0xffffffff80517e57 in kern_reboot (howto=16392) > at /usr/src/sys/kern/kern_shutdown.c:527 > _ep = > _t = 0xfffff800010867c0 > _el = 0xfffff8000108b500 > once = 1 > #26 0xffffffff80517797 in sys_reboot (td=, > uap=0xfffff8010261bba8) at /usr/src/sys/kern/kern_shutdown.c:308 > error = 5 > #27 0xffffffff808617d8 in syscallenter (td=0xfffff8010261b780) > at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:193 > se = 0xffffffff80c4e2a0 > p = 0xfffffe00c8c02568 > sa = > error = > sy_thr_static = > traced = > _tid = > _v = > _v = > _tid = > _v = > _v = > _tid = > _v = > _v = > #28 amd64_syscall (td=0xfffff8010261b780, traced=0) > at /usr/src/sys/amd64/amd64/trap.c:1208 > ksi = {ksi_link = {tqe_next = 0xffffffff808609de , > tqe_prev = 0x0}, ksi_info = {si_signo = 1, si_errno = 0, > si_code = 39958400, si_pid = -2047, si_uid = 4255167736, > si_status = 21105, si_addr = 0xfffffe00df015e80, si_value = { > sival_int = 555446720, sival_ptr = 0xfffffe00211b71c0, > sigval_int = 555446720, sigval_ptr = 0xfffffe00211b71c0}, > _reason = {_fault = {_trapno = 40006216}, _timer = { > _timerid = 40006216, _overrun = -2047}, _mesgq = { > _mqd = 40006216}, _poll = {_band = -8791758048696}, > _capsicum = {_syscall = 40006216}, __spare__ = { > __spare1__ = -8791758048696, __spare2__ = {555446720, -512, > -553558288, -512, 39958400, -2047, -2134899320}}}}, > ksi_flags = 7, ksi_sigq = 0x205} > #29 > No locals. > #30 0x000000000028b13a in ?? () > No symbol table info available. > Backtrace stopped: Cannot access memory at address 0x8204d4108 > > > Thank you > >> >> -- >> >> A FreeBSD user > > -- Bjoern A. Zeeb r15:7 --1098556516-1478158849-1758145738=:4494--