Multiple kernel panics after update to24.7.11

Started by bucker00, December 18, 2024, 12:46:40 AM

Previous topic - Next topic
Opnsense up till now has been rock solid.  I updated to 24.7.11 this morning and have had 4 kernel panics since..
Only one has been submitted for review, but from the dump this seems to be the most relevant part without posting the whole thing:

Dump header from device: /dev/gpt/swapfs
  Architecture: amd64
  Architecture Version: 4
  Dump Length: 78336
  Blocksize: 512
  Compression: none
  Dumptime: 2024-12-18 09:29:41 +1000
  Hostname: my.hostname
  Magic: FreeBSD Text Dump
  Version String: FreeBSD 14.1-RELEASE-p6 stable/24.7-n267979-0d692990122 SMP
  Panic String: pf_build_tcp: unsupported af 0
  Dump Parity: 306338569
  Bounds: 0
  Dump Status: good
 .......

   KDB: enter: panic
panic.txt0600003614730404545  7145 ustarrootwheelpf_build_tcp: unsupported af 0version.txt0600007414730404545  7542 ustarrootwheelFreeBSD 14.1-RELEASE-p6 stable/24.7-n267979-0d692990122 SMP

Any suggestions?

December 18, 2024, 01:26:32 AM #1 Last Edit: December 18, 2024, 02:28:22 AM by newsense
Install the correct kernel and post here the new uname -v

opnsense-update -fk && opnsense-shell reboot

OK, that's done and things have changed.  The output of that is now:
FreeBSD 14.1-RELEASE-p6 stable/24.7-n267981-8375762712f SMP

Hopefully that fixes it and thank you so much for your help!
Out of interest though - what did I do to end up with the wrong kernel?

Nothing worng, there's been a regression in pf that made it in that kernel, and reinstalling the fixed one needed needed the command above ordoing it from the GUI.

You're on the correct kernel now, all should be fine.