latest versions

23.07.2008

Patches for 5.5.7-91707

27.05.2008

Patches for 6.0.3-80004

14.05.2008

Patches for 3.5.0-82663
[ weblog entry ]

24.03.2008

Patches for 1.0.5-80187
[ weblog entry ]

15.03.2008

Patches for 7.6.2-72241
[ weblog entry ]

10.03.2008

Patches for 3.5.0-64607
[ weblog entry ]

downloads

VMware Tools patches

[ Patch archives ]

links

Company information

Official VMware website

Unofficial VMware Tools updates for Linux guest systems

I'm providing unofficial updates to the VMware Tools for Linux, because the well-known vmware-any-any updates usually only apply onto the host systems kernel modules and due to frequent changes in the Linux kernel, the VMware tools sometimes won't compile anymore.
Unlike Matrox and Cisco, VMwares release cycles are very good, but not good enough, otherwise you wouldn't search for information on this website ;)

You may have come here because you got error messages during compilation, like:

vm_basic_types.h:185: error: conflicting types for 'uintptr_t'

block.c:80: error: too many arguments to function 'kmem_cache_create'

vmxnet.c:866: error: implicit declaration of function 'SET_MODULE_OWNER'

VMware Tools and recent linux kernel versions

To avoid a big mess in here, I have to clear some things up.
I'm always patching the latest available VMware Tools versions (and on particular demand older versions too) to compile on recent linux kernels. For example, if you're running VMware ESX Server 3.5.0, you'll have VMwareTools-3.5.0-64607.tar.gz installed, if you already upgraded to VMware ESX Server 3.5.0 Update 1, you'll see that they bumped the tools version to VMwareTools-3.5.0-82663.tar.gz. In fact, these two builds are not very different (some small code changes, I diff'ed them to see what has changed), but due to me having only limited time for playing around with stuff like this, I'm always only patching the latest available tools version.
If you're using an older tools version and I don't have the proper patches for it, please drop me an e-mail or try to patch them yourself. In both cases, I'd like to upload the results of this work onto my projects site to make it available for other users having the same issue, so please contact me if you haven't found what you're looking for.

Below you'll find a listing of currently available VMware tools versions and their maximum supported kernel version available here:

Tools version kernel version Patch Downloads tar balls
1.0.5-80187
(VMware Server)
2.6.25 vmhgfs-1.0.5-80187-2.6.25.diff
vmmemctl-1.0.5-80187-2.6.25.diff
vmxnet-1.0.5-80187-2.6.25.diff
vmhgfs.tar
vmmemctl.tar
vmxnet.tar
3.5.0-64607
(ESX Server)
2.6.24.3 vmblock-3.5.0-64607-2.6.24.3.diff
vmdesched-3.5.0-64607-2.6.24.3.diff
vmhgfs-3.5.0-64607-2.6.24.3.diff
vmxnet-3.5.0-64607-2.6.24.3.diff
vmblock.tar
vmdesched.tar
vmhgfs.tar
vmxnet.tar
3.5.0-82663
(ESX Server)
2.6.25.3 vmblock-3.5.0-82663-2.6.25.3.diff
vmdesched-3.5.0-82663-2.6.25.3.diff
vmhgfs-3.5.0-82663-2.6.25.3.diff
vmmemctl-3.5.0-82663-2.6.25.3.diff
vmxnet-3.5.0-82663-2.6.25.3.diff
vmblock.tar
vmdesched.tar
vmhgfs.tar
vmmemctl.tar
vmxnet.tar
5.5.6-80404
(VMware Workstation)
2.6.24.4 vmdesched-5.5.6-80404-2.6.24.4.diff
vmhgfs-5.5.6-80404-2.6.24.4.diff
vmmemctl-5.5.6-80404-2.6.24.4.diff
vmxnet-5.5.6-80404-2.6.24.4.diff
vmdesched.tar
vmhgfs.tar
vmmemctl.tar
vmxnet.tar
5.5.7-91707
(VMware Workstation)
2.6.25.4 vmdesched-5.5.7-91707-2.6.25.4.diff
vmhgfs-5.5.7-91707-2.6.25.4.diff
vmmemctl-5.5.7-91707-2.6.25.4.diff
vmxnet-5.5.7-91707-2.6.25.4.diff
vmdesched.tar
vmhgfs.tar
vmmemctl.tar
vmxnet.tar
6.0.3-80004
(VMware Workstation)
2.6.25.3 vmhgfs-6.0.3-80004-2.6.25.3.diff
vmhgfs.tar
7.6.2-72241
(VMware Fusion)
2.6.24.3 vmblock-7.6.2-72241-2.6.24.3.diff
vmci-7.6.2-72241-2.6.24.3.diff
vmdesched-7.6.2-72241-2.6.24.3.diff
vmhgfs-7.6.2-72241-2.6.24.3.diff
vmmemctl-7.6.2-72241-2.6.24.3.diff
vmxnet-7.6.2-72241-2.6.24.3.diff
vmblock.tar
vmci.tar
vmdesched.tar
vmhgfs.tar
vmmemctl.tar
vmxnet.tar

Before applying these updates, make sure that your VMware tools version doesn't work on your desired target system. Do _NOT_ patch the tools if it isn't absolutely necessary!

If you trust me and want to use the prepared tar-balls, follow these instructions:
1. Mount the iso image with VMware Tools installed
mount /cdrom  # or whatever your distribution uses to mount the CD drive

2. Copy the tar.gz file onto your system
cp /cdrom/VMwareTools-3.5.0-64607.tar.gz /root/

3. Extract it
cd /root && tar xf VMwareTools-3.5.0-64607.tar.gz

4. Change to the modules directory and delete the tar-balls of the failing modules
cd vmware-tools-distrib/lib/modules/source
rm vm{block,desched,hgfs,xnet}.tar

5. Download the updated tarballs
wget -q http://projects.tuxx-home.at/vmware/tools/3.5.0-64607/vmblock.tar
wget -q http://projects.tuxx-home.at/vmware/tools/3.5.0-64607/vmdesched.tar
wget -q http://projects.tuxx-home.at/vmware/tools/3.5.0-64607/vmhgfs.tar
wget -q http://projects.tuxx-home.at/vmware/tools/3.5.0-64607/vmxnet.tar

6. Now try to install the Tools again
cd ../../../
./vmware-install.pl

If you don't trust my tar-balls, use the diff files provided above to patch your existing module sources.

I'm currently working on an automatic tools patcher like you might know from the vmware-any-any updates because I'm not that happy with the current solution to patch the modules. Stay tuned, maybe there'll be some kind of tuxx-any-any installer in the future ;)

Usually, this should work but if it doesn't, feel free to drop me a post at my support forum.



Why don't you use open-vm-tools?

Please don't get me wrong, open-vm-tools is a great project and it really works a treat in terms of basic VMware Tools functionality. The release cycles are perfectly fine, new kernel versions get supported in nearly no time, _BUT_ there are several modules that are currently not part of open-vm-tools (like vmdesched, f.ex.). Additionally, I don't know if running open-vm-tools inside an ESX host is supported by VMware, so at the moment, I'll stick with patching the official tools to get them working inside my guest operating systems.