CARP Problem - Fatal trap 12: page fault while in kernel mode



  • Waiting for final CARP interface bringup….................

    Fatal trap 12: page fault while in kernel mode
    fault virtual address  = 0x1005c
    fault code              = supervisor read, page not present
    instruction pointer    = 0x20:0xc083a0d1
    stack pointer          = 0x28:0xe62d4b88
    frame pointer          = 0x28:0xe62d4bd4
    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        = 803 (ifconfig)
    trap number            = 12
    panic: page fault
    Uptime: 1m48s



  • What pfSense version? What did you do prior to this happening?



  • 1.2.2 embedded.

    This happened when I changed my virtual IPs from PARP to CARP.  I think I made a bonehead mistake though as I assigned them all the same VHID.  I rewrote the CF and restored my configuration prior to making those changes.  I then changed the virtual ips to CARP and assigned them each their own VHID and everything was fine.



  • Oh, yeah the GUI doesn't let you assign the same VHID, but if you manually changed your config, that input validation won't apply.

    I opened a ticket to address this in a future release, it's low priority though because the GUI won't let you enter this kind of invalid configuration.



  • I did it through the webgui.  Do note that the interfaces were originally configured as PARP.  So I did it as an edit and not a create.  I knew I made a bonehead mistake because as soon as applied the config …the box went into reboot.  I consoled in to see what was going on and that is how I got the error info above.



  • Hrm, there shouldn't be any way even when you're switching from proxy ARP to CARP to accomplish that. I know the input validation works when adding, maybe it's missing when switching from one type to another. Thanks for the report.


Locked