You are not logged in.

#1 2014-01-02 10:48:28

redcodefinal
Member
Registered: 2013-12-29
Posts: 6

open-vm-tools/official vmware tools not installing.

I'm trying to install the latest offical vmware tools (16/9/2013) and open-vm-tools but both seem to always fail. I tried some of the patches listed on the wiki, but nothing got me anywhere. The big thing I'm trying to accomplish is to be able to use vmhgfs but, I'd like to have all the tools if possible. Here is what I did.

Open Vm Tools

#[root@localhost] - [14-01-01 18:09:33] - [/home/toxicarrow/Documents/firewall] - [R:0]
pacman -S open-vm-tools open-vm-tools-dkms 
resolving dependencies...
looking for inter-conflicts...

Packages (2): open-vm-tools-5:2013.09.16-5  open-vm-tools-dkms-5:2013.09.16-5

Total Installed Size:   8.21 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                                                                                                                                                             [#####################################################################################################################] 100%
(2/2) checking package integrity                                                                                                                                                           [#####################################################################################################################] 100%
(2/2) loading package files                                                                                                                                                                [#####################################################################################################################] 100%
(2/2) checking for file conflicts                                                                                                                                                          [#####################################################################################################################] 100%
(2/2) checking available disk space                                                                                                                                                        [#####################################################################################################################] 100%
(1/2) installing open-vm-tools                                                                                                                                                             [#####################################################################################################################] 100%
>>>
>>> You can mount VMware Shared Folders via:
>>>    mount -t vmhgfs .host:/ /mnt/hgfs
>>>
>>> or by adding this line to /etc/fstab:
>>>    .host:/   /mnt/hgfs   vmhgfs  defaults  0 0
>>>
Optional dependencies for open-vm-tools
    gtkmm [installed]
    libnotify [installed]
    libxtst [installed]
    fuse [installed]
    libsm [installed]
    open-vm-tools-modules: for linux kernel
    open-vm-tools-dkms: for linux-lts and other kernels [pending]
    netctl: suspend-resume network state [installed]
    networkmanager: suspend-resume network state
(2/2) installing open-vm-tools-dkms                                                                                                                                                        [#####################################################################################################################] 100%
>>> Enable building of open-vm-tools modules:
>>> $ dkms add open-vm-tools/2013.09.16
>>>
>>> Enabling vmxnet driver in /usr/lib/modprobe.d/open-vm-tools-modules.conf
>>> (this will disable pcnet32 driver)
>>>
>>> If vmxnet driver doesn't handle your NIC, you have to manually
>>> disable loading of pcnet32 driver
>>>
#[root@localhost] - [14-01-01 18:09:47] - [/home/toxicarrow/Documents/firewall] - [R:0]
pacman -S open-vm-tools-modules
warning: open-vm-tools-dkms-5:2013.09.16-5 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): open-vm-tools-dkms-5:2013.09.16-5

Total Installed Size:   5.57 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                                                             [#####################################################################################################################] 100%
(1/1) checking package integrity                                                                                                                                                           [#####################################################################################################################] 100%
(1/1) loading package files                                                                                                                                                                [#####################################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                                                          [#####################################################################################################################] 100%
(1/1) checking available disk space                                                                                                                                                        [#####################################################################################################################] 100%
(1/1) reinstalling open-vm-tools-dkms                                                                                                                                                      [#####################################################################################################################] 100%
>>> Enable building of open-vm-tools modules:
>>> $ dkms add open-vm-tools/2013.09.16
>>>
#[root@localhost] - [14-01-01 18:10:14] - [/home/toxicarrow/Documents/firewall] - [R:0]
dkms install -m open-vm-tools -v 2013.04.16 -k $(uname -r)
Error! Could not find module source directory.
Directory: /usr/src/open-vm-tools-2013.04.16 does not exist.
#[root@localhost] - [14-01-01 18:13:14] - [/home/toxicarrow/Documents/firewall] - [R:2]
dkms install -m open-vm-tools -v 2013.09.16 -k $(uname -r)

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.12.6-1-ARCH VM_UNAME=3.12.6-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmblock; make VM_UNAME=3.12.6-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmci; make VM_UNAME=3.12.6-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmhgfs; make VM_UNAME=3.12.6-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmsync; make VM_UNAME=3.12.6-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmxnet; make VM_UNAME=3.12.6-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vsock........
Error!  Build of vmblock.ko failed for: 3.12.6-1-ARCH (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/open-vm-tools/2013.09.16/build/ for more information.
#[root@localhost] - [14-01-01 18:13:45] - [/home/toxicarrow/Documents/firewall] - [R:7]

Official Tools

Before patches

#[root@localhost] - [14-01-02 2:40:49] - [/home/toxicarrow/vmware/vmware-tools-distrib] - [R:32]
./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
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done
   VM communication interface socket family:                           done
   VM communication interface:                                         done

Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done

The removal of VMware Tools 9.6.1 build-1378637 for Linux completed 
successfully.

Installing VMware Tools.

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

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc/init.d] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

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

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

The path "/usr/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/share/doc/vmware-tools] 
The path "/usr/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 9.6.1 build-1378637 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] 

Initializing...


Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done
   VM communication interface socket family:                           done
   VM communication interface:                                         done
Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done


sh: : command not found
sh: : command not found

Before you can compile modules, you need to have the following installed... 

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/bin/gcc".
The path "/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no] 

Searching for a valid kernel header path...
Detected the kernel headers at "/lib/modules/3.12.6-1-ARCH/build/include".
The path "/lib/modules/3.12.6-1-ARCH/build/include" appears to be a valid path 
to the 3.12.6-1-ARCH kernel headers.
Would you like to change it? [no] 

make: Entering directory '/tmp/modconfig-lyoMIO/vmci-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-lyoMIO/vmci-only/driverLog.o
  LD [M]  /tmp/modconfig-lyoMIO/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-lyoMIO/vmci-only/vmci.mod.o
  LD [M]  /tmp/modconfig-lyoMIO/vmci-only/vmci.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-lyoMIO/vmci-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-lyoMIO/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory '/tmp/modconfig-lyoMIO/vmci-only'

make: Entering directory '/tmp/modconfig-VlEWPD/vmci-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-VlEWPD/vmci-only/driverLog.o
  LD [M]  /tmp/modconfig-VlEWPD/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-VlEWPD/vmci-only/vmci.mod.o
  LD [M]  /tmp/modconfig-VlEWPD/vmci-only/vmci.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-VlEWPD/vmci-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-VlEWPD/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory '/tmp/modconfig-VlEWPD/vmci-only'
make: Entering directory '/tmp/modconfig-VlEWPD/vsock-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-VlEWPD/vsock-only/linux/af_vsock.o
  CC [M]  /tmp/modconfig-VlEWPD/vsock-only/linux/vsockAddr.o
  CC [M]  /tmp/modconfig-VlEWPD/vsock-only/linux/notifyQState.o
  CC [M]  /tmp/modconfig-VlEWPD/vsock-only/linux/util.o
  CC [M]  /tmp/modconfig-VlEWPD/vsock-only/linux/stats.o
  CC [M]  /tmp/modconfig-VlEWPD/vsock-only/linux/notify.o
  CC [M]  /tmp/modconfig-VlEWPD/vsock-only/driverLog.o
  LD [M]  /tmp/modconfig-VlEWPD/vsock-only/vsock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-VlEWPD/vsock-only/vsock.mod.o
  LD [M]  /tmp/modconfig-VlEWPD/vsock-only/vsock.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-VlEWPD/vsock-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-VlEWPD/vsock-only'
cp -f vsock.ko ./../vsock.o
make: Leaving directory '/tmp/modconfig-VlEWPD/vsock-only'

The module vmxnet3 from this package is not supported for kernels >= 3.10. 
Please enable this module in your kernel. You may also have to enable 
HYPERVISOR_GUEST.

The module pvscsi from this package is not supported for kernels >= 3.10. 
Please enable this module in your kernel. You may also have to enable 
HYPERVISOR_GUEST.

The module vmmemctl from this package is not supported for kernels >= 3.10. 
Please enable this module in your kernel. You may also have to enable 
HYPERVISOR_GUEST.

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [yes] 

make: Entering directory '/tmp/modconfig-C1YUSD/vmci-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-C1YUSD/vmci-only/driverLog.o
  LD [M]  /tmp/modconfig-C1YUSD/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-C1YUSD/vmci-only/vmci.mod.o
  LD [M]  /tmp/modconfig-C1YUSD/vmci-only/vmci.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-C1YUSD/vmci-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-C1YUSD/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory '/tmp/modconfig-C1YUSD/vmci-only'
make: Entering directory '/tmp/modconfig-C1YUSD/vmhgfs-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/request.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/stubs.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/transport.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/module.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/super.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/vmci.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/fsutil.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/page.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/inode.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/kernelStubsLinux.o
  LD [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-C1YUSD/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/modconfig-C1YUSD/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-C1YUSD/vmhgfs-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-C1YUSD/vmhgfs-only'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory '/tmp/modconfig-C1YUSD/vmhgfs-only'

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

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?
[yes] 
NOTICE:  It appears your system does not have the required fuse packages 
installed.  The VMware blocking filesystem requires the fuse packages and its 
libraries to function properly.  Please install the fuse or fuse-utils package 
using your systems package management utility and re-run this script in order 
to enable the VMware blocking filesystem. 

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can be

enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no] 




Detected X server version 1.14.5



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.


Warning: This script could not find mkinitrd or update-initramfs and cannot 
remake the initrd file!

   Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   VM communication interface:                                         done
   VM communication interface socket family:                          failed
   Guest filesystem driver:                                           failed
   Mounting HGFS shares:                                              failed
   VMware User Agent:                                                  done
   Guest operating system daemon:                                      done
Unable to start services for VMware Tools

Execution aborted.

After patches

#[root@localhost] - [14-01-02 2:44:39] - [/home/toxicarrow/vmware] - [R:0]
git clone https://github.com/rasa/vmware-tools-patches.git
Cloning into 'vmware-tools-patches'...
remote: Reusing existing pack: 134, done.
remote: Total 134 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (134/134), 22.06 KiB | 0 bytes/s, done.
Resolving deltas: 100% (74/74), done.
Checking connectivity... done.
#[root@localhost] - [14-01-02 2:44:55] - [/home/toxicarrow/vmware] - [R:0]
ls
=  VMwareTools-9.6.1-1378637.tar.gz  manifest.txt*  run_upgrader.sh  vmware-tools-distrib/  vmware-tools-patches/  vmware-tools-upgrader-32*  vmware-tools-upgrader-64*
#[root@localhost] - [14-01-02 2:44:57] - [/home/toxicarrow/vmware] - [R:0]
cp VMwareTools-9.6.1-1378637.tar.gz vmware-tools-patches 
#[root@localhost] - [14-01-02 2:45:13] - [/home/toxicarrow/vmware] - [R:0]
cd vmware-tools-patches 
#[root@localhost] - [14-01-02 2:45:17] - [/home/toxicarrow/vmware/vmware-tools-patches] - [R:0]
ls
LICENSE    VMwareTools-9.6.1-1378637.tar.gz  patch-module.sh*   patches/                 untar-and-patch-and-compile.sh*
README.md  download-patches.sh*              patch-modules.sh*  untar-all-and-patch.sh*  untar-and-patch.sh*
#[root@localhost] - [14-01-02 2:45:18] - [/home/toxicarrow/vmware/vmware-tools-patches] - [R:0]
./untar-and-patch-and-compile.sh 
=== Patching ./VMwareTools-9.6.1-1378637.tar.gz ...

--- Applying vmci/vmware9.k3.8rc4.patch ...

patching file linux/driver.c
Hunk #1 FAILED at 124.
Hunk #2 FAILED at 1750.
Hunk #3 FAILED at 1978.
3 out of 3 hunks FAILED -- saving rejects to file linux/driver.c.rej

--- Applying vmhgfs/vmhgfs-uid-gid-kernel-3.12-tools-9.6.1.patch ...

patching file file.c
patching file filesystem.c
patching file fsutil.c
patching file inode.c
Hunk #1 succeeded at 514 (offset -3 lines).
Hunk #2 succeeded at 617 (offset -3 lines).
Hunk #3 succeeded at 1216 (offset -3 lines).
patching file shared/compat_cred.h

--- Applying vmhgfs/vmhgfs-d_count-kernel-3.11-tools-9.6.0.patch ...

patching file inode.c
Hunk #1 succeeded at 31 with fuzz 1.
Hunk #2 FAILED at 1893.
Hunk #3 FAILED at 1946.
2 out of 3 hunks FAILED -- saving rejects to file inode.c.rej

--- Applying vmhgfs/vmware9.compat_mm.patch ...

patching file shared/compat_mm.h
Hunk #1 FAILED at 91.
Hunk #2 FAILED at 100.
2 out of 2 hunks FAILED -- saving rejects to file shared/compat_mm.h.rej

--- Applying vmhgfs/patch_inode.c.patch ...

patching file inode.c
Hunk #1 FAILED at 1798.
Hunk #2 FAILED at 1818.
2 out of 2 hunks FAILED -- saving rejects to file inode.c.rej

--- Applying vmblock/vmblock.3.11.patch ...

patching file linux/file.c

--- Applying vmblock/vmblock.3.10.patch ...

patching file linux/control.c

Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

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

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc/init.d] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

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

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

The path "/usr/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/share/doc/vmware-tools] 

The path "/usr/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 9.6.1 build-1378637 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] 

Initializing...


Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done
Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon:                                   done


sh: : command not found
sh: : command not found
make: Entering directory '/tmp/modconfig-HrsGw6/vmci-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-HrsGw6/vmci-only/driverLog.o
  LD [M]  /tmp/modconfig-HrsGw6/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-HrsGw6/vmci-only/vmci.mod.o
  LD [M]  /tmp/modconfig-HrsGw6/vmci-only/vmci.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-HrsGw6/vmci-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-HrsGw6/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory '/tmp/modconfig-HrsGw6/vmci-only'

make: Entering directory '/tmp/modconfig-pVUBEq/vmci-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-pVUBEq/vmci-only/driverLog.o
  LD [M]  /tmp/modconfig-pVUBEq/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-pVUBEq/vmci-only/vmci.mod.o
  LD [M]  /tmp/modconfig-pVUBEq/vmci-only/vmci.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-pVUBEq/vmci-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-pVUBEq/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory '/tmp/modconfig-pVUBEq/vmci-only'
make: Entering directory '/tmp/modconfig-pVUBEq/vsock-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-pVUBEq/vsock-only/linux/af_vsock.o
  CC [M]  /tmp/modconfig-pVUBEq/vsock-only/linux/vsockAddr.o
  CC [M]  /tmp/modconfig-pVUBEq/vsock-only/linux/notifyQState.o
  CC [M]  /tmp/modconfig-pVUBEq/vsock-only/linux/util.o
  CC [M]  /tmp/modconfig-pVUBEq/vsock-only/linux/stats.o
  CC [M]  /tmp/modconfig-pVUBEq/vsock-only/linux/notify.o
  CC [M]  /tmp/modconfig-pVUBEq/vsock-only/driverLog.o
  LD [M]  /tmp/modconfig-pVUBEq/vsock-only/vsock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-pVUBEq/vsock-only/vsock.mod.o
  LD [M]  /tmp/modconfig-pVUBEq/vsock-only/vsock.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-pVUBEq/vsock-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-pVUBEq/vsock-only'
cp -f vsock.ko ./../vsock.o
make: Leaving directory '/tmp/modconfig-pVUBEq/vsock-only'

The module vmxnet3 from this package is not supported for kernels >= 3.10. 
Please enable this module in your kernel. You may also have to enable 
HYPERVISOR_GUEST.

The module pvscsi from this package is not supported for kernels >= 3.10. 
Please enable this module in your kernel. You may also have to enable 
HYPERVISOR_GUEST.

The module vmmemctl from this package is not supported for kernels >= 3.10. 
Please enable this module in your kernel. You may also have to enable 
HYPERVISOR_GUEST.

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [yes] 

make: Entering directory '/tmp/modconfig-ukgHfB/vmci-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-ukgHfB/vmci-only/driverLog.o
  LD [M]  /tmp/modconfig-ukgHfB/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-ukgHfB/vmci-only/vmci.mod.o
  LD [M]  /tmp/modconfig-ukgHfB/vmci-only/vmci.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-ukgHfB/vmci-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-ukgHfB/vmci-only'
cp -f vmci.ko ./../vmci.o
make: Leaving directory '/tmp/modconfig-ukgHfB/vmci-only'
make: Entering directory '/tmp/modconfig-ukgHfB/vmhgfs-only'
Using 2.6.x kernel build system.
/bin/make -C /lib/modules/3.12.6-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.12.6-1-ARCH'
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/message.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/request.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/filesystem.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/rpcout.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/stubs.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/link.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/transport.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/module.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/super.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/vmci.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/fsutil.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/page.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/inode.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/kernelStubsLinux.o
  LD [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/modconfig-ukgHfB/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/modconfig-ukgHfB/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory '/usr/src/linux-3.12.6-1-ARCH'
/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-ukgHfB/vmhgfs-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-ukgHfB/vmhgfs-only'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory '/tmp/modconfig-ukgHfB/vmhgfs-only'

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

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?
[yes] 

NOTICE:  It appears your system does not have the required fuse packages 
installed.  The VMware blocking filesystem requires the fuse packages and its 
libraries to function properly.  Please install the fuse or fuse-utils package 
using your systems package management utility and re-run this script in order 
to enable the VMware blocking filesystem. 

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can be

enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no] 



Detected X server version 1.14.5



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.


Warning: This script could not find mkinitrd or update-initramfs and cannot 
remake the initrd file!

   Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   VM communication interface:                                         done
   VM communication interface socket family:                          failed
   Guest filesystem driver:                                           failed
   Mounting HGFS shares:                                              failed
   Guest operating system daemon:                                      done
Unable to start services for VMware Tools

Execution aborted.

#[root@localhost] - [14-01-02 2:46:53] - [/home/toxicarrow/vmware/vmware-tools-patches] - [R:0]

Any idea what I should be doing?

Offline

#2 2014-01-02 16:52:46

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: open-vm-tools/official vmware tools not installing.

Please do not cross post. You already have a thread for the same issue. Provide additional information in that thread.

https://bbs.archlinux.org/viewtopic.php?id=174954

Closing...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2014-01-02 21:37:27

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: open-vm-tools/official vmware tools not installing.

Reopening this thread and closing the other one on request of the OP.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2014-01-10 10:41:41

crankshaft
Member
Registered: 2013-04-29
Posts: 20

Re: open-vm-tools/official vmware tools not installing.

I have the same problem on ESXI 5.5 for over a month now, tried the patches, tried the LTS kernel which others say results in an immediate result without patches, nothing seems to work and nobody seems to be able to offer a solution.

Did you make any progress ??

Error!  Build of vmblock.ko failed for: 3.10.25-1-lts (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/open-vm-tools/2013.09.16/build/ for more information.
make[2]: *** No rule to make target '/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock/linux/inode', needed by '/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock/vmblock.o'.  Stop.
Makefile:1224: recipe for target '_module_/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock' failed
make[1]: *** [_module_/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock] Error 2
make[1]: Leaving directory '/usr/src/linux-3.10.25-1-lts'
Makefile:120: recipe for target 'vmblock.ko' failed

Last edited by crankshaft (2014-01-10 11:32:32)

Offline

#5 2014-01-11 18:44:48

/etc/hellacog
Member
Registered: 2014-01-11
Posts: 2

Re: open-vm-tools/official vmware tools not installing.

bump

Offline

Board footer

Powered by FluxBB