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

    Fatal trap 9 general protection fault while in kernel mode

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    11 Posts 4 Posters 6.1k 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 Offline
      chinaski
      last edited by

      Hello!
      Trying to use pfsense 2.0 like captiveportal. With one or  two users everething is OK. But when I'm enabling traffic from all users server goes down with error:
      fatal trap 9 general protection fault while in kernel mode
      With pfsense 1.2.3 all was good.
      How to fix?
      Here is output of top when server goes down:

      last pid: 54088;  load averages: 249.53, 179.92, 87.59                                                    up 0+00:16:04  21:40:36
      1215 processes:411 running, 786 sleeping, 18 lock
      CPU: 11.8% user,  0.0% nice, 84.8% system,  2.6% interrupt,  0.8% idle
      Mem: 1721M Active, 33M Inact, 547M Wired, 24K Cache, 20M Buf, 1630M Free
      Swap: 8192M Total, 8192M Free

      PID USERNAME  THR PRI NICE  SIZE    RES STATE  C  TIME  WCPU COMMAND
      19501 root        1  54    0  6996K  1592K CPU1    1  0:17  4.30% syslogd
      20266 root        1  47    0 28152K 19296K RUN    3  0:12  4.30% tcpdump
      59072 root        1  52    0  104M 81608K RUN    3  0:09  2.78% lighttpd
      20362 root        1  47    0  5832K  1040K nanslp  5  0:05  1.46% logger
      6215 root        1  59    0  9928K  5116K RUN    0  0:00  1.37% sockstat
      13867 root        1  44    0 13460K  6512K CPU2    2  0:00  0.39% top
      52375 root        1  46    0  6152K  860K RUN    6  0:00  0.29% ifconfig
      49462 root        1  46    0  6152K  1048K RUN    3  0:00  0.20% ifconfig
      49807 root        1  46    0  6152K  1084K RUN    4  0:00  0.20% ifconfig
      56037 root        1  49    0  6152K  708K RUN    6  0:00  0.20% ifconfig
      54521 root        1  46    0  6152K  1048K *vm ob  0  0:00  0.20% ifconfig
      12159 root        1  45    0  6152K  860K vmpfw  3  0:00  0.20% ifconfig
      54675 root        1  46    0  6196K  820K RUN    1  0:00  0.20% ifconfig
      10079 root        1  46    0  6152K  1048K vmpfw  5  0:00  0.20% ifconfig
      47345 root        1  46    0  6152K  1048K RUN    3  0:00  0.20% ifconfig
      11585 root        1  46    0  9072K  1296K RUN    7  0:00  0.20% ifconfig
      47498 root        1  46    0  6152K  708K *vm ob  0  0:00  0.20% ifconfig

      1 Reply Last reply Reply Quote 0
      • E Offline
        eri--
        last edited by

        What is up with all those ifconfigs ?

        Can you show a trace or screenshot of this happening?
        Can you type bt at the prompt when this happens?
        Can you provide logs?

        1 Reply Last reply Reply Quote 0
        • C Offline
          chinaski
          last edited by

          @ermal:

          What is up with all those ifconfigs ?

          Really don't know )

          Can you show a trace or screenshot of this happening?


          Can you type bt at the prompt when this happens?
          Sorry, can't at this time
          Can you provide logs?

          In logs there is errors like:

          Approaching the limit  on PV entries, the consider increasing either vm.pmap.shpgperproc sysctl…

          1 Reply Last reply Reply Quote 0
          • C Offline
            chinaski
            last edited by

            By the way. How Cpative portal organized in 2.0?
            In 1.2.3 it was done with one ipfw fwd rule to portal page and rules before it to pass traffic to internet for authorized users.
            How authorized users going to internet in 2.0?
            Every time when I forward my 3000 users to captive portal it goes down with CPU for system = 90% and whole CPU 100%

            1 Reply Last reply Reply Quote 0
            • A Offline
              Atlanta-Mike
              last edited by

              I am having the same issue. I run my routers as VM's on a Xenserver machine running an AMD Athlon II x2 chip and have never been able to get pfSense 2 to load.  I get the same "Fatal Trap 9" error you are getting every time I try and install it.

              1 Reply Last reply Reply Quote 0
              • A Offline
                Atlanta-Mike
                last edited by

                Just tried to upgrade one of my 1.2.3 installs and got the same Fatal Trap 9 error.  So both the full install and the upgrade resulted in the same error.  Are most people running this on an Intel chip and therefore not having this issue?  Is this an error with all AMD installs or am I just unlucky?  If it is with all AMD chips, I am surprised a bug this big could make it to a RC version.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  chinaski
                  last edited by

                  I got it on HP blade servers, adn HP DL160

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Atlanta-Mike
                    last edited by

                    Is that running an AMD chip?

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      chinaski
                      last edited by

                      Intel Xeon. But this error appears only on moments of high load. So system booting normally.

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Atlanta-Mike
                        last edited by

                        I can't get the boot.  Has anyone got 2.0 to run on an AMD chip?  What about as a VM in Xenserver?

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          salvor
                          last edited by

                          @Atlanta-Mike:

                          I can't get the boot.  Has anyone got 2.0 to run on an AMD chip?  What about as a VM in Xenserver?

                          I'm running 2.0-RC1-amd64 snapshot built 3/18/2011 on AMD chip.  Specifically, inside VMware Player 3.1.3 on Windows 7 x64 using AMD Phenom II X3 720 CPU.

                          Seems to be running fine, except:
                          1. "watchdog timeout" messages spamming console (known issue with em0)
                          2. updating erases this line inside /etc/sysctl.conf:  kern.timecounter.hardware=i8254

                          Both issues are already known at:
                          http://redmine.pfsense.org/projects/pfsense-tools/issues?set_filter=1&tracker_id=1

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