OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: bucker00 on December 18, 2024, 12:46:40 AM

Title: Multiple kernel panics after update to24.7.11
Post by: bucker00 on December 18, 2024, 12:46:40 AM
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?
Title: Re: Multiple kernel panics after update to24.7.11
Post by: newsense on December 18, 2024, 01:26:32 AM
Install the correct kernel and post here the new uname -v

opnsense-update -fk && opnsense-shell reboot
Title: Re: Multiple kernel panics after update to24.7.11
Post by: bucker00 on December 18, 2024, 01:43:25 AM
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?
Title: Re: Multiple kernel panics after update to24.7.11
Post by: newsense on December 18, 2024, 02:27:24 AM
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.
Title: Re: Multiple kernel panics after update to24.7.11
Post by: bucker00 on December 18, 2024, 02:57:22 AM
wicked, thank you heaps!