Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Kernel Panic when Upgrading to 2.8.0 beta

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    41 Posts 6 Posters 712 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      CCNewb
      last edited by

      For the past year, PFSense has been crashing once every 2 weeks. No log messages, no console messages, nothing, so I figured it was something w/ the hardware. I've replaced every single piece of hardware except for the CPU (AMD Ryzen 5 2400G) and the motherboard (ASRock AB350 micro-ITX), and my 10G NIC (10Gtek Dual 10Gb Intel 82599ES Controller).

      I figured why not try 2.8.0 to see if the crashes will finally stop.

      As soon as PFSense tries to boot to FreeBSD 15.0, I get a kernel panic..

      alt text )

      I see in the kernel panic message, right before the crash it reports the on-board Wifi AC adapter (iwm0 / iwm3168fw).

      So, I disabled the Wifi adapter in the BIOS, but I still see in there in the output, upon boot. Tried several times, even resetting bios back to defaults, then changing Wifi adapter to disabled.

      This motherboard is pretty old ~2017, so I'm thinking it's probably time to just go buy a "new" AM4 motherboard and see if I have any better luck.

      I tried the 2.8.0 installation several times-- upgrading from 2.72, and several times formatting the SSD and using a USB installer to go straight to 2.8.0-- still get the same kernel panic each time.

      Had to re-install 2.7.2 to be able to boot PFSense.

      P patient0P 2 Replies Last reply Reply Quote 0
      • P
        Patch @CCNewb
        last edited by

        @CCNewb said in Kernel Panic when Upgrading to 2.8.0 beta:

        For the past year, PFSense has been crashing once every 2 weeks. No log messages, no console messages, nothing, so I figured it was something w/ the hardware. I've replaced every single piece of hardware except ...

        You have more patience with old hardware than I do. Hardware often last longer than 6 years but not always.

        C 1 Reply Last reply Reply Quote 0
        • C
          CCNewb @Patch
          last edited by

          @Patch man, my whole day was ruined. I went to Microcenter at 3pm and got a "new" AM4 micro-ITX board, they only had 1 choice. And it's a bad board. Can tell it was used but they sold it to me as new, and the thing wouldn't post. Spent all afternoon messing around w/ it, family upset internet was down, ugh. Ended up reverting back to the old mobo and gonna return all the crap I bought tomorrow. So disappointing.

          1 Reply Last reply Reply Quote 0
          • patient0P
            patient0 @CCNewb
            last edited by patient0

            @CCNewb what you can try is disable the wifi using a device hint, to see if it was the reason for the kernel panic.

            At the loader prompt before pfSense boots (press '3' when the boot menu shows) you enter:

            set hint.iwm.0.disabled="1"

            or since you upgrade from 2.7.2 you can add/set it in the /boot/loader.conf.local file (it may not exist yet):

            hint.iwm.0.disabled="1"

            The age of your hardware should not be an issue, there is generally good support for it. Wifi cards being the exception in general for FreeBSD.

            Addition: if you get a kernel panic, run bt (backtrace) at the debug prompt, that will give more information about the module involved.

            C 2 Replies Last reply Reply Quote 1
            • C
              CCNewb @patient0
              last edited by

              @patient0 thanks! I will try one night this week and report back

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Or physically remove the wifi device? Disabling it in the BIOS doesn't seem to be working as it should. A jumper maybe?

                But it also might be something else, the panic string there is unhelpful. Try running bt at the db> prompt there and see what the backtrace is. That should where it's panicking.

                C 1 Reply Last reply Reply Quote 0
                • C
                  CCNewb @patient0
                  last edited by

                  @patient0 Dude, you rock!!! That totally fixed the issue. 2.8.0 upgrade went super smooth after adding that /boot/loader.conf.local file

                  Thanks man

                  1 Reply Last reply Reply Quote 0
                  • C
                    CCNewb @stephenw10
                    last edited by

                    @stephenw10 thank you, didn't know about bt, patient0's tip about disabling the hardware via the loader.conf.local file did the trick. I was able to upgrade, it went super fast.

                    1 Reply Last reply Reply Quote 1
                    • C
                      CCNewb
                      last edited by

                      The crashes on 2.8.0 only got worse. Typical state level espionage, I hate the attention. No crash data, no console messages, nothing, just compete system lock. Every single day on 2.8.0 it’s locking up. Replaced the riser card and 10g nic the other day. Didn’t help. Just ordered another replacement mobo and newer CPU, thus completing replacing every single piece of hardware.

                      patient0P 1 Reply Last reply Reply Quote 0
                      • patient0P
                        patient0 @CCNewb
                        last edited by

                        @CCNewb

                        No crash data, no console messages, nothing, just compete system lock

                        It's frustrating, I understand.
                        Have you done the classic, memory testing for a few hours? pfSense is default configured to create core dump and for me it's rare to have no logs or core dumps at all.

                        If your setup allows, switching to another router OS (temporarily, OS: Untangle, VyOS, OPNsense) would be an option to see if other OS run into the same issue. Boot/Install from another disk and run it for a few days.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by stephenw10

                          How locked is locked? Does the caps lock button still work on an attached keyboard for example?

                          A hard lock with no output is almost always hardware though.

                          1 Reply Last reply Reply Quote 0
                          • S
                            stewartv8
                            last edited by stewartv8

                            I have the same problem but i have no wifi boards in the server and no usb devices attached apart from a keyboard
                            alt text
                            alt text
                            can anyone help me!

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by stephenw10

                              Run bt at the db> prompt there to see the backtrace from the panic.

                              Though it looks like a problem with the firmware for the isp_2400 device.
                              Are you actually using that? If not I'd remove or disable it.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                stewartv8 @stephenw10
                                last edited by

                                @stephenw10 hi thanks for the reply i can't use bt as its frozen and no key inputs work also i have no idea what that device even is as there is nothing plugged into the server apart from the usb keyboard.

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  On-board fibrechannel adapter I'd guess.

                                  I assume the keyboard works before that? Capslock LED still work after the crash?

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    stewartv8 @stephenw10
                                    last edited by

                                    @stephenw10 yes the keyboard works right up to to the error then freezes and i have to hard reset im now back on ver 2.7.2 witch works fine.

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Do you see the isp_2400 device in 2.7.2? Are you using it to boot from? A SCSI disk?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        stewartv8 @stephenw10
                                        last edited by

                                        @stephenw10 sorry i have no idea its running on a dl 360 g5 server tho if that helps i have had no problems with any updates in years this is the first one that is giving the problem

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Check the bootlog in 2.7.2. If it's failing to load there too, but obviously not crashing, then you can probably just disable that device in the BIOS.

                                          S 2 Replies Last reply Reply Quote 0
                                          • S
                                            stewartv8 @stephenw10
                                            last edited by stewartv8

                                            c6350a0c-b294-41ce-8787-5f4dfcf63fc3-{6FA71927-B7EC-4D53-9A5A-4DDF1B8D2B33}.png

                                            yep i see it there

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.