Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2012 14:30:54 GMT
From:      Eugeniy Khvastunov <khvastunov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/170000: Can not install VMware Tools in FreeBSD 9.0
Message-ID:  <201207191430.q6JEUsh9098450@red.freebsd.org>
Resent-Message-ID: <201207191440.q6JEeBo1063786@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170000
>Category:       misc
>Synopsis:       Can not install VMware Tools in FreeBSD 9.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 19 14:40:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Eugeniy Khvastunov
>Release:        FreeBSD 9.1-PRERELEASE
>Organization:
UnlimiteBBS
>Environment:
FreeBSD noc.srv.grant 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Jul 19 13:20:01 EEST 2012     root@noc.srv.grant:/usr/obj/usr/src/sys/NOC-VM  i386
>Description:
Can not install VMware Tools in FreeBSD 9.0:

After running the installation script. / Vmware-install.pl and answer questions configurator:
=== <Start CUT> ===
noc #. / vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(Yes / no) [yes]

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon: done
   Guest memory manager: done

Use of uninitialized value $ init_style in string at / usr / local / bin / vmware-uninstall-tools.pl line 4550.
File / etc / vmware-tools / vmware-user.desktop is backed up to
/ Etc/vmware-tools/vmware-user.desktop.old.2.

The removal of VMware Tools 8.3.12 build-559003 for FreeBSD completed
successfully.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/ Usr / local / bin]

In which directory do you want to install the startup script?
[/ Usr / local / etc / rc.d]

In which directory do you want to install the daemon files?
[/ Usr / local / sbin]

In which directory do you want to install the library files?
[/ Usr / local / lib / vmware-tools]

The path "/ usr / local / lib / vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [Yes]

In which directory do you want to install the documentation files?
[/ Usr / local / share / doc / vmware-tools]

The path "/ usr / local / share / doc / vmware-tools" does not exist currently. This
program is going to create it, including needed parent directories. Is this
what you want? [Yes]

The installation of VMware Tools 8.3.7 build-381511 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]

Initializing ...


Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon: done
   Guest memory manager: done


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.

=== <End CUT> ===
>How-To-Repeat:
Try to install on FreeBSD 9.0 VMware Tools 8.3.12 build-559003 for FreeBSD. Sources of FreeBSD updated 07/19/2012.
>Fix:
Comment in /usr/share/mk/bsd.own.mk lines from 477 to 479:
#.if defined(MK_${var})
#.error MK_${var} can't be set by a user.
#.endif

Recompile vmmemctl using these steps.
 Go to the lib/modules/source directory under where you extracted vmware-freebsd-tools.tar.gz.
    # cd /root/vmware-tools-distrib/lib/modules/source/
 Extract vmmemctl.tar
    # tar -xf vmmemctl.tar
 Change to the vmmemctl-only directory.
    # cd vmmemctl-only
 Run make.
    # make
 Run make install.
    # make install

You have now built and installed the vmmemctl module.
Compile the vmblock module
 Go to the lib/modules/source directory under where you extracted vmware-freebsd-tools.tar.gz.
    # cd /root/vmware-tools-distrib/lib/modules/source/
 Extract vmblock.tar
    # tar -xf vmblock.tar
 Change to the vmblock-only directory.
    # cd vmblock-only
 Run make.
    # make
 Run make install.
    # make install

You have now built and installed the vmblock module.
Install VMWare Tools
You are now ready to install the VMWare Tools.
Note: If you are trying to keep you server clean and pristine, then copy the /root/vmware-tools-distrib directory off the server somewhere. THen revert to the snapshot you took just before Step 4. Copy the directory back to your clean snapshot and continue.
 Move into the directory created by the extraction.
    # cd /root/vmware-tools-distrib/
 Run vmware-install.pl
    # ./vmware-install.pl
 Select all the defaults.

Your vmware tools installation should go smoothly.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207191430.q6JEUsh9098450>