8 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1761575418; bh=RhA1f5ENDxrAki4ztuKuoHI/4ArQncioQf1OV7WcWbc=; h=Date:From:To:Subject; b=UsUh6n/A7ylwUpK7Vnazf/NGS8dH8ldGkbSQe8km9u+RUV5Lj78oTHSA5ogNLU3uX aXBHlI0g5bH11yCO7fl7w2L5LcN0eZSrveq7/fYZLoUoFLRECBaZdPBWEzBOO6fXci I+YsO8lVxkja+DO74UJEW2gSXSBNE0AMS0UDrTzWf1Vub/tCWZmfSUMOhwQdullCwp fuvLI9XjNZLuU/xiGrCBYRsLRQwxLgJLzpWRsaztp73MXYH1hrxVCY8jb0eNNyYLb1 dhLQhydfiOAuED53zBRRc7VyX9fK3FqEhEZ27PredJvqqbj+mFYc+pHRJa2I6i67Ta Usb2sv4s8feBli3FnRdiI9SgzqynFwGISxMiLc2SzhLzxV42WUh9gxALK4XL1E2bFs tHzf9k52DLlxVR/brSuSAh3CuPyFw/iYP6vNAc1pu0w8/p3Bm0i8vV85BhmjC03V1b n4fGzwrE3RAZ+Ng/ASOGtOqKFJ1Zj5RgqpTf0yVUzc+ojoTMHHNzSWpWoNJKPdHE8F DfmRYkhKBtA9EJgXlkOZ/Fyp85iXcV+GBXsEspP5OeGoTNpj78RvpBymLOiQlm4UVk FyGHDOAPUklE0gxTxb4AS9i2coV0WKK7+bNmui9G0LnN6rRc3mC7+75aQ/vCcWNnnC a5QoPU0uPKkl0jAQSO/NQC9I= 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 BA0352D029E6 for ; Mon, 27 Oct 2025 14:30:29 +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 vNmFbBhzRhZc for ; Mon, 27 Oct 2025 14:30:28 +0000 (UTC) Received: from nv.t4-02.sbone.de (nv.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:22]) (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 8B1E02D029D8 for ; Mon, 27 Oct 2025 14:30:28 +0000 (UTC) Date: Mon, 27 Oct 2025 14:30:28 +0000 (UTC) From: "Bjoern A. Zeeb" To: current@freebsd.org Subject: db> reset -> panic: lock (sleep mutex) eventhandler not locked @ /usr/src/sys/kern/subr_eventhandler.c:272 Message-ID: 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: text/plain; format=flowed; charset=US-ASCII X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4cwGBk3D6Fz3g36 Hi, on main-ish I get the following. I am a bit concerned as over the last year or two our reset paths had issues like this more and more. db> reset panic: lock (sleep mutex) eventhandler not locked @ /usr/src/sys/kern/subr_eventhandler.c:272 cpuid = 1 time = 1025 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x38 vpanic() at vpanic+0x1a0 panic() at panic+0x48 witness_unlock() at witness_unlock+0x140 __mtx_unlock_flags() at __mtx_unlock_flags+0x54 eventhandler_find_list() at eventhandler_find_list+0xbc kern_reboot() at kern_reboot+0x244 db_reset() at db_reset+0xec db_command() at db_command+0x2f4 db_command_loop() at db_command_loop+0x58 db_trap() at db_trap+0x100 kdb_trap() at kdb_trap+0x350 handle_el1h_sync() at handle_el1h_sync+0x18 --- exception, esr 0xf2000000 kdb_alt_break_internal() at kdb_alt_break_internal+0x1a8 kdb_alt_break() at kdb_alt_break+0x10 uart_intr_rxready() at uart_intr_rxready+0x88 uart_intr() at uart_intr+0x124 intr_event_handle() at intr_event_handle+0xf4 intr_isrc_dispatch() at intr_isrc_dispatch+0x60 arm_gic_intr() at arm_gic_intr+0x118 intr_irq_handler() at intr_irq_handler+0x98 handle_el1h_irq() at handle_el1h_irq+0x18 --- interrupt cpu_idle() at cpu_idle+0x78 sched_idletd() at sched_idletd+0x494 fork_exit() at fork_exit+0x78 fork_trampoline() at fork_trampoline+0x18 Uptime: 17m5s Automatic reboot in 15 seconds - press a key on the console to abort -- Bjoern A. Zeeb r15:7