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

    Kernel panic when disabling carp on 1.2 Beta 1

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    10 Posts 7 Posters 4.3k 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.
    • S
      slally
      last edited by

      This didn't happen when I was using 1.0.1.  I used pfSense-Full-Update-1.2-Beta-1.tgz to upgrade.  Now when disabling carp I get a kernel panic.  The bug below suggests it's a problem with FreeBSD.  Is that the case?  I'm guessing it'd be difficult to use the old FreeBSD kernel with the 1.2 pfSense?

      http://cvstrac.pfsense.com/tktview?tn=1288

      Thanks,

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        It is a FreeBSD bug. You can do something like the following on a stock FreeBSD system and it'll panic.

        ifconfig carp0 create
        ifconfig carp1 create
        ifconfig carp0 192.168.1.24/22
        ifconfig carp1 192.168.1.25/24
        ifconfig carp0 up
        ifconfig carp0 destroy
        ifconfig carp0 delete
        ifconfig carp1 destroy

        There is no way to run an older kernel. This shouldn't be a major issue, it's not like disabling CARP is a routine daily activity. Yeah it sucks, but hopefully will be fixed soon.

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          Known issue.  Its really deep to give you a summary but the promising news is that it is fixed in 7.0 which will be coming out in Julyish.  7.0 is shaping up to be one of the best releases since 2.X or 3.X.

          Bottom line is that we know that there are some bugs and they can EASILY be worked around but we will be in excellent shape when 7.0 hits the streets.

          1 Reply Last reply Reply Quote 0
          • S
            slally
            last edited by

            cmb, thanks for clarifying.  I'm coming from OpenBSD carp.  I wrote a little sh script a long time ago that changes the advskew higher on all the carp interfaces on the machine I wanted to become the standby (go into 'backup' mode) so I could patch the machine, etc. and it's just become ingrained in my head as part of my toolkit.  I made the incorrect assumption that the 'Disable Carp' button did the same.  This is what happens when memory starts to fail and I don't investigate properly. ;^)  Presumably I could do the same on pfSense?  I'll check it out.

            sullrich, thank you as well.  I had to do a little poking around to figure out which version numbers you were referring to.  Time for me to start digging into FreeBSD some more. :^)

            Cheers,

            1 Reply Last reply Reply Quote 0
            • D
              dbuckle
              last edited by

              I'm having this issue too.  I need to change the carp interface on a wrap board but as soon as I do, it panics then keeps rebooting.  The only solution is to reflash.

              Is there a workround?

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                Try a newer snapshot.

                1 Reply Last reply Reply Quote 0
                • G
                  goudkamp
                  last edited by

                  Laaaaate reply but still: problems still exists also in release 1.2-RC3 (build 21/11).

                  1 Reply Last reply Reply Quote 0
                  • M
                    michelangelo
                    last edited by

                    Still present in 1.2RC4.

                    1 Reply Last reply Reply Quote 0
                    • A
                      ask
                      last edited by

                      FWIW I got bit by this too.  :-(

                      1 Reply Last reply Reply Quote 0
                      • A
                        ask
                        last edited by

                        Hmn, I thought it was only when I had CARP on a VLAN interface, but that doesn't appear to be the case.

                        It still crashes just after

                        "Waiting for final CARP interface bringup…....................... done."

                        with a basic carp setup.

                        (I'm trying to migrate from a NanoBSD based 6.2 setup -- I didn't have any trouble with this there...)

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