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

    Install PP2P => Fatal trap 12 : page fault while in kernel mode

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    11 Posts 3 Posters 4.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.
    • K
      krisken
      last edited by

      I tried to set up a VPN server using PPTP.  When i saved the config, all connections where lost.  When i want to reboot the pfsense router, the following error appears during the start up:

      Starting OpenNTP time client…done.
      Starting DHCP service...done.
      Starting DNS forwarder...done.
      Configuring firewal......done.
      Configuring PPTP VPN service...

      Fatal trap 12: page fault while in kernel mode
      cpuid = 2; apic id = 02
      fault virtual address = 0x4
      fault code = supervisor write, page not present
      instruction pointer = 0x20:0xc0b1adaf
      stack pointer = 0x28:0xe85259f8
      frame pointer = 0x28:0xe8535a18
      code segment = base 0x0, limit 0xfffff, type 0x1b
                          = DPL 0, pres 1, def32 1, gran 1
      processor eflags = interrupt enabled, resume, IOPL = 0
      current process = 247 (initial thread)
      trap number = 12
      panic = page fault
      cpuid = 2
      Uptime : 59s
      Cannot dump. Device not defined or unavailable.
      Automatic reboot in 15 seconds - press a key on the console to abort

      Euhm…help?! :-)

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

        Can you please show me your <interfaces>section in the config.
        Mostly i want to know what kind of interfaces you have assigned.</interfaces>

        1 Reply Last reply Reply Quote 0
        • K
          krisken
          last edited by

          @ermal:

          Can you please show me your <interfaces>section in the config.
          Mostly i want to know what kind of interfaces you have assigned.</interfaces>

          I can't even boot up the router, so viewing the config file is quite difficult right now :)  I'm trying to start up using a ubuntu cd and then i want to edit the config file, like the xml file in my backup (and yes…quite foolish...an old backup :s)

          I hope when i set everything back as it was, it will work:

          <pptpd><mode><redir><localip></localip></redir></mode></pptpd>

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

            Try this it should fix your problems.
            https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/c513c30900f98d47dfa77dcf03d42382fae34cd7

            1 Reply Last reply Reply Quote 0
            • K
              krisken
              last edited by

              Ermal,

              Do you have any idea how i can edit it?  I can't startup pfsense, so i can't vi/nano it over there.  And with a ubuntu 10.10 cd in it, i can't reach the HD?

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

                Just choose single user mode when pfSense gets rebooted and you can do viconfig from there or vi/nano the file i gave you the patch.
                With viconfig just delete the pptpd section on config and reboot and than you can make the change i gave you in a easier environemnt.

                1 Reply Last reply Reply Quote 0
                • K
                  krisken
                  last edited by

                  First of all, thanks for your great (and quick) help!

                  I've tried the "viconfig" command in the single user mode, but i get some errors:

                  ex/vi : Error : /var/tmp/vi.recover : Read-only file system
                  ex/vi : Error : Modifications not recoverable if the session fails
                  ex/vi : Error : /cf/conf/config.xml : Read-only file system
                  ex/vi : Error : Unable to create temporary file : Read-only file system
                  override rw-r–r-- root/wheel for /tmp/config.cache?

                  If i just do enter, yes or y, well...i got the # promt and that's it...

                  1 Reply Last reply Reply Quote 0
                  • K
                    krisken
                    last edited by

                    Anyone that can help me? :)

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

                      Try fsck /
                      and mount -u / or mount -fu /

                      1 Reply Last reply Reply Quote 0
                      • M
                        mxx
                        last edited by

                        Before editing try /etc/rc.conf_mount_rw

                        1 Reply Last reply Reply Quote 0
                        • K
                          krisken
                          last edited by

                          I can see the /etc/inc/vpn.inc file using vi, but i can't search or anything…even backspace or delete give me some strange characters?

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