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.
    • P
      pfsss
      last edited by stephenw10

      I have the same error in a x86 system

      Fatal trap 12: page fault while in kernel mode
      cpuid = 0; apic id = 00
      fault virtual address	= 0xfffffe0048306290
      fault code		= supervisor write data, page not present
      instruction pointer	= 0x20:0xffffffff811616d7
      stack pointer	        = 0x28:0xfffffe00a1e13bd0
      frame pointer	        = 0x28:0xfffffe00a1e13bd0
      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		= 68827 (netstat)
      rdi: ffffffff830ccd40 rsi: fffffe0008306220 rdx: fffffe00a1e13be0
      rcx:          5ff0008  r8: fffffe0048306288  r9: fffffe0048306288
      rax: fffffe00033220f8 rbx: fffffe0008306220 rbp: fffffe00a1e13bd0
      r10: ffffffff82c01fe8 r11:        116c00000 r12: fffffe00a1e13be0
      r13:            10000 r14: ffffffff830ccd40 r15:                1
      trap number		= 12
      panic: page fault
      cpuid = 0
      time = 1702804042
      KDB: enter: panic
      ---<<BOOT>>---
      Copyright (c) 1992-2023 The FreeBSD Project.
      Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
      	The Regents of the University of California. All rights reserved.
      FreeBSD is a registered trademark of The FreeBSD Foundation.
      FreeBSD 14.0-CURRENT #1 RELENG_2_7_0-n255866-686c8d3c1f0: Wed Jun 28 04:21:19 UTC 2023
          root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/obj/amd64/LwYAddCr/var/jenkins/workspace/pfSense-CE-snapshots-2_7_0-main/sources/FreeBSD-src-RELENG_2_7_0/amd64.amd64/sys/pfSense amd64
      FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6)
      VT(vga): resolution 640x480
      CPU: Intel(R) Celeron(R) CPU  N3160  @ 1.60GHz (1600.17-MHz K8-class CPU)
        Origin="GenuineIntel"  Id=0x406c4  Family=0x6  Model=0x4c  Stepping=4
        Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
        Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND>
        AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
        AMD Features2=0x101<LAHF,Prefetch>Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG>
        Structured Extended Features3=0xc000000<IBPB,STIBP>
        VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
        TSC: P-state invariant, performance statistics
      real memory  = 4294967296 (4096 MB)
      avail memory = 3972055040 (3788 MB)
      Event timer "LAPIC" quality 600
      ACPI APIC Table: <ALASKA A M I >
      WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1)
      FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
      FreeBSD/SMP: 1 package(s) x 4 core(s)
      random: registering fast source Intel Secure Key RNG
      random: fast provider: "Intel Secure Key RNG"
      random: unblocking device.
      ioapic0 <Version 2.0> irqs 0-114
      Launching APs: 2 1 3
      TCP_ratelimit: Is now initialized
      wlan: mac acl policy registered
      ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
      ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
      module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff80748430, 0) error 1
      ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
      ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
      module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff807484e0, 0) error 1
      ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
      ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
      module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff80748590, 0) error 1
      iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
      iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
      module_register_init: MOD_LOAD (iwi_bss_fw, 0xffffffff807659c0, 0) error 1
      iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
      iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
      module_register_init: MOD_LOAD (iwi_ibss_fw, 0xffffffff80765a70, 0) error 1
      iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
      iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
      module_register_init: MOD_LOAD (iwi_monitor_fw, 0xffffffff80765b20, 0) error 1
      random: entropy device external interface
      kbd1 at kbdmux0
      WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 14.0.
      vtvga0: <VT VGA driver>
      netgate0: <unknown hardware>
      smbios0: <System Management BIOS> at iomem 0xf05e0-0xf05fe
      smbios0: Version: 3.0, BCD Revision: 3.0
      acpi0: <ALASKA A M I >
      acpi0: Power Button (fixed)
      unknown: I/O range not supported
      cpu0: <ACPI CPU> on acpi0
      atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
      atrtc0: Warning: Couldn't map I/O.
      atrtc0: registered as a time-of-day clock, resolution 1.000000s
      Event timer "RTC" frequency 32768 Hz quality 0
      attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
      Timecounter "i8254" frequency 1193182 Hz quality 0
      Event timer "i8254" frequency 1193182 Hz quality 100
      Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
      acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
      pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
      pci0: <ACPI PCI bus> on pcib0
      vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xb0000000-0xb0ffffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0
      vgapci0: Boot video device
      ahci0: <AHCI SATA controller> port 0xf060-0xf07f mem 0xb1415000-0xb14157ff irq 19 at device 19.0 on pci0
      ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported
      ahcich0: <AHCI channel> at channel 0 on ahci0
      ahcich1: <AHCI channel> at channel 1 on ahci0
      xhci0: <Intel Braswell USB 3.0 controller> mem 0xb1400000-0xb140ffff irq 20 at device 20.0 on pci0
      xhci0: 32 bytes context size, 64-bit DMA
      usbus0: waiting for BIOS to give up control
      xhci_interrupt: host controller halted
      usbus0 on xhci0
      usbus0: 5.0Gbps Super Speed USB v3.0
      pci0: <encrypt/decrypt> at device 26.0 (no driver attached)
      hdac0: <Intel Braswell HDA Controller> mem 0xb1410000-0xb1413fff irq 22 at device 27.0 on pci0
      pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
      pci1: <ACPI PCI bus> on pcib1
      re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0xb1300000-0xb1300fff,0xd0100000-0xd0103fff irq 16 at device 0.0 on pci1
      re0: Using 1 MSI-X message
      re0: ASPM disabled
      re0: Chip rev. 0x2c800000
      re0: MAC rev. 0x00100000
      miibus0: <MII bus> on re0
      rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
      rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
      <6>re0: Using defaults for TSO: 65518/35/2048
      <6>re0: Ethernet address: 00:e0:67:14:c0:14
      <6>re0: netmap queues/slots: TX 1/256, RX 1/256
      pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
      pci2: <ACPI PCI bus> on pcib2
      re1: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xb1200000-0xb1200fff,0xd0000000-0xd0003fff irq 17 at device 0.0 on pci2
      re1: Using 1 MSI-X message
      re1: ASPM disabled
      re1: Chip rev. 0x2c800000
      re1: MAC rev. 0x00100000
      
      stephenw10S 1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator @pfsss
        last edited by

        @pfsss Do you have the backtrace from that crash?

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

          @stephenw10 yes

          db:0:kdb.enter.default>  bt
          Tracing pid 9 tid 100125 td 0xfffffe006b90f900
          kdb_enter() at kdb_enter+0x32/frame 0xfffffe006af05810
          vpanic() at vpanic+0x183/frame 0xfffffe006af05860
          panic() at panic+0x43/frame 0xfffffe006af058c0
          trap_fatal() at trap_fatal+0x409/frame 0xfffffe006af05920
          trap_pfault() at trap_pfault+0x4f/frame 0xfffffe006af05980
          calltrap() at calltrap+0x8/frame 0xfffffe006af05980
          --- trap 0xc, rip = 0xffffffff80cd2552, rsp = 0xfffffe006af05a50, rbp = 0xfffffe006af05a60 ---
          _mtx_trylock_flags_() at _mtx_trylock_flags_+0x32/frame 0xfffffe006af05a60
          pmap_ts_referenced() at pmap_ts_referenced+0x5d5/frame 0xfffffe006af05af0
          vm_pageout_worker() at vm_pageout_worker+0xb21/frame 0xfffffe006af05eb0
          vm_pageout() at vm_pageout+0x1c7/frame 0xfffffe006af05ef0
          fork_exit() at fork_exit+0x7d/frame 0xfffffe006af05f30
          fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe006af05f30
          --- trap 0xb96e72dc, rip = 0xffffffffffffffff, rsp = 0xffffffffffffffff, rbp = 0xfdf9fbf3f7e6efcc ---
          
          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            I forked this to a new topic because that's a completely different crash.

            Did it just start happening? Was it stable in 2.6? Any reason you are not running 2.7.2?

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

              @stephenw10 I installed 2.7.0 in this x86 machine and not tested in 2.6.0 . this happens stochastic, sometimes few hours.

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

                @stephenw10 I'd be like to update 2.7.2 but when I check for updates shows this
                Version 2.7.0-RELEASE (amd64)
                built on Wed Jun 28 03:53:34 UTC 2023
                FreeBSD 14.0-CURRENT

                The system is on the latest version.
                Version information updated at Thu Jan 4 21:58:57 +08 2024

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

                  Ok, so it has always crashed in 2.7.0 on that hardware?

                  The crash itself could well be a bad RAM. Do the crashes all look the same? Same backtrace?

                  You can install 2.7.2 directly. Otherwise make sure latest version is set in System > Update. Try running pfSense-upgrade at the CLI and see wha error is shown.

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

                    @stephenw10 the web ui upgrade is as follow59e5ff73-1435-4e8b-8f8e-48f97e9f9bb6-image.png

                    no button to confirm upgrade

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

                      @stephenw10 here are some crash bt
                      one crash:
                      db:0:kdb.enter.default> bt
                      Tracing pid 9 tid 100125 td 0xfffffe006b90f900
                      kdb_enter() at kdb_enter+0x32/frame 0xfffffe006af05810
                      vpanic() at vpanic+0x183/frame 0xfffffe006af05860
                      panic() at panic+0x43/frame 0xfffffe006af058c0
                      trap_fatal() at trap_fatal+0x409/frame 0xfffffe006af05920
                      trap_pfault() at trap_pfault+0x4f/frame 0xfffffe006af05980
                      calltrap() at calltrap+0x8/frame 0xfffffe006af05980
                      --- trap 0xc, rip = 0xffffffff80cd2552, rsp = 0xfffffe006af05a50, rbp = 0xfffffe006af05a60 ---
                      mtx_trylock_flags() at mtx_trylock_flags+0x32/frame 0xfffffe006af05a60
                      pmap_ts_referenced() at pmap_ts_referenced+0x5d5/frame 0xfffffe006af05af0
                      vm_pageout_worker() at vm_pageout_worker+0xb21/frame 0xfffffe006af05eb0
                      vm_pageout() at vm_pageout+0x1c7/frame 0xfffffe006af05ef0
                      fork_exit() at fork_exit+0x7d/frame 0xfffffe006af05f30
                      fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe006af05f30
                      --- trap 0xb96e72dc, rip = 0xffffffffffffffff, rsp = 0xffffffffffffffff, rbp = 0xfdf9fbf3f7e6efcc ---
                      the other one
                      db:0:kdb.enter.default> bt
                      Tracing pid 17611 tid 100279 td 0xfffffe00a14413a0
                      kdb_enter() at kdb_enter+0x32/frame 0xfffffe00a04c4070
                      vpanic() at vpanic+0x183/frame 0xfffffe00a04c40c0
                      panic() at panic+0x43/frame 0xfffffe00a04c4120
                      vm_fault() at vm_fault+0x1539/frame 0xfffffe00a04c4230
                      vm_fault_trap() at vm_fault_trap+0xb1/frame 0xfffffe00a04c4280
                      trap_pfault() at trap_pfault+0x1f2/frame 0xfffffe00a04c42e0
                      calltrap() at calltrap+0x8/frame 0xfffffe00a04c42e0
                      --- trap 0xc, rip = 0xffffffff811616d7, rsp = 0xfffffe00a04c43b0, rbp = 0xfffffe00a04c43b0 ---
                      _vm_page_pqstate_commit_dequeue() at _vm_page_pqstate_commit_dequeue+0x47/frame 0xfffffe00a04c43b0
                      vm_page_pqstate_commit_dequeue() at vm_page_pqstate_commit_dequeue+0x7b/frame 0xfffffe00a04c43f0
                      vm_page_alloc_domain_after() at vm_page_alloc_domain_after+0x242/frame 0xfffffe00a04c4460
                      vm_page_alloc() at vm_page_alloc+0x64/frame 0xfffffe00a04c44c0
                      vm_fault_allocate() at vm_fault_allocate+0x1d4/frame 0xfffffe00a04c4530
                      vm_fault() at vm_fault+0x360/frame 0xfffffe00a04c4640
                      vm_fault_trap() at vm_fault_trap+0x6d/frame 0xfffffe00a04c4690
                      trap_pfault() at trap_pfault+0x1f2/frame 0xfffffe00a04c46f0
                      calltrap() at calltrap+0x8/frame 0xfffffe00a04c46f0
                      --- trap 0xc, rip = 0xffffffff81297056, rsp = 0xfffffe00a04c47c0, rbp = 0xfffffe00a04c47c0 ---
                      copyout_nosmap_erms() at copyout_nosmap_erms+0x156/frame 0xfffffe00a04c47c0
                      elf64_load_sections() at elf64_load_sections+0x265/frame 0xfffffe00a04c4860
                      elf64_load_file() at elf64_load_file+0x24f/frame 0xfffffe00a04c48c0
                      elf64_load_interp() at elf64_load_interp+0xff/frame 0xfffffe00a04c4910
                      exec_elf64_imgact() at exec_elf64_imgact+0xe32/frame 0xfffffe00a04c4a10
                      kern_execve() at kern_execve+0x658/frame 0xfffffe00a04c4d80
                      sys_execve() at sys_execve+0x58/frame 0xfffffe00a04c4e00
                      amd64_syscall() at amd64_syscall+0x109/frame 0xfffffe00a04c4f30
                      fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00a04c4f30
                      --- syscall (59, FreeBSD ELF64, execve), rip = 0x8268e4ffa, rsp = 0x820b57978, rbp = 0x820b579f0 ---
                      db:0:kdb.enter.default> ps

                      the third one
                      db:0:kdb.enter.default> bt
                      Tracing pid 84979 tid 100259 td 0xfffffe00a15a9720
                      kdb_enter() at kdb_enter+0x32/frame 0xfffffe009fcb0990
                      vpanic() at vpanic+0x183/frame 0xfffffe009fcb09e0
                      panic() at panic+0x43/frame 0xfffffe009fcb0a40
                      trap_fatal() at trap_fatal+0x409/frame 0xfffffe009fcb0aa0
                      trap_pfault() at trap_pfault+0x4f/frame 0xfffffe009fcb0b00
                      calltrap() at calltrap+0x8/frame 0xfffffe009fcb0b00
                      --- trap 0xc, rip = 0xffffffff811616d7, rsp = 0xfffffe009fcb0bd0, rbp = 0xfffffe009fcb0bd0 ---
                      _vm_page_pqstate_commit_dequeue() at _vm_page_pqstate_commit_dequeue+0x47/frame 0xfffffe009fcb0bd0
                      vm_pqbatch_process_page() at vm_pqbatch_process_page+0xaf/frame 0xfffffe009fcb0c10
                      vm_page_pqbatch_submit() at vm_page_pqbatch_submit+0x20f/frame 0xfffffe009fcb0c60
                      vm_page_free_prep() at vm_page_free_prep+0x9c/frame 0xfffffe009fcb0c80
                      vm_page_free_toq() at vm_page_free_toq+0x12/frame 0xfffffe009fcb0cb0
                      vm_object_terminate() at vm_object_terminate+0x12a/frame 0xfffffe009fcb0cd0
                      vm_object_deallocate() at vm_object_deallocate+0x1a8/frame 0xfffffe009fcb0d10
                      vm_map_process_deferred() at vm_map_process_deferred+0x92/frame 0xfffffe009fcb0d30
                      vm_map_remove() at vm_map_remove+0x100/frame 0xfffffe009fcb0d60
                      vmspace_exit() at vmspace_exit+0xaa/frame 0xfffffe009fcb0d90
                      exit1() at exit1+0x56c/frame 0xfffffe009fcb0df0
                      sys_exit() at sys_exit+0xd/frame 0xfffffe009fcb0e00
                      amd64_syscall() at amd64_syscall+0x109/frame 0xfffffe009fcb0f30
                      fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe009fcb0f30
                      --- syscall (1, FreeBSD ELF64, exit), rip = 0x358e7bf9e99a, rsp = 0x358e77c4b518, rbp = 0x358e77c4b530 ---
                      db:0:kdb.enter.default> ps

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

                        @stephenw10 when I run the command ```
                        pfsense-upgrade

                        ~~ERROR: It was not possible to determine pkg remote version
                        >>> Updating repositories metadata...
                        Updating pfSense-core repository catalogue...
                        pkg-static: An error occured while fetching package
                        pkg-static: An error occured while fetching package
                        repository pfSense-core has no meta file, using default settings
                        pkg-static: An error occured while fetching package
                        pkg-static: An error occured while fetching package
                        Unable to update repository pfSense-core
                        Updating pfSense repository catalogue...
                        pkg-static: An error occured while fetching package
                        pkg-static: An error occured while fetching package
                        repository pfSense has no meta file, using default settings
                        pkg-static: An error occured while fetching package
                        pkg-static: An error occured while fetching package
                        Unable to update repository pfSense
                        Error updating repositories!
                        ERROR: It was not possible to determine pfSense-upgrade remote version
                        ERROR: It was not possible to determine pfSense-upgrade remote version
                        >>> Upgrading pfSense-upgrade... failed.~~
                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Ok, so those crashes all appear to be in memory management. I would run a few cycles of memtest to be sure it's not bad RAM.

                          Try running pfSense-upgrade -d to get more debug output.

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

                            @stephenw10 said in Kernel Panic in 2.7.0:

                            I would run a few cycles of memtest to be sure it's not bad RAM

                            thanks for replying. how to do memtest, is there a simple instruction to run memtest? thanks!

                            after running the command pfsense-upgrade -d the output information is as follows:
                            ~~ERROR: It was not possible to determine pkg remote version

                            Updating repositories metadata...
                            Updating pfSense-core repository catalogue...
                            pkg-static: An error occured while fetching package
                            pkg-static: An error occured while fetching package
                            repository pfSense-core has no meta file, using default settings
                            pkg-static: An error occured while fetching package
                            pkg-static: An error occured while fetching package
                            Unable to update repository pfSense-core
                            Updating pfSense repository catalogue...
                            pkg-static: An error occured while fetching package
                            pkg-static: An error occured while fetching package
                            repository pfSense has no meta file, using default settings
                            pkg-static: An error occured while fetching package
                            pkg-static: An error occured while fetching package
                            Unable to update repository pfSense
                            Error updating repositories!
                            ERROR: It was not possible to determine pfSense-upgrade remote version
                            ERROR: It was not possible to determine pfSense-upgrade remote version
                            Upgrading pfSense-upgrade...
                            Updating pfSense-core repository catalogue...
                            pkg-static: An error occured while fetching package
                            pkg-static: An error occured while fetching package
                            repository pfSense-core has no meta file, using default settings
                            pkg-static: An error occured while fetching package
                            pkg-static: An error occured while fetching package
                            Unable to update repository pfSense-core
                            Updating pfSense repository catalogue...
                            pkg-static: An error occured while fetching package
                            pkg-static: An error occured while fetching package
                            repository pfSense has no meta file, using default settings
                            pkg-static: An error occured while fetching package
                            pkg-static: An error occured while fetching package
                            Unable to update repository pfSense
                            Error updating repositories!~~

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

                              @pfsss

                              ERROR: It was not possible to determine pkg remote version
                              >>> Updating repositories metadata...
                              Updating pfSense-core repository catalogue...
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              repository pfSense-core has no meta file, using default settings
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              Unable to update repository pfSense-core
                              Updating pfSense repository catalogue...
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              repository pfSense has no meta file, using default settings
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              Unable to update repository pfSense
                              Error updating repositories!
                              ERROR: It was not possible to determine pfSense-upgrade remote version
                              ERROR: It was not possible to determine pfSense-upgrade remote version
                              >>> Upgrading pfSense-upgrade...
                              Updating pfSense-core repository catalogue...
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              repository pfSense-core has no meta file, using default settings
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              Unable to update repository pfSense-core
                              Updating pfSense repository catalogue...
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              repository pfSense has no meta file, using default settings
                              pkg-static: An error occured while fetching package
                              pkg-static: An error occured while fetching package
                              Unable to update repository pfSense
                              Error updating repositories!
                              
                              hecsaH 1 Reply Last reply Reply Quote 0
                              • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.