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

pfsense is crashing need help

Scheduled Pinned Locked Moved General pfSense Questions
26 Posts 5 Posters 1.9k 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.
  • V
    viragomann @firefox
    last edited by Nov 4, 2023, 9:44 PM

    @firefox
    Ok, this doesn't tell me much. Maybe someone else can help here.
    Seems to happen on a very early point of the boot up process.
    Maybe it could be a hardware failure. Can you check it with another live system?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Nov 5, 2023, 1:21 AM

      Backtrace:

      db:0:kdb.enter.default>  bt
      Tracing pid 80560 tid 100243 td 0xfffffe011844bc80
      kdb_enter() at kdb_enter+0x32/frame 0xfffffe00d77f42a0
      vpanic() at vpanic+0x183/frame 0xfffffe00d77f42f0
      panic() at panic+0x43/frame 0xfffffe00d77f4350
      trap_fatal() at trap_fatal+0x409/frame 0xfffffe00d77f43b0
      calltrap() at calltrap+0x8/frame 0xfffffe00d77f43b0
      --- trap 0x9, rip = 0xffffffff8116a024, rsp = 0xfffffe00d77f4480, rbp = 0xfffffe00d77f4510 ---
      vm_radix_lookup_ge() at vm_radix_lookup_ge+0x114/frame 0xfffffe00d77f4510
      kern_proc_vmmap_resident() at kern_proc_vmmap_resident+0x12b/frame 0xfffffe00d77f4580
      kern_proc_vmmap_out() at kern_proc_vmmap_out+0x1ae/frame 0xfffffe00d77f4710
      note_procstat_vmmap() at note_procstat_vmmap+0xfb/frame 0xfffffe00d77f4760
      elf64_prepare_notes() at elf64_prepare_notes+0x58c/frame 0xfffffe00d77f4820
      elf64_coredump() at elf64_coredump+0x8b/frame 0xfffffe00d77f48f0
      sigexit() at sigexit+0xbf3/frame 0xfffffe00d77f4d60
      postsig() at postsig+0x23c/frame 0xfffffe00d77f4e20
      ast_sig() at ast_sig+0x1d7/frame 0xfffffe00d77f4ed0
      ast_handler() at ast_handler+0x88/frame 0xfffffe00d77f4f10
      ast() at ast+0x20/frame 0xfffffe00d77f4f30
      doreti_ast() at doreti_ast+0x1c/frame 0x8213245d0
      

      Panic:

      Fatal trap 9: general protection fault while in kernel mode
      cpuid = 2; apic id = 04
      instruction pointer	= 0x20:0xffffffff8116a024
      stack pointer	        = 0x0:0xfffffe00d77f4480
      frame pointer	        = 0x0:0xfffffe00d77f4510
      code segment		= base 0x0, limit 0xfffff, type 0x1b
      			= DPL 0, pres 1, long 1, def32 0, gran 1
      processor eflags	= interrupt enabled, resume, IOPL = 0
      current process		= 80560 (snort)
      rdi:  650fffffe00046f rsi:             15e6 rdx:                4
      rcx:                0  r8:                e  r9: fffffe00046f06ba
      rax:                0 rbx: 753800000000ae9e rbp: fffffe00d77f4510
      r10:                0 r11:                f r12:             15e6
      r13:                0 r14:  650fffffe00046f r15:             1a1a
      trap number		= 9
      panic: general protection fault
      cpuid = 2
      time = 1699118338
      KDB: enter: panic
      

      So the process is in Snort but the backtrace isn't familiar. It may have just happened to be Snort that time.
      Do the crash reports look the same every time?

      Steve

      F 1 Reply Last reply Nov 5, 2023, 4:03 AM Reply Quote 0
      • F
        firefox @stephenw10
        last edited by firefox Nov 5, 2023, 4:14 AM Nov 5, 2023, 4:03 AM

        @stephenw10
        how do i make it to boot up ?

        i did update snort becose there was an update
        but the crashing start before i update
        the pc boot up after first crashing i see there was an update so i did it
        now it dosnt even boot up

        the crash report is very long i add it to a file in the first message I wrote
        Because there is a character limit for messages here and it was not possible to upload it

        F 1 Reply Last reply Nov 5, 2023, 4:26 AM Reply Quote 0
        • F
          firefox @firefox
          last edited by Nov 5, 2023, 4:26 AM

          @firefox

          this is the second screen i see when try to boot up

          Screenshot at 2023-11-05 06-21-29.png

          Every time I try to boot the system
          It gets stuck in one of these two situations
          This photo and the first photo I uploaded

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by stephenw10 Nov 5, 2023, 4:33 AM Nov 5, 2023, 4:33 AM

            How did you get the crash dump file?

            The backtrace is usually the most important part. But also the 'current process' line is what shows as Snort in that fort report. You should be able to see that at the console if it crashes again.

            You can try booting into single user mode and manually editing the config or copying in an older config.

            F 1 Reply Last reply Nov 5, 2023, 4:50 AM Reply Quote 0
            • F
              firefox @stephenw10
              last edited by Nov 5, 2023, 4:50 AM

              @stephenw10

              the first time it happen
              the computer did boot up even in the second time
              So I could copy the crash report

              @stephenw10 said in pfsense is crashing need help:

              You can try booting into single user mode and manually editing the config or copying in an older config

              how do i edit or copy the config file ?

              F 1 Reply Last reply Nov 5, 2023, 4:56 AM Reply Quote 0
              • F
                firefox @firefox
                last edited by Nov 5, 2023, 4:56 AM

                @firefox

                i try to boot in singel user mode and it dont work
                every time i try it stuck and i get difrent screen

                W 1 Reply Last reply Nov 5, 2023, 7:58 AM Reply Quote 0
                • W
                  w0w @firefox
                  last edited by Nov 5, 2023, 7:58 AM

                  @firefox
                  All this looks like a hardware failure, a memory failure, or maybe a storage, I don’t know…
                  Perhaps due to a failure, the file system is completely damaged.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Nov 5, 2023, 1:27 PM

                    If the actual crash is different every time that does start to look like hardware. Is it actually returning a different backtrace?

                    1 Reply Last reply Reply Quote 0
                    • J
                      JonathanLee
                      last edited by JonathanLee Nov 5, 2023, 3:49 PM Nov 5, 2023, 3:47 PM

                      If this is an unofficial Netgate SSD, I would suggest you replace that before a reload. It has issues pointing to files. Or memory, but the system bios runs. . .

                      Replace the SSD and reload it.

                      Make sure to upvote

                      F 1 Reply Last reply Nov 5, 2023, 3:57 PM Reply Quote 0
                      • F
                        firefox @JonathanLee
                        last edited by Nov 5, 2023, 3:57 PM

                        @JonathanLee

                        hardware failure It means to reinstall
                        Because pfsense is installed on one ssd disk
                        If I remove it I have no option to reload it

                        When checking the bios I get a message that the disk is good
                        I checked the disc
                        the memories

                        I will try to replace the memories before I replace the SSD
                        Otherwise it's reinstall everything

                        J W 2 Replies Last reply Nov 5, 2023, 4:30 PM Reply Quote 0
                        • J
                          JonathanLee @firefox
                          last edited by JonathanLee Dec 2, 2023, 5:36 PM Nov 5, 2023, 4:30 PM

                          @firefox We had some issues with Cisco routers doing this a couple years ago during the holidays. Cisco had information on a set of products that had defective RAM causing the memory pointer error. We must have replaced hundreds of memory sticks after that preemptively. This looks exactly like that. Good catch. Let us know how it turns out with the new memory sticks. You're right on with isolationing the issue.

                          Make sure to upvote

                          F 1 Reply Last reply Nov 5, 2023, 4:35 PM Reply Quote 0
                          • F
                            firefox @JonathanLee
                            last edited by firefox Nov 5, 2023, 4:37 PM Nov 5, 2023, 4:35 PM

                            @JonathanLee
                            the pc is from hp
                            it has some random ssd i got from another pc i had (it was working fine for almost Five years maybe a little more)
                            i will check about the memory sticks

                            I'll deal with it on Friday
                            Then I will update

                            1 Reply Last reply Reply Quote 0
                            • W
                              w0w @firefox
                              last edited by Nov 5, 2023, 4:55 PM

                              @firefox
                              What file system is pfsense installed on?

                              F 1 Reply Last reply Dec 2, 2023, 9:29 AM Reply Quote 0
                              • F
                                firefox @w0w
                                last edited by Dec 2, 2023, 9:29 AM

                                @w0w
                                Do you mean the format of the disk?

                                In any case, a small update, I only got to mess with it today
                                I replaced the computer's memories
                                There were 4 sticks of 4 gigabytes, that is 16 gigabytes
                                I removed them and put 2 new ones of 4 GB
                                Meanwhile the computer is working

                                I surf through another router
                                If by the end of the day it doesn't cause problems I will add 2 more new 4 gig sticks
                                Then wait to see what happens

                                W 1 Reply Last reply Dec 2, 2023, 11:46 AM Reply Quote 1
                                • W
                                  w0w @firefox
                                  last edited by Dec 2, 2023, 11:46 AM

                                  @firefox said in pfsense is crashing need help:

                                  Do you mean the format of the disk?

                                  https://docs.netgate.com/pfsense/en/latest/install/install-zfs.html
                                  I mean when you have installed it which one filesystem you have been selected? ZFS or UFS?

                                  F 1 Reply Last reply Dec 2, 2023, 1:02 PM Reply Quote 0
                                  • F
                                    firefox @w0w
                                    last edited by Dec 2, 2023, 1:02 PM

                                    @w0w
                                    When I installed I did an automatic installation without any additional settings

                                    W 1 Reply Last reply Dec 2, 2023, 6:49 PM Reply Quote 0
                                    • W
                                      w0w @firefox
                                      last edited by Dec 2, 2023, 6:49 PM

                                      IMG_20231202_204807.jpg @firefox
                                      That's fine. You can find it on the dashboard. Disks widget.

                                      F 1 Reply Last reply Dec 3, 2023, 7:44 PM Reply Quote 0
                                      • F
                                        firefox @w0w
                                        last edited by Dec 3, 2023, 7:44 PM

                                        @w0w
                                        it says ufs

                                        J 1 Reply Last reply Dec 3, 2023, 8:35 PM Reply Quote 0
                                        • J
                                          JonathanLee @firefox
                                          last edited by Dec 3, 2023, 8:35 PM

                                          @firefox you need ZFS it's a nice improvement

                                          Make sure to upvote

                                          F 1 Reply Last reply Dec 6, 2023, 6:58 AM Reply Quote 1
                                          • 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