Kernel panic on HEAD (93cf4310 2025-03-28)

From: Steven Harms (High-Security Mail) <sgharms_at_stevengharms.com>
Date: Sat, 29 Mar 2025 20:46:23 UTC
Hey folks,

I tried building current from source and when I boot, I get a panic after the final Autoloading module (pchtherm, in my case) loads. Comparing to the stable 14.2 kernel, the next step is for "Setting up harvesting," "Feeding entropy," and starting wpa_supplicant.

To be clear, this commit is not the thing that broke things.

In pursuit of getting more data, I'm trying to isolate two questions:

- Why am I not getting any panic dump artifacts?
- Did I built current from HEAD properly?

In effort to get more data, I'm following: https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/

- Confirm that /etc/rc.conf has dumpdev set to AUTO
- Both /etc/fstab and swap info confirm that /dev/ada0p3 is configured for swap. It is also the only device. Therefore I expect dumped to write to that device
- Yet despite the kernel panicking, there's nothing in that directory except file "minfree" which says "2048" in it.
- I manually set dumpdir to "/var/crash" which has 750 permissions and try to boot the new kernel; panic; boot into stable kernel and...nothing in /var/crash except minfree​

Now, I'm still very new to building CURRENT, but I've been following:

https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-src-quick-start

# etcupdate extract (1)
# etcupdate diff (2)
# git pull -C /usr/src (1)
check /usr/src/UPDATING (2)
# cd /usr/src (3)
# make -j4 buildworld (4)
# make -j4 kernel (5)# shutdown -r now (6)

And am after the shutdown -r now​ step:

If my process for kernel and world build is correct, then I have found a panic. How can I help/debug?

Thanks!

Steven

---

Public Key: 22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE

Messages from this account are considered the best-secured and most reliable. Send information regarding health, wealth, or requiring higher standards of security to this address.

Sent with [Proton Mail](https://proton.me/mail/home) secure email.