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

    Kernel Panic

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    325 Posts 35 Posters 261.0k 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.
    • F
      fasteddy
      last edited by

      I don't have access to my pfSense box(s) to get crash info at the moment, but I can say I am in the same boat as LostInConfusion - still getting panics when I try to access a pfSense box through the VPN (though in my case it's IPSec, not OpenVPN).  This is using the most recent snapshot.  For what it's worth, the previously mentioned carp lock issue probably wasn't at the root of the issue I am having, since I am not using any carp functionality whatsoever with my setup…

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        @LostInIgnorance:

        It is kinda nice though that the pfSense now knows it crashed and asks me if I would like to send the error info to the developers.

        We have detected a crash report. Click here for more information.

        though the only thing the tab shows on the error report is this

        Crash report begins.  Anonymous machine information:
        
        i386
        8.1-RELEASE-p2
        FreeBSD 8.1-RELEASE-p2 #1: Sun Feb  6 23:47:16 EST 2011     sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_Dev.8
        
        Crash report details:
        
        2048
        
        

        That one is a false positive.

        The actual report would have done a lot more.

        If it stops at a db> prompt, it isn't collecting the crash info automatically for whatever reason.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • P
          pwnell
          last edited by

          @jimp - any ideas about my crash?  I assume it is related to this thread…

          1 Reply Last reply Reply Quote 0
          • F
            fasteddy
            last edited by

            I'm in the same situation there as well - my pfSense box stops at the 'db>' prompt after a panic, generating similar information-free reports.  Also, in contrast to what I believe other folks have reported, my pfSense box doesn't automatically reboot after a panic, but rather sits happily at the db> prompt, patiently - and indefinitely - awaiting my input.  (Which is why I am loathe to do any testing unless I'm within arms reach of the particular box in question!)  Is there a setting I've missed somewhere that enables this automatic rebooting, or is my pfSense box just that unhappy?

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              pwnell,

              I don't know, it looks similar to another panic that was already reported over the weekend. Have you tried a new snapshot?

              fasteddy,

              What type of install are you on? full/nano? i386 or amd64? How much RAM and swap space?

              If you can get a capture of the panic (even a picture of it) and the output of 'bt' at the debug prompt it would help.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • F
                fasteddy
                last edited by

                I am on a full install, i386, 2GB RAM, 80GB Hard drive, 4GB swap space.  The panic information, backtrace info, and general situation remain the same as my original post (on page 15 of this thread).  http://forum.pfsense.org/index.php/topic,31721.msg170362.html#msg170362

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  @fasteddy:

                  I am on a full install, i386, 2GB RAM, 80GB Hard drive, 4GB swap space.  The panic information, backtrace info, and general situation remain the same as my original post (on page 15 of this thread).  http://forum.pfsense.org/index.php/topic,31721.msg170362.html#msg170362

                  Show me the output of:

                  sysctl debug.ddb
                  

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • F
                    fasteddy
                    last edited by

                    Here goes:

                    # sysctl debug.ddb
                    debug.ddb.capture.data:
                    debug.ddb.capture.bufsize: 49152
                    debug.ddb.capture.inprogress: 0
                    debug.ddb.capture.maxbufsize: 5242880
                    debug.ddb.capture.bufoff: 0
                    debug.ddb.scripting.unscript:
                    debug.ddb.scripting.scripts: lockinfo=show locks; show alllocks; show lockedvnods
                    kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
                    kdb.enter.witness=run lockinfo
                    
                    debug.ddb.textdump.do_version: 1
                    debug.ddb.textdump.do_panic: 1
                    debug.ddb.textdump.do_msgbuf: 1
                    debug.ddb.textdump.do_ddb: 1
                    debug.ddb.textdump.do_config: 1
                    debug.ddb.textdump.pending: 0
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      That all looks normal, like it should be doing the textdumps…

                      What about:

                      cat /boot/kernel/pfsense_kernel.txt
                      

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • F
                        fasteddy
                        last edited by

                        Doesn't have a whole lot to say:

                        # cat /boot/kernel/pfsense_kernel.txt
                        UP
                        #
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          It's enough :-)

                          That's the uniprocessor kernel. I'm running the SMP kernels. Perhaps that is the difference. Can you switch to an SMP kernel and see if the crashes leave you at the debug prompt still? There are instructions earlier in this thread for switching kernels (also you can edit that text file and change it to SMP instead of UP and the next update will use the SMP kernel instead)

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • P
                            pwnell
                            last edited by

                            Installed the latest one available

                            2.0-BETA5 (i386)
                            built on Sun Feb 6 23:54:00 EST 2011

                            I have a 1 hour 15 minute uptime …. Holding thumbs.

                            1 Reply Last reply Reply Quote 0
                            • L
                              LostInIgnorance
                              last edited by

                              JimP,

                              Did you need me to do anything while I am here working on other projects?  Anything I can do to help debug this?

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                No, Ermal is going to be the one having to look into the actual panics.

                                I was just trying to figure out why some people aren't getting the proper crash dumps like they should.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • F
                                  fasteddy
                                  last edited by

                                  I've changed to the SMP kernel and updated to the latest snapshots as of 15 minutes ago, and my machine seems to be automatically rebooting and generating proper crash reports now.  Thanks jimp!

                                  Unfortunately, I am still able to crash my system at will the same way I have been from the get go - by accessing the web gui through the VPN.  I sent the (now useful!) crash report via the web gui, is there anything I can/should do beyond that at this point?

                                  1 Reply Last reply Reply Quote 0
                                  • jimpJ
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by

                                    When the next snapshot comes out later this evening/tonight, update to it and try to reproduce it again.

                                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      LostInIgnorance
                                      last edited by

                                      JimP, who exactly were you talking to? or was it just a general reference to everyone?

                                      1 Reply Last reply Reply Quote 0
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        just in general for anyone still getting crashes… hopefully it's more stable.

                                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        1 Reply Last reply Reply Quote 0
                                        • L
                                          LostInIgnorance
                                          last edited by

                                          I won't get to testing that box (p4 dell gonna kick it in the parking lot) till tomorrow morning, so I'll have to get back to you on the test.

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            cmb
                                            last edited by

                                            The snapshot with the fixes Jim mentioned is now up, I've upgraded all my systems to it and no issues. Granted I wasn't seeing any panics previously either, so those who can replicate issues, please test.

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