From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 19 14:40:12 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CC15106566B for ; Thu, 19 Jul 2012 14:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E55678FC12 for ; Thu, 19 Jul 2012 14:40:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6JEeBtC063787 for ; Thu, 19 Jul 2012 14:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6JEeBo1063786; Thu, 19 Jul 2012 14:40:11 GMT (envelope-from gnats) Resent-Date: Thu, 19 Jul 2012 14:40:11 GMT Resent-Message-Id: <201207191440.q6JEeBo1063786@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugeniy Khvastunov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 788F21065673 for ; Thu, 19 Jul 2012 14:30:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 596518FC0C for ; Thu, 19 Jul 2012 14:30:54 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6JEUs0o098451 for ; Thu, 19 Jul 2012 14:30:54 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q6JEUsh9098450; Thu, 19 Jul 2012 14:30:54 GMT (envelope-from nobody) Message-Id: <201207191430.q6JEUsh9098450@red.freebsd.org> Date: Thu, 19 Jul 2012 14:30:54 GMT From: Eugeniy Khvastunov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/170000: Can not install VMware Tools in FreeBSD 9.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2012 14:40:12 -0000 >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: === === 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. === === >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: