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

    Open-VM-Tools package not working: "Unsupported file layout"

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    5 Posts 2 Posters 1.7k 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.
    • L Offline
      Locutus
      last edited by

      Hello!

      Since a few versions of pfSense 2.1, the Open VM Tools are no longer working. After installation, I get error messages on the console, for each of the driver files:

      kldload: /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko: Unsupported file layout

      I'm using the AMD64 version of pfSense.

      Kind regards,
      Frank

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

        That usually means you have somehow managed to get 64-bit packages installed on i386 pfSense or 32-bit package binaries installed on amd64 pfSense. Hard to say how, perhaps you did a firmware upgrade that crossed from one to the other and it didn't remove/reinstall the package binaries. Remove the package entirely (maybe even pkg_delete the bits of it left after removal from the shell) and then install it again.

        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
        • L Offline
          Locutus
          last edited by

          Hello jimp!

          Thanks for your reply and your suggestion!

          Unfortunately, re-installing the package doesn't help, I already tried that several times. I can see that it does download the 64-bit version of the package.

          I never switched firmware between 32 and 64 bit, I always used the 64-bit version of pfSense, at least on the installation in question. The problems DID start though when I did a firmware upgrade.

          I did not find a way to "remove bits of it left" from the shell, what is the package name for "pkg_delete"? The command "pkg_info" only lists "bsdinstaller", "gettext" and "libiconv", nothing of the packages I have installed from the GUI (which is Open-VM-Tools, Zabbix Agent 2 and OpenVPN Client Export Utility).

          Kind regards,
          Frank

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

            Try "pbi_info"

            Then you can remove with pbi_delete

            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
            • L Offline
              Locutus
              last edited by

              Yay, that worked! :)

              You were right. pbi_info showed two versions of the open-vm-tools package, the 64-bit I installed via the GUI, and the 32-bit one I have no idea where it came from.

              I deleted the 32-bit one via pbi_delete and reinstalled the 64-bit from the GUI; all is well. Service is running, kernel modules are loaded, vSphere Client shows tools as running in the VM.

              Thanks a bunch!

              Kind regards,
              Frank

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