Reconfigure modules from CLI

 vmware-modconfig --console --install-all

VMware 6.0.3 (build 80004) on Debian with the 'linux-image-2.6.25-2-686' kernel image

  • install vmware
  • when the script fails (it will), download “vmware-any-any-update117b.tgz” from, untar it (altough the name is .tgz it is a .tar file, so use 'tar xvf') and run the ''-script contained in that tgz file
  • run “CC=/usr/bin/gcc-4.1”
  • when the script has finished, vmware won't start due to an “version 167.0 expected, got 137.0” error: fix this by rerunning(!) the “CC=/usr/bin/gcc-4.1” command

vmware 6.0.3 + kernel >2.6.24

Good news Linux kernel 2.6.24.x users! VMware Workstation v6.0.3 build 80004 can be made to build on the current stable kernel (at the time of this writing, the current stable version is However, it needs a little hacking to make work so please observe the following instructions;

1) untar the VMware Workstation distribution provided by this torrent


 tar xvf /path/to/the/file/VMware-workstation-6.0.3-80004.i386.tar.gz

2) move to the directory containing vmmon module source


 cd ./vmware-distrib/lib/modules/source

3) untar vmmon.tar


 tar xvf ./vmmon.tar

4) apply the following sed


 sed -i 's/asm\/bitops.h/linux\/bitops.h/' ./vmmon-only/include/vcpuset.h

5) Repackage the vmmon tarball


 rm ./vmmon.tar && tar cf ./vmmon.tar vmmon-only/

6) return to top level directory


 cd /path/to/vmware-distrib

7) build the package

 sudo ./ *OR*
 su (requires root password)


The exact problem is in the file vcpuset.h, located inside the vmmon.tar file under the directory “vmmon-only/lib/modules/source/include”. On line 74 of vcpuset.h you will find:

 #include "asm/bitops.h"

This *must* be changed to:

 #include "linux/bitops.h"

Before the vmmon kernel module will compile. This works on the testing distro of Debian codename `Lenny' using a custom compiled kernel version

Using VLANs

If you are using VLAN do the following (copy&paste from VMWARE forums)

unpack /usr/lib/vmware/modules/source/vmnet.tar to a working directory in vmnet-only edit bridge.c on line 838 change line:

 if (bridge->dev->hard_header_len != ETH_HLEN) {


 if (bridge->dev->hard_header_len != ETH_HLEN && bridge->dev->hard_header_len != ETH_HLEN +4) {

save, pack vmnet-only to vmnet.tar and put back in /usr/lib/vmware/modules/source re-run to rebuild the kernel modules.

vmware/workstation.txt · Last modified: 2013/11/01 18:49 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready