You are not logged in.

#1 2009-05-01 03:48:34

cpc
Member
Registered: 2009-04-30
Posts: 42

can not install VMware Tools

I am running Arch on VMware Workstation 6.5.2, when I try to install the VMware Tools, I always get the error message below, what is the problem that cause it? and how to fix it? thanks for help.


============================================================================================
None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel.  Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.29-ARCH/build/include]

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmemctl-only'
make -C /lib/modules/2.6.29-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.29-ARCH'
  CC [M]  /tmp/vmware-config0/vmmemctl-only/backdoorGcc32.o
  CC [M]  /tmp/vmware-config0/vmmemctl-only/os.o
In file included from /tmp/vmware-config0/vmmemctl-only/os.c:51:
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:78: error: conflicting types for 'poll_initwait'
include/linux/poll.h:67: error: previous declaration of 'poll_initwait' was here
make[2]: *** [/tmp/vmware-config0/vmmemctl-only/os.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmemctl-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-ARCH'
make: *** [vmmemctl.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmemctl-only'
Unable to build the vmmemctl module.

The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Offline

#2 2009-05-01 09:21:03

K0tuk
Member
Registered: 2009-04-06
Posts: 125

Re: can not install VMware Tools

Have you applied the patch for 2.6.29 kernel for VMware?

Offline

#3 2009-05-01 11:19:18

cpc
Member
Registered: 2009-04-30
Posts: 42

Re: can not install VMware Tools

Where can I get the patch for 2.6.29 kernel for VMware? thanks.

Offline

#4 2009-05-01 11:29:51

K0tuk
Member
Registered: 2009-04-06
Posts: 125

Re: can not install VMware Tools

first, make sure you have patch installed

sudo pacman -S patch

Than download these the vmware patch (two files):

http://communities.vmware.com/servlet/J … A2B60C32A9
and
http://communities.vmware.com/servlet/J … A2B60C32A9

in terminal, cd to the directory where you downloaded these patches, and run the command:

sudo bash vmware-6.5.2-modules-2.6.29-fix.sh

Offline

#5 2009-05-01 11:59:12

cpc
Member
Registered: 2009-04-30
Posts: 42

Re: can not install VMware Tools

Thanks!

But, I run the command "sudo bash vmware-6.5.2-modules-2.6.29-fix.sh" and get this error message.

$ sudo bash vmware-6.5.2-modules-2.6.29-fix.sh
vmware-6.5.2-modules-2.6.29-fix.sh: line 17: cd: /usr/lib/vmware/modules/source: No such file or directory
Sorry, no tar files found in /usr/lib/vmware/modules/source

Offline

#6 2009-05-01 12:14:35

cpc
Member
Registered: 2009-04-30
Posts: 42

Re: can not install VMware Tools

OK! I change the path and the script runs, but it asks me the following question that I don't know how to answer?

Found tar file for vmxnet module
Found tar file for vmsync module
Found tar file for vmci module
Found tar file for vsock module
Found tar file for vmmemctl module
Found tar file for vmblock module
Found tar file for vmhgfs module
Found tar file for vmdesched module
Using patch file: /home/paulchang/Desktop/vmware-tools-patch/vmware-6.5.2-modules-2.6.29-fix.patch
Using module directory: /opt/vmware-tools/lib/vmware-tools/modules/source
Using backup directory: /opt/vmware-tools/lib/vmware-tools/modules/source-backup
Backing up ./vmxnet.tar to /opt/vmware-tools/lib/vmware-tools/modules/source-backup/./vmxnet.tar
Backing up ./vmsync.tar to /opt/vmware-tools/lib/vmware-tools/modules/source-backup/./vmsync.tar
Backing up ./vmci.tar to /opt/vmware-tools/lib/vmware-tools/modules/source-backup/./vmci.tar
Backing up ./vsock.tar to /opt/vmware-tools/lib/vmware-tools/modules/source-backup/./vsock.tar
Backing up ./vmmemctl.tar to /opt/vmware-tools/lib/vmware-tools/modules/source-backup/./vmmemctl.tar
Backing up ./vmblock.tar to /opt/vmware-tools/lib/vmware-tools/modules/source-backup/./vmblock.tar
Backing up ./vmhgfs.tar to /opt/vmware-tools/lib/vmware-tools/modules/source-backup/./vmhgfs.tar
Backing up ./vmdesched.tar to /opt/vmware-tools/lib/vmware-tools/modules/source-backup/./vmdesched.tar
Untarring vmxnet.tar
Untarring vmsync.tar
Untarring vmci.tar
Untarring vsock.tar
Untarring vmmemctl.tar
Untarring vmblock.tar
Untarring vmhgfs.tar
Untarring vmdesched.tar
Testing patch
patching file vmblock-only/Makefile
patching file vmci-only/Makefile
can't find file to patch at input line 28
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN source-OLD/vmmon-only/include/x86apic.h source-NEW/vmmon-only/include/x86apic.h
|--- source-OLD/vmmon-only/include/x86apic.h    2009-03-26 22:05:19.000000000 -0700
|+++ source-NEW/vmmon-only/include/x86apic.h    2009-04-04 02:18:58.000000000 -0700
--------------------------
File to patch:

Offline

#7 2009-05-01 12:30:37

K0tuk
Member
Registered: 2009-04-06
Posts: 125

Re: can not install VMware Tools

Oh, sorry, i misunderstood you: i thought you were running Vmware ON Arch Linux, not vice-versa... Sorry, my bad.

Offline

Board footer

Powered by FluxBB