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

    Upgrade to 2.0 BETA1 - "bad malloc type magic"

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 4 Posters 3.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.
    • D
      Drewster727
      last edited by

      Currently running version 1.2.3 without any issues in a virtual machine.

      Tried updating to pfsense 2.0 beta today using the manual updater (downloaded latest .tgz from snapshots.pfsense.org), seemed like everything was smooth watching the console screen while 2.0 was booting for the first time. Until I got this: (see attached image)

      No access to webui, no nothing… and I don't have the slightest clue what could be the issue. Any ideas? solutions?

      I saw this error about a month ago or so when I tried updating using the build-in auto-updater, I believe it was a janurary 22nd build of 2.0 beta I tried installing. Same results, but at that time I figured it was perhaps just a bug (which I should expect at times from a beta build).

      Any info on this or solutions would be great, I'd really like to upgrade to 2.0! Thanks!

      p.s. ignore the "pfSense-1.2.3prerelease" in the title of the vm console window, that's just the name of my vm when I initially set it up. I'm currently on the latest build of 1.2.3
      pfsense2-0beta-Error.jpg
      pfsense2-0beta-Error.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • O
        overand
        last edited by

        My suggestion to help diagnose this problem would be to make a duplicate of this VM's machine definition - i.e. create a new VM of the same type, with the same specs - but perform a fresh 2.0 installation on it.

        That way, you'll be able to tell if the problem is an issue with running 2.0 itself inside this particular virtual environment, or if the upgrade process was somehow responsible for the breakage.

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

          If you upgrade with open-vm-tools installed, it will try to load the (now invalid for FreeBSD 8.0) kernel modules the next boot, causing a panic.

          Not sure how (or even if) we can work around that, there isn't any code in 1.2.3 to force uninstall of that package, and it may panic after upgrade before it will run anything we could add to 2.0. That's along the lines of this:
          http://redmine.pfsense.org/issues/show/267

          added a note on this one there as well.

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

            To work around it, just uninstall the open-vm-tools package before you upgrade.

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

              Thanks for the info guys, I will try removing vm-tools first before I upgrade.

              as a side note, I created a brand new VM with 2.0 and it's working fine.

              I'll post again with my results after running the upgrade without vm-tools.

              thanks!

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

                We might be able to hack around it using something in /tmp/post_upgrade_command if the kernel module is always named the same.

                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
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.