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

    Kernel Panic in 2.7.0

    Scheduled Pinned Locked Moved General pfSense Questions
    29 Posts 4 Posters 3.2k 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.
    • hecsaH
      hecsa @pfsss
      last edited by

      @pfsss
      Hi,
      From the command line are you able to ping outside sites by name, for example to www.yahoo.com, or some known site? Looks like you don't have access to internet.
      Thanks, and best regards,
      HeCSa.

      P 1 Reply Last reply Reply Quote 0
      • P
        pfsss @hecsa
        last edited by

        @hecsa hi
        I ping yahoo.com using ping -c 5 yahoo.com , the output is

        PING6(56=40+8+8 bytes) 2***************4 --> 2001:4998:24:120d::1:1
        16 bytes from 2001:4998:24:120d::1:1, icmp_seq=0 hlim=46 time=263.204 ms
        16 bytes from 2001:4998:24:120d::1:1, icmp_seq=1 hlim=47 time=263.954 ms
        16 bytes from 2001:4998:24:120d::1:1, icmp_seq=2 hlim=47 time=261.079 ms
        16 bytes from 2001:4998:24:120d::1:1, icmp_seq=3 hlim=46 time=259.364 ms
        16 bytes from 2001:4998:24:120d::1:1, icmp_seq=4 hlim=47 time=257.564 ms
        
        --- yahoo.com ping6 statistics ---
        5 packets transmitted, 5 packets received, 0.0% packet loss
        round-trip min/avg/max/std-dev = 257.564/261.033/263.954/2.369 ms
        

        it seems not the network problem~~

        hecsaH 1 Reply Last reply Reply Quote 0
        • hecsaH
          hecsa @pfsss
          last edited by hecsa

          @pfsss
          Hi,
          Take a look at this thread, looks something like what you are experiencing: https://forum.netgate.com/topic/121783/solved-update-2-3-4-to-2-4-failed-unable-to-check-for-updates/3
          Thanks, and best regards,
          HeCSa.

          P 1 Reply Last reply Reply Quote 0
          • P
            pfsss @hecsa
            last edited by

            @hecsa I tried to ls -al /var/pkg/cache there is no such directory..

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Try: pkg-static -d update

              That should give a more useful error.

              1 Reply Last reply Reply Quote 1
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                You probably need to run: certctl rehash

                P H 2 Replies Last reply Reply Quote 1
                • P
                  pfsss @stephenw10
                  last edited by

                  @stephenw10 hi
                  after running command certctl rehash and png-static -d update I get the following hints

                  Newer FreeBSD version for package xxd:
                  To ignore this error set IGNORE_OSVERSION=yes
                  - package: 1400094
                  - running kernel: 1400085
                  Ignore the mismatch and continue? [y/N]: pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:amd64
                  Processing entries... done
                  Unable to update repository pfSense
                  Error updating repositories!
                  

                  I think it is close to the right way

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Yes, it must be seeing the pkgs to be able to throw that error so try to upgrade again.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pfsss @stephenw10
                      last edited by

                      @stephenw10
                      ok, I'm upgrading the system now. I wonder whether upgrading the system affects the packages I've installed. I have a Wireguard package installed in the 2.7.0 version os, after upgrading, it should be ok or I will reconfigured it? thanks~

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Should be fine. The packages will be upgraded and the config retained.

                        P 3 Replies Last reply Reply Quote 0
                        • P
                          pfsss @stephenw10
                          last edited by

                          @stephenw10
                          as your previous replys, how to do memtest, is there a simple instruction to run memtest? thanks

                          1 Reply Last reply Reply Quote 0
                          • P
                            pfsss @stephenw10
                            last edited by

                            @stephenw10 thanks to your guide, I've upgrade my os to 2.7.2 successfully! I'll watch whether the crash occurs again.

                            1 Reply Last reply Reply Quote 1
                            • P
                              pfsss @stephenw10
                              last edited by

                              @stephenw10 sadly, the gateway crashes again few hours after upgrade. the crash information is

                              Fatal trap 12: page fault while in kernel mode
                              cpuid = 2; apic id = 04
                              fault virtual address	= 0xfffffe00483bdc90
                              fault code		= supervisor write data, page not present
                              instruction pointer	= 0x20:0xffffffff81159b45
                              stack pointer	        = 0x28:0xfffffe00862abc08
                              frame pointer	        = 0x28:0xfffffe00862abc10
                              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		= 54985 (netstat)
                              rdi: ffffffff830dbf00 rsi: fffffe00083bdc20 rdx: 0000000000000001
                              rcx: 0000000005010018  r8: ffffffff830dbf28  r9: 0000000005ff0008
                              rax: fffffe0001611c50 rbx: fffffe00483bdc90 rbp: fffffe00862abc10
                              r10: fffffe00483bdc90 r11: fffffe00483bdc88 r12: ffffffff830dbf00
                              r13: fffffe00098fd400 r14: 0000000000000001 r15: 0000000000000006
                              trap number		= 12
                              panic: page fault
                              cpuid = 2
                              time = 1704523671
                              KDB: enter: panic
                              

                              bt is

                              db:0:kdb.enter.default>  bt
                              Tracing pid 54985 tid 100246 td 0xfffffe006cc34020
                              kdb_enter() at kdb_enter+0x32/frame 0xfffffe00862ab8e0
                              vpanic() at vpanic+0x163/frame 0xfffffe00862aba10
                              panic() at panic+0x43/frame 0xfffffe00862aba70
                              trap_fatal() at trap_fatal+0x40c/frame 0xfffffe00862abad0
                              trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00862abb30
                              calltrap() at calltrap+0x8/frame 0xfffffe00862abb30
                              --- trap 0xc, rip = 0xffffffff81159b45, rsp = 0xfffffe00862abc08, rbp = 0xfffffe00862abc10 ---
                              vm_pqbatch_process_page() at vm_pqbatch_process_page+0xb5/frame 0xfffffe00862abc10
                              vm_page_pqbatch_submit() at vm_page_pqbatch_submit+0x200/frame 0xfffffe00862abc60
                              vm_page_free_prep() at vm_page_free_prep+0x9c/frame 0xfffffe00862abc80
                              vm_page_free_toq() at vm_page_free_toq+0x12/frame 0xfffffe00862abcb0
                              vm_object_terminate() at vm_object_terminate+0x11a/frame 0xfffffe00862abcd0
                              vm_object_deallocate() at vm_object_deallocate+0x1af/frame 0xfffffe00862abd10
                              vm_map_process_deferred() at vm_map_process_deferred+0x92/frame 0xfffffe00862abd30
                              vm_map_remove() at vm_map_remove+0xff/frame 0xfffffe00862abd60
                              vmspace_exit() at vmspace_exit+0xab/frame 0xfffffe00862abd90
                              exit1() at exit1+0x53a/frame 0xfffffe00862abdf0
                              sys_exit() at sys_exit+0xd/frame 0xfffffe00862abe00
                              amd64_syscall() at amd64_syscall+0x109/frame 0xfffffe00862abf30
                              fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00862abf30
                              --- syscall (1, FreeBSD ELF64, exit), rip = 0x33c88f91140a, rsp = 0x33c88b1d4378, rbp = 0x33c88b1d4390 ---
                              db:0:kdb.enter.default>  ps
                              
                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                Hmm, same crash too. I would definitely run some passes through memtest to check the RAM.

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  pfsss @stephenw10
                                  last edited by

                                  @stephenw10 I've run a memtest to the memory, report this
                                  IMG_8772 Large.jpeg
                                  it is actually bad RAM!
                                  thanks for your guides!

                                  1 Reply Last reply Reply Quote 1
                                  • H
                                    homerp @stephenw10
                                    last edited by

                                    @stephenw10
                                    excellent. Solved my issue with missing packages.
                                    Up to this point I was getting:

                                    DBG(1)[97341]> pkg initialized
                                    Updating pfSense-core repository catalogue...
                                    DBG(1)[97341]> PkgRepo: verifying update for pfSense-core
                                    DBG(1)[97341]> PkgRepo: need forced update of pfSense-core
                                    DBG(1)[97341]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                                    DBG(1)[97341]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.conf
                                    DBG(1)[97341]> curl_open
                                    DBG(1)[97341]> Fetch: fetcher used: pkg+https
                                    DBG(1)[97341]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.conf
                                    
                                    DBG(1)[97341]> CURL> attempting to fetch from , left retry 3
                                    
                                    * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults
                                    *   Trying 208.123.73.207:443...
                                    * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443
                                    * ALPN: curl offers http/1.1
                                    *  CAfile: none
                                    *  CApath: /etc/ssl/certs/
                                    * SSL certificate problem: self-signed certificate in certificate chain
                                    * Closing connection
                                    DBG(1)[97341]> CURL> attempting to fetch from , left retry 2
                                    
                                    

                                    After the rehash, this was fixed and the packages re-appeared in the GUI.
                                    Many thanks.

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