Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2026 09:58:53 -0600
From:      "S. Ross Gohlke" <ross@bisd.ro>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   device enc in custom kernel causes crash
Message-ID:  <117c6d2f-7e2c-4af8-9984-75cbae7867ca@bisd.ro>

index | next in thread | raw e-mail

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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?117c6d2f-7e2c-4af8-9984-75cbae7867ca>