Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2025 20:46:23 +0000
From:      "Steven Harms (High-Security Mail)" <sgharms@stevengharms.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org>
Subject:   Kernel panic on HEAD (93cf4310 2025-03-28)
Message-ID:  <jKb-yMiaPLHe3Qt_mvBG62iPNb4sMeDLMo4EZwoFCl7S1OqvKqvggHJC9wdGXh4MumuuN7QRWnUw7CugGzjZbNWVt8T8xyarcyMV6LbYdrg=@stevengharms.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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.
[-- Attachment #2 --]
<div style="font-family: Arial, sans-serif; font-size: 14px;">Hey folks,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">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.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">To be clear, this commit is not the thing that broke things.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">In pursuit of getting more data, I'm trying to isolate two questions:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><ol data-editing-info="{&quot;orderedStyleType&quot;:1,&quot;unorderedStyleType&quot;:1}" style="margin-top: 0px; margin-bottom: 0px;" data-listchain="__List_Chain_221"><li style="list-style-type: &quot;1. &quot;;">Why am I not getting any panic dump artifacts?</li><li style="list-style-type: &quot;2. &quot;;">Did I built current from HEAD properly?</li></ol></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">In effort to get more data, I'm following:&nbsp;<span><a target="_blank" rel="noreferrer nofollow noopener" href="https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/">https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/</a></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div><ol data-editing-info="{&quot;orderedStyleType&quot;:1,&quot;unorderedStyleType&quot;:1}" style="margin-top: 0px; margin-bottom: 0px;" data-listchain="__List_Chain_222"><li style="list-style-type: &quot;1. &quot;;"><font face="Arial, sans-serif">Confirm that /etc/rc.conf has dumpdev set to AUTO</font></li><li style="list-style-type: &quot;2. &quot;;"><font face="Arial, sans-serif">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</font></li><li style="list-style-type: &quot;3. &quot;;"><font face="Arial, sans-serif">Yet despite the kernel panicking, there's nothing in that directory except file "minfree" which says "2048" in it.</font></li><li style="list-style-type: &quot;4. &quot;;"><font face="Arial, sans-serif">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 <code>minfree</code>​</font></li></ol></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Now, I'm still very new to building CURRENT, but I've been following:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><a target="_blank" rel="noreferrer nofollow noopener" href="https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-src-quick-start">https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-src-quick-start</a></span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span># etcupdate extract (1)</span><div><span># etcupdate diff (2)</span></div><div><span># git pull -C /usr/src &nbsp;(1)</span></div><div><span>check /usr/src/UPDATING &nbsp;(2)</span></div><div><span># cd /usr/src &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(3)</span></div><div><span># make -j4 buildworld &nbsp;(4)</span></div><div><span># make -j4 kernel &nbsp; &nbsp; &nbsp;(5)</span></div><span># shutdown -r now &nbsp; &nbsp; &nbsp;(6)</span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">And am after the <code>shutdown -r now</code>​ step:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">If my process for kernel and world build is correct, then I have found a panic. How can I help/debug?</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Thanks!</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Steven</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
    <div class="protonmail_signature_block-user">
        <div>---<br></div><div><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Public Key: <a title="22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE" href="https://22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE"><span>22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE</span></a><br></div><div style="font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Arial, Helvetica, sans-serif; color: rgb(34, 34, 34);"><br></div><div>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.<br></div>
    </div>
    <div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
    <div class="protonmail_signature_block-proton">
        Sent with <a target="_blank" href="https://proton.me/mail/home">Proton Mail</a> secure email.
    </div>
</div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jKb-yMiaPLHe3Qt_mvBG62iPNb4sMeDLMo4EZwoFCl7S1OqvKqvggHJC9wdGXh4MumuuN7QRWnUw7CugGzjZbNWVt8T8xyarcyMV6LbYdrg=>