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

Fatal Trap 12 every few days…

Scheduled Pinned Locked Moved General pfSense Questions
20 Posts 6 Posters 8.3k 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.
  • G
    GoldServe
    last edited by Dec 5, 2011, 5:31 PM

    Can you type "bt" at the prompt?

    1 Reply Last reply Reply Quote 0
    • E
      eskild
      last edited by Dec 5, 2011, 5:40 PM

      bt: Command not found.

      I have restarted the fw though as no traffic was possible after the crash.

      1 Reply Last reply Reply Quote 0
      • G
        GoldServe
        last edited by Dec 5, 2011, 7:09 PM

        you must have an embedded platform where the kernel does not allow "back trace"

        I believe there is a way to change the kernel on the embedded platform. Someone more knowledgeable can chime in.

        1 Reply Last reply Reply Quote 0
        • E
          eskild
          last edited by Dec 6, 2011, 9:06 AM

          I do not have embedded plattform. I have a default x86 install: pfSense 2.0-RELEASE-pfSense (i386)

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Dec 6, 2011, 12:14 PM

            You can only run a back trace at the db> prompt, after a crash, not if:

            @eskild:

            I have restarted the fw though as no traffic was possible after the crash.

            Steve

            1 Reply Last reply Reply Quote 0
            • E
              eskild
              last edited by Dec 6, 2011, 2:35 PM

              Thanks, I suspected that.
              It might be good to evaluate features that captures system information that can be used for troubleshooting by the dev team later.
              I was surprised that after the boot, there were no traces from the crash at all, and impossible to provide any hard evidence of what have happened.
              I doubt that there are many firewalls that can be offline for a long time while consulting support. Most of us need to reboot and have the system back in service right away.

              Just my two cents.

              Back to the problem at hand. Is it possible that the crash can be caused by memory issue (RAM)? I have seen instabillities on other systems being caused by failing RAM.

              Thanks

              1 Reply Last reply Reply Quote 0
              • J
                jimp Rebel Alliance Developer Netgate
                last edited by Dec 8, 2011, 5:12 PM Dec 8, 2011, 5:10 PM

                We fixed the fact that some crashes do not automatically restart in 2.0.1/2.1, but it's an easy fix:

                Edit /etc/ddb.conf and change

                script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
                

                to

                script kdb.enter.default=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
                

                (So just change kdb.enter.panic to kdb.enter.default)

                Then run:

                /sbin/ddb /etc/ddb.conf
                

                From that point on it should collect the debug data and reboot itself automatically, and also give you a crash report notice in the GUI that you can use to upload the data to our servers (or grab it from /var/crash yourself)

                From that panic it could be faulty hardware, but it's hard to say for sure. Usually if it's bad RAM the crashes would be in a different place every time, not in the exact same path. Though it could be a faulty NIC.

                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
                • A
                  atul
                  last edited by Jan 3, 2012, 7:10 AM

                  Hello,

                  I am also getting the same error every few days, or sometimes more than once a day. I have recently upgraded from 1.2.3 to 2.0.1. But, the pfSense was crashing and restarting before the upgrade, so it is not "only" associated with 2.0.1 release.

                  I am attaching the entire crash log (long) that I was able to see on the GUI. I have sent it to pfSense team for further analysis.

                  Atul.

                  [Crash Report.txt](/public/imported_attachments/1/Crash Report.txt)

                  1 Reply Last reply Reply Quote 0
                  • J
                    jimp Rebel Alliance Developer Netgate
                    last edited by Jan 3, 2012, 1:13 PM

                    @atul:

                    Hello,

                    I am also getting the same error every few days, or sometimes more than once a day. I have recently upgraded from 1.2.3 to 2.0.1. But, the pfSense was crashing and restarting before the upgrade, so it is not "only" associated with 2.0.1 release.

                    I am attaching the entire crash log (long) that I was able to see on the GUI. I have sent it to pfSense team for further analysis.

                    Atul.

                    That crash is in code writing to the filesystem. There is very little likelihood there is a problem in that code, it's been solid for years on FreeBSD.

                    More likely your HDD or storage media has issues, or it could be cabling/controller/DMA issues, but it's definitely storage.

                    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
                    • A
                      atul
                      last edited by Jan 3, 2012, 1:23 PM

                      Thanks jimp. I will change the hard disk and check again.

                      Out of curiosity - how did you know that this is storage related?

                      Atul.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received