From nobody Sun Jan 04 15:58:53 2026 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 4dkhtt1J4Hz6MSvh for ; Sun, 04 Jan 2026 15:59:02 +0000 (UTC) (envelope-from ross@bisd.ro) Received: from ada.kiz.li (ada.kiz.li [38.45.72.165]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4dkhts1WM6z3hYZ for ; Sun, 04 Jan 2026 15:59:00 +0000 (UTC) (envelope-from ross@bisd.ro) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=reject) header.from=bisd.ro; spf=pass (mx1.freebsd.org: domain of ross@bisd.ro designates 38.45.72.165 as permitted sender) smtp.mailfrom=ross@bisd.ro Received: from [192.168.1.168] (216.sub-97-181-129.myvzw.com [97.181.129.216]) by ada.kiz.li (OpenSMTPD) with ESMTPSA id c2091f36 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sun, 4 Jan 2026 10:58:54 -0500 (EST) Message-ID: <117c6d2f-7e2c-4af8-9984-75cbae7867ca@bisd.ro> Date: Sun, 4 Jan 2026 09:58:53 -0600 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 User-Agent: Mozilla Thunderbird To: FreeBSD Current Content-Language: en-US From: "S. Ross Gohlke" Subject: device enc in custom kernel causes crash Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: - X-Spamd-Result: default: False [-1.95 / 15.00]; NEURAL_HAM_SHORT(-0.76)[-0.760]; NEURAL_HAM_MEDIUM(-0.75)[-0.747]; DMARC_POLICY_ALLOW(-0.50)[bisd.ro,reject]; ONCE_RECEIVED(0.20)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_SPAM_LONG(0.16)[0.161]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:174, ipnet:38.45.72.0/24, country:US]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4dkhts1WM6z3hYZ I built my custom kernel (based on MINIMAL) from CURRENT pkgbase package FreeBSD-src.snap20260103091340. Booting it causes a crash before entering single user mode with error message: panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/igmp.c:627 After that, the keyboard is unresponsive, so I just power it off. On the subsequent boot, from a known-good kernel, the laptop powers itself off (sorry, I don't yet have a record of this error message). The next boot from the known-good kernel works as expected. I have a handful of options and devices enabled in the custom kernel, including enc(4). If I disable "device enc" in the kernel configuration, it boots normally. Here is a screenshot of the crash: https://kiz.li/b/bisd.ro/site/uv/20260104_065705.jpg Regards, Ross