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

    Vmware tools in 2.2

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    16 Posts 5 Posters 10.0k 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.
    • J
      justsomeone
      last edited by

      I've installed compat6x-amd64 and perl5.20, but when I try and execute ./vmware-install.pl -d –clobber-kernel-modules=vmxnet3,pvscsi,vmmemctl it tells me ./vmware-install.pl command not found. What am I missing or doing wrong?

      "Bad shit happens to drunk people."

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

        are you sure you're in the correct directory containing vmware-install.pl?
        if it is there maybe try and run it using perl vmware-install.pl?

        1 Reply Last reply Reply Quote 0
        • J
          justsomeone
          last edited by

          mkdir -p /mnt/cdrom
          mount_cd9660 /dev/cd0 /mnt/cdrom
          cd /tmp
          tar xvzf /mnt/cdrom/vmware-freebsd-tools.tar.gz
          cd vmware-tools-distrib
          ./vmware-install.pl -d --clobber-kernel-modules=vmxnet3,pvscsi,vmmemctl
          

          is the process I have been trying (after installing compat6x-amd64 & perl5.20). I have been attempting to execute ./vmware-install.pl from inside the vmware-tools-distrib directory. I will try putting perl in front of the command now.

          "Bad shit happens to drunk people."

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            You're sure that perl script is executable?

            chmod +x vmware-install.pl

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

              Likely Linux-isms, probably /usr/bin/perl rather than /usr/local/bin/

              1 Reply Last reply Reply Quote 0
              • J
                justsomeone
                last edited by

                okay so putting "perl" in front of the command (perl vmware-install.pl -d) worked in getting it to run, however I get this output:

                
                The installation of VMware Tools 9.4.0 build-1280544 for FreeBSD completed 
                successfully. You can decide to remove this software from your system at any 
                time by invoking the following command: 
                "/usr/local/bin/vmware-uninstall-tools.pl".
                
                Before running VMware Tools for the first time, you need to configure it by 
                invoking the following command: "/usr/local/bin/vmware-config-tools.pl". Do you
                want this program to invoke the command for you now? [yes] 
                
                /usr/local/bin/vmware-config-tools.pl: not found
                
                

                so I put perl in front of the command and get this output:

                : perl /usr/local/bin/vmware-config-tools.pl
                Initializing...
                
                Making sure services for VMware Tools are stopped.
                
                Stopping VMware Tools services in the virtual machine:
                   Guest operating system daemon:                                      done
                   Guest memory manager:                                               done
                
                The vmblock enables dragging or copying files between host and guest in a 
                Fusion or Workstation virtual environment.  Do you wish to enable this feature?
                [no] n
                
                No X install found.
                
                Starting VMware Tools services in the virtual machine:
                   Switching to guest configuration:                                   done
                   Guest memory manager:                                              failed
                   Guest operating system daemon:                                      done
                Unable to start services for VMware Tools
                
                Execution aborted.
                
                

                Where do I go from here?

                "Bad shit happens to drunk people."

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

                  If you symlink the Linux perl path it might behave better.

                  ln -s /usr/local/bin/perl /usr/bin/perl 
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • J
                    justsomeone
                    last edited by

                    Adding the symlink prevented me from having to manually execute the config script.
                    However now I get this output:

                    
                    Stopping VMware Tools services in the virtual machine:
                       Guest operating system daemon:                                      done
                       Guest memory manager:                                               done
                    
                    The vmblock enables dragging or copying files between host and guest in a 
                    Fusion or Workstation virtual environment.  Do you wish to enable this feature?
                    [no] n
                    
                    No X install found.
                    
                    Starting VMware Tools services in the virtual machine:
                       Switching to guest configuration:                                   done
                       Guest memory manager: KLD vmmemctl.ko: depends on kernel - not available
                    or version mismatch
                    linker_load_file: Unsupported file type
                                                                                                                 failed
                       Guest operating system daemon:                                      done
                    Unable to start services for VMware Tools
                    
                    Execution aborted.
                    
                    

                    How is this resolvable?

                    "Bad shit happens to drunk people."

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      run the command

                      /usr/local/bin/vmware-config-tools.pl -d –clobber-kernel-modules=vmxnet3,pvscsi,vmmemctl

                      you may need to put perl in front, seems the pkg install 5.20 post install script is failing and don't think perl is in the path, etc.

                      but when you run it you get this

                      
                       perl /usr/local/bin/vmware-config-tools.pl -d --clobber-kernel-modules=vmxnet3,pvscsi,vmmemctl
                      Initializing...
                      
                      HOSTINFO: CPUID hypervisor bit is set, but no hypervisor vendor signature is pre                                                                                 sent
                      HOSTINFO: CPUID hypervisor bit is set, but no hypervisor vendor signature is pre                                                                                 sent
                      HOSTINFO: CPUID hypervisor bit is set, but no hypervisor vendor signature is pre                                                                                 sent
                      
                      Making sure services for VMware Tools are stopped.
                      
                      Stopping VMware Tools services in the virtual machine:
                         Guest operating system daemon:                                      done
                      HOSTINFO: CPUID hypervisor bit is set, but no hypervisor vendor signature is pre                                                                                 sent
                      
                      The vmblock enables dragging or copying files between host and guest in a
                      Fusion or Workstation virtual environment.  Do you wish to enable this feature?
                      [no]
                      
                      No X install found.
                      
                      Starting VMware Tools services in the virtual machine:
                         Switching to guest configuration:                                   done
                         Guest memory manager:                                               done
                      HOSTINFO: CPUID hypervisor bit is set, but no hypervisor vendor signature is pre                                                                                 sent
                         Guest operating system daemon:                                      done
                      For the VMware Tools for FreeBSD 10.1 it is recommended that you install the
                      following packages:
                      
                        xf86-video-vmware
                        xf86-input-vmmouse
                      
                      The easiest way to install these packages is by using pkg_add utility.  Refer
                      to the man pages on how to properly use this utility.
                      
                      The configuration of VMware Tools 9.4.10 build-2092844 for FreeBSD for this
                      running kernel completed successfully.
                      
                      You must restart your X session before any mouse or graphics changes take
                      effect.
                      
                      You can now run VMware Tools by invoking "/usr/local/bin/vmware-toolbox-cmd"
                      from the command line.
                      
                      Please remember to configure your network by adding:
                      ifconfig_vxn0="dhcp"
                      to the /etc/rc.conf file and start the network with:
                      /etc/netstart
                      to use the vmxnet interface using DHCP.
                      
                      Enjoy,
                      
                      --the VMware team
                      
                      Found VMware Tools CDROM mounted at /mnt/cdrom. Ejecting device /dev/cd0 ...
                      [2.2-BETA][admin@pfSense.ld.lan]
                      
                      

                      and I show them running in esxi client.  So this was from clean install of

                      2.2-BETA  (i386)
                      built on Thu Nov 20 09:25:09 CST 2014
                      FreeBSD 10.1-RELEASE

                      Will need to update the pfsense doc for 2.2, but looks to be working for me - other than the change to pkg install vs pkg_add, and something not quite right with the perl5.20 install with that failure of post install script.

                      toolsrunning.png
                      toolsrunning.png_thumb

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • J
                        justsomeone
                        last edited by

                        Just tried executing the config with the "–clober-kernel-modules..." options and I'm still getting the```
                        KLD vmmemctl.ko: depends on kernel - not available or version mismatch
                        linker_load_file: Unsupported file type

                        "Bad shit happens to drunk people."

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          you are running x64, when I get a chance will fire up a copy of that.  But I didn't have any problems getting them installed with i386 snapshot from the other day.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

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