Navigation

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

    PC Engines APU : kernel crash at boot once upgraded to 2.2

    Installation and Upgrades
    2
    2
    710
    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.
    • G
      GLR last edited by

      I upgraded an ALIX 2D3 to 2.2-RELEASE (i386) without any issue, but when I tried to upgrade my APU to 2.2-RELEASE (amd64), a kernel crash occured at boot possibly in bsnmpd :

           ___
       ___/ f \
      / p \___/ Sense
      \___/   \
          \___/
      
      Welcome to pfSense 2.2-RELEASE  ...
      
      Creating symlinks......ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
      32-bit compatibility ldconfig path: /usr/lib32
      done.
      External config loader 1.0 is now starting...
      Launching the init system... done.
      Initializing...................... done.
      Starting device manager (devd)...done.
      Loading configuration......done.
      Updating configuration...done.
      Cleaning backup cache........done.
      Setting up extended sysctls...done.
      Setting timezone...done.
      Configuring loopback interface...done.
      Starting syslog...done.
      Starting Secure Shell Services...done.
      Setting up polling defaults...done.
      Setting up interfaces microcode...done.
      Configuring loopback interface...done.
      Creating wireless clone interfaces...done.
      Configuring LAGG interfaces...done.
      Configuring VLAN interfaces...done.
      Configuring QinQ interfaces...done.
      Configuring INTERNET interface...done.
      Configuring DMZ interface...done.
      Configuring LAN interface...done.
      Configuring CARP settings...done.
      Syncing OpenVPN settings...done.
      Configuring firewall......done.
      Starting PFLOG...done.
      Setting up gateway monitors...done.
      Synchronizing user settings...done.
      Starting webConfigurator...done.
      Configuring CRON...done.
      Starting DNS forwarder...done.
      Starting NTP time client...done.
      Starting DHCP service...done.
      Configuring firewall......done.
      Configuring IPsec VPN... done
      Starting SNMP daemon... done.
      Generating RRD graphs...
      
      Fatal trap 9: general protection fault while in kernel mode
      cpuid = 1; apic id = 01
      instruction pointer     = 0x20:0xffffffff80b6d4e5
      stack pointer           = 0x28:0xfffffe0094bdd840
      frame pointer           = 0x28:0xfffffe0094bdd850
      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         = 32455 (bsnmpd)
      [ thread pid 32455 tid 100120 ]
      Stopped at      strlcpy+0x25:   movb    (%rax),%dl
      db:0:kdb.enter.default> textdump set
      textdump set
      db:0:kdb.enter.default>  capture on
      db:0:kdb.enter.default>  run lockinfo
      db:1:lockinfo> show locks
      No such command
      db:1:locks>  show alllocks
      No such command
      db:1:alllocks>  show lockedvnods
      Locked vnodes
      db:0:kdb.enter.default>  show pcpu
      cpuid        = 1
      dynamic pcpu = 0xfffffe00f795a700
      curthread    = 0xfffff8000cde3000: pid 32455 "bsnmpd"
      curpcb       = 0xfffffe0094bddcc0
      fpcurthread  = none
      idlethread   = 0xfffff80003504920: tid 100004 "idle: cpu1"
      curpmap      = 0xfffff8000c2a1f38
      tssp         = 0xffffffff8218d078
      commontssp   = 0xffffffff8218d078
      rsp0         = 0xfffffe0094bddcc0
      gs32p        = 0xffffffff8218ead0
      ldt          = 0xffffffff8218eb10
      tss          = 0xffffffff8218eb00
      db:0:kdb.enter.default>  bt
      Tracing pid 32455 tid 100120 td 0xfffff8000cde3000
      strlcpy() at strlcpy+0x25/frame 0xfffffe0094bdd850
      sysctl_rman() at sysctl_rman+0x1e1/frame 0xfffffe0094bdd930
      sysctl_root() at sysctl_root+0x232/frame 0xfffffe0094bdd980
      userland_sysctl() at userland_sysctl+0x1d8/frame 0xfffffe0094bdda30
      sys___sysctl() at sys___sysctl+0x74/frame 0xfffffe0094bddae0
      amd64_syscall() at amd64_syscall+0x351/frame 0xfffffe0094bddbf0
      Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0094bddbf0
      --- syscall (202, FreeBSD ELF64, sys___sysctl), rip = 0x800fb598a, rsp = 0x7fffffffa3c8, rbp = 0x7fffffffa400 ---
      db:0:kdb.enter.default>  ps
        pid  ppid  pgrp   uid   state   wmesg         wchan        cmd
      32757   307    21     0  R+      CPU 0                       bsdtar
      32455     1 32455     0  Rs      CPU 1                       bsnmpd
      31844 31745 31844     0  Ss      (threaded)                  charon
      100137                   S       uwait    0xfffff8000c232700 charon
      100136                   S       uwait    0xfffff8000c232800 charon
      100135                   S       uwait    0xfffff8000c232900 charon
      100134                   S       uwait    0xfffff8000c232a00 charon
      100133                   S       uwait    0xfffff8000c233680 charon
      100132                   S       uwait    0xfffff8000c20f000 charon
      100131                   S       uwait    0xfffff8000c1aee80 charon
      100130                   S       uwait    0xfffff8000c769f00 charon
      100129                   S       uwait    0xfffff8000c210200 charon
      100128                   S       select   0xfffff8000cd749c0 charon
      100127                   S       uwait    0xfffff8000c210800 charon
      100126                   S       select   0xfffff8000cd74ac0 charon
      100125                   S       uwait    0xfffff8000c210a00 charon
      100124                   S       accept   0xfffff8000ce015d6 charon
      100123                   S       uwait    0xfffff8000cc5b600 charon
      100122                   S       uwait    0xfffff8000cc5ba80 charon
      100113                   S       sigwait  0xfffff8000c5bc000 charon
      31745     1 31745     0  Ss      select   0xfffff8001825ec40 starter
      28327 21809    21     0  S+      kqread   0xfffff8000c5fa200 ntpdate
      27985     1 27985  1002  Ss      select   0xfffff8000c1aee40 dhcpd
      26844     1 26774 65534  S       select   0xfffff8000cd77940 dnsmasq
      21809     1    21     0  S+      wait     0xfffff8000cde14c0 sh
      20182     1 20094     0  S       kqread   0xfffff8000c283900 lighttpd
      15922 15629 15629     0  S       piperd   0xfffff8000c30d000 rrdtool
      15629     1 15629     0  Ss      select   0xfffff8000cc71d40 apinger
      13334  5924 13334     0  Ss      (threaded)                  sshlockout_pf
      100108                   S       nanslp   0xffffffff81f5df70 sshlockout_pf
      100106                   S       piperd   0xfffff8000c3072e8 sshlockout_pf
      12980     1 12980     0  Ss      select   0xfffff8000c769ac0 sshd
      12902     1 12902     0  Ss      select   0xfffff8000c769cc0 inetd
      11647   287   287     0  S       accept   0xfffff8000c53c066 php-fpm
      10063     1 10063     0  Ss      select   0xfffff8000c76a140 openvpn
       9779     1  9779     0  Ss      bpf      0xfffff8000c221800 filterlog
       5924     1  5924     0  Ss      select   0xfffff8000c76a8c0 syslogd
        316     1   316     0  Ss      select   0xfffff8000c212dc0 devd
        307    21    21     0  S+      piperd   0xfffff8000c3068b8 php
        304   302   302     0  S       kqread   0xfffff8000c1eed00 check_reload_status
        302     1   302     0  Ss      kqread   0xfffff8000c248e00 check_reload_status
        287     1   287     0  Ss      kqread   0xfffff8000c213100 php-fpm
         59     0     0     0  DL      mdwait   0xfffff8000a0c6800 [md1]
         54     0     0     0  DL      mdwait   0xfffff8000c209000 [md0]
         21     1    21     0  Ss+     pause    0xfffff8000c2b4a28 sh
         20     0     0     0  DL      syncer   0xffffffff81faef08 [syncer]
         19     0     0     0  DL      vlruwt   0xfffff8000c224980 [vnlru]
         18     0     0     0  DL      psleep   0xffffffff81fae104 [bufdaemon]
         17     0     0     0  DL      pgzero   0xffffffff82100e8c [pagezero]
          9     0     0     0  DL      pollid   0xffffffff81f5c8f0 [idlepoll]
          8     0     0     0  DL      psleep   0xffffffff821005c0 [vmdaemon]
          7     0     0     0  DL      psleep   0xffffffff8218c384 [pagedaemon]
          6     0     0     0  DL      waiting_ 0xffffffff8217cdf0 [sctp_iterator]
          5     0     0     0  DL      pftm     0xffffffff80cff710 [pf purge]
         16     0     0     0  DL      (threaded)                  [usb]
      100063                   D       -        0xfffffe0000976e18 [usbus6]
      100062                   D       -        0xfffffe0000976dc0 [usbus6]
      100061                   D       -        0xfffffe0000976d68 [usbus6]
      100060                   D       -        0xfffffe0000976d10 [usbus6]
      100059                   D       -        0xfffffe0000981460 [usbus5]
      100058                   D       -        0xfffffe0000981408 [usbus5]
      100057                   D       -        0xfffffe00009813b0 [usbus5]
      100056                   D       -        0xfffffe0000981358 [usbus5]
      100055                   D       -        0xfffffe000096d460 [usbus4]
      100054                   D       -        0xfffffe000096d408 [usbus4]
      100053                   D       -        0xfffffe000096d3b0 [usbus4]
      100052                   D       -        0xfffffe000096d358 [usbus4]
      100049                   D       -        0xfffffe0000962e18 [usbus3]
      100048                   D       -        0xfffffe0000962dc0 [usbus3]
      100047                   D       -        0xfffffe0000962d68 [usbus3]
      100046                   D       -        0xfffffe0000962d10 [usbus3]
      100045                   D       -        0xfffffe0000959460 [usbus2]
      100044                   D       -        0xfffffe0000959408 [usbus2]
      100043                   D       -        0xfffffe00009593b0 [usbus2]
      100042                   D       -        0xfffffe0000959358 [usbus2]
      100041                   D       -        0xfffffe000092ce18 [usbus1]
      100040                   D       -        0xfffffe000092cdc0 [usbus1]
      100039                   D       -        0xfffffe000092cd68 [usbus1]
      100038                   D       -        0xfffffe000092cd10 [usbus1]
      100036                   D       -        0xfffffe0000923460 [usbus0]
      100035                   D       -        0xfffffe0000923408 [usbus0]
      100034                   D       -        0xfffffe00009233b0 [usbus0]
      100033                   D       -        0xfffffe0000923358 [usbus0]
          4     0     0     0  DL      (threaded)                  [cam]
      100071                   D       -        0xffffffff81e96ac0 [scanner]
      100027                   D       -        0xffffffff81e96c80 [doneq0]
          3     0     0     0  DL      crypto_r 0xffffffff820fea90 [crypto returns]
          2     0     0     0  DL      crypto_w 0xffffffff820fe938 [crypto]
         15     0     0     0  DL      -        0xffffffff81eb4180 [rand_harvestq]
         14     0     0     0  DL      (threaded)                  [geom]
      100013                   D       -        0xffffffff82171560 [g_down]
      100012                   D       -        0xffffffff82171558 [g_up]
      100011                   D       -        0xffffffff82171550 [g_event]
         13     0     0     0  DL      (threaded)                  [ng_queue]
      100010                   D       sleep    0xffffffff81e54fc8 [ng_queue1]
      100009                   D       sleep    0xffffffff81e54fc8 [ng_queue0]
         12     0     0     0  WL      (threaded)                  [intr]
      100079                   I                                   [swi1: netisr 1]
      100069                   I                                   [swi1: pfsync]
      100067                   I                                   [swi1: pf send]
      100064                   I                                   [swi0: uart uart]
      100051                   I                                   [irq15: ata1]
      100050                   I                                   [irq14: ata0]
      100037                   I                                   [irq17: ehci0 ehci1+]
      100032                   I                                   [irq18: ohci0 ohci1*]
      100031                   I                                   [irq19: ahci0]
      100030                   I                                   [irq261: re2]
      100029                   I                                   [irq260: re1]
      100028                   I                                   [irq259: re0]
      100025                   I                                   [swi5: fast taskq]
      100023                   I                                   [swi6: Giant taskq]
      100021                   I                                   [swi6: task queue]
      100008                   I                                   [swi3: vm]
      100007                   I                                   [swi4: clock]
      100006                   I                                   [swi4: clock]
      100005                   I                                   [swi1: netisr 0]
         11     0     0     0  RL      (threaded)                  [idle]
      100004                   CanRun                              [idle: cpu1]
      100003                   CanRun                              [idle: cpu0]
          1     0     1     0  SLs     wait     0xfffff800034fe4c0 [init]
         10     0     0     0  DL      audit_wo 0xffffffff82183970 [audit]
          0     0     0     0  DLs     (threaded)                  [kernel]
      100070                   D       -        0xfffff800035a9000 [CAM taskq]
      100065                   D       -        0xfffff8000a150900 [mca taskq]
      100026                   D       -        0xfffff800035a9200 [kqueue taskq]
      100024                   D       -        0xfffff800035a9700 [thread]
      100022                   D       -        0xfffff800035a9c00 [ffs_trim taskq]
      100020                   D       -        0xfffff800035aa400 [acpi_task_2]
      100019                   D       -        0xfffff800035aa400 [acpi_task_1]
      100018                   D       -        0xfffff800035aa400 [acpi_task_0]
      100014                   D       -        0xfffff800034f2500 [firmware taskq]
      100000                   D       swapin   0xffffffff82171658 [swapper][/thread]
      
      1 Reply Last reply Reply Quote 0
      • stephenw10
        stephenw10 Netgate Administrator last edited by

        Looks like the same issue as this:
        https://forum.pfsense.org/index.php?topic=87290.0
        If you post in that thread perhaps the two of you can find something you have configured similarly.

        Steve

        1 Reply Last reply Reply Quote 0
        • First post
          Last post