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

    [solved][panic] fatal trap 9 on KVM virt with AMD – hw.mca.enabled=0

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 4 Posters 12.6k 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.
    • 2
      2501
      last edited by

      Hello forum

      I've successfully installed pfsense 2.0 beta4 on a kvm virtualized environment running on AMD processors.

      Problem:
      Just like FreeBSD 8.1, pfsense 2.0 crashed on me with fatal trap 9 in early boot stage.
      (64 bit FreeBSD 8.1 crashed with fatal trap 12 … )

      Fix:
      Choose "7. loader prompt" on boot menu.

      set hw.mca.enabled=0
      boot
      

      After successfull install, add hw.mca.enabled=0 to /boot/loader.conf.

      echo "hw.mca.enabled=0" >> /boot/loader.conf
      

      …has to be applied again after every upgrade of pfsense.

      successfully tested on cloudsigma.com and elastichosts.com .

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Use /boot/loader.conf.local - it should be left alone between upgrades.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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

          I just added this tweak so it should be supported out of the box.  Please test next snapshot.

          1 Reply Last reply Reply Quote 0
          • T
            toomeek
            last edited by

            I didn't noticed such error when using Intel Xeon or Intel Core 2 Duo processors with Qemu-KVM. Just for the information.

            1 Reply Last reply Reply Quote 0
            • 2
              2501
              last edited by

              Thank you guys!

              I'm really impressed.
              @sullrich mille grazie for the commit!
              @jimp thanks for the hint.

              @TooMeeK: confirm - I've tested with FreeBSD 8.1. This panic only occurs on KVM running on AMD.
              FreeBSD 8.1 on KVM running on Intel does not need the fix.

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