How-to Install VMware Player / Workstation on 2.6.24 Kernel
Update: If you are looking for patching VMware for Linux 2.6.25 Kernel – check here
Currently latest VMware Player and Workstation do not install under Linux 2.6.24 Kernel. This is a short how-to resolve the gcc/make errors that arise while configuring (vmware-configure.pl)
1. Download the latest vmware player (workstation) – currently VMware Player 2.0.2 Build 59824
url: http://www.vmware.com/download/player/ – Read the Eula before downloading
2. tar xzvf VMware-player-2.0.2-59824.i386.tar.gz
3. cd vmware-player-distrib/
4. ./vmware-install.pl – Proceed as usual when asked to run vmware-config.pl answer NO
5. Download the latest any-any patch – currently vmware-any-any-update-116
url: http://vm…s.googlegroups.com/web/vmware-any-any-update-116.tgz
6. tar xzvf vmware-any-any-update-116.tgz
7. cd vmware-any-any-update116
8. ./runme.pl and when asked to run vmware-config.pl answer YES
9. Configure as usual
10. Enjoy!
PS. Link is broken so I reuploaded on my hosting. Patch is presented as is and I don’t take any responsibility for it. All credits go to the author.
Anyway http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz
Tags: 2.6.24, Linux, virtualization, vmware

February 18th, 2008 at 11:58 pm
[...] How-to Install Vmware Player / Workstation on 2.6.24 Kernel – Assuming you already have VMware Player/Workstation/Server loaded, follow from Step 5. Although it does not mention Server, these steps work for installing VMware Server as well. [...]
February 19th, 2008 at 9:24 pm
Link to version 116 of the patch is broken.
February 19th, 2008 at 11:41 pm
link added
February 21st, 2008 at 5:56 pm
Thank you! It worked on debian unstable with the latest vmware workstation (6.0.2-59824).
February 22nd, 2008 at 2:45 pm
Works fine:
- Kernel 2.6.24 (+ tuxonice patch)
- Debian lenny/testing distro.
- VMWare workstation 6.02
February 22nd, 2008 at 10:50 pm
Thank you! It works on Gentoo with 6.0.2-59824.
February 24th, 2008 at 5:58 pm
Nice guide! Thank you
February 27th, 2008 at 12:51 pm
Thank you!
It works on:
- ZenWalk 5 (2.6.24.2)
- VMWare workstation 6.0.2 build 59824
February 27th, 2008 at 11:43 pm
Wow it works. was looking to make it run on debian and it does
Sys specs kernel:2.6.24.2(vanilla) on debian testing/unstable
February 28th, 2008 at 10:12 am
Works with VMware Workstation 6.0.2 build-59824 and etch backport from http://kmuto.jp/b.cgi/debian/d-i-2624-etch3.htm , thankyou!
March 3rd, 2008 at 7:44 pm
[...] 参考文档: http://blog.creonfx.com/linux/how-to-install-vmware-player-workstation-on-2624-kernel [...]
March 5th, 2008 at 9:18 am
How about VMWare Fusion/OSX? The various threads I’ve found don’t address the version of vmware-tools included with Fusion. Dunno why Fusion has to have different tools…
March 5th, 2008 at 9:34 pm
Thanks Peter!
Working on:
OpenSuSE-10.3
linux-2.6.24-3
March 6th, 2008 at 9:11 am
I’m running Hardy alpha 5 (2.6.24-11 generic)
The tip works, but only if g++ is installed.
When trying to run VMWare (Server 1.04) I then had problems like this:
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
So I ran these commands:
cd /usr/lib/vmware/lib/libpng12.so.0
sudo mv libpng12.so.0 libpng12.so.0.old
sudo ln -sf /usr/lib/libpng12.so.0 libpng12.so.0
cd /usr/lib/vmware/lib/libgcc_s.so.1
sudo mv libgcc_s.so.1 libgcc_s.so.1.old
sudo ln -sf /lib/libgcc_s.so.1
(hope that’s clear…)
Now it seems to be OK.
March 7th, 2008 at 5:36 pm
Working on:
Fedora 8 x86
kernel 2.6.24.3-12.fc8
thanks
March 8th, 2008 at 3:37 am
[...] Source: Peter Velichkov’s Blog [...]
March 8th, 2008 at 3:00 pm
Hi Peter. I have to say thank you for this great work !!
The configuration of VMware Workstation 6.0.0 build-45731 for Linux for this
running kernel completed successfully.
I’m running 2.6.24.3-12.fc8.
March 8th, 2008 at 6:37 pm
Fedora 8
2.6.24.3-12
Still getting errors after running any-any-update?
Try: yum install gcc-c++
Worked for me
March 8th, 2008 at 8:19 pm
To [daveStyle]:
it’s true.
Install gcc-c++ if you get:
make[1]: Entering directory `/usr/src/kernels/2.6.24.3-12.fc8-i686′
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config3/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config3/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config3/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config3/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config3/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config3/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config3/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config3/vmmon-only/common/task.o
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
make[2]: *** [/tmp/vmware-config3/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.24.3-12.fc8-i686′
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only’
Unable to build the vmmon module.
March 10th, 2008 at 12:11 pm
Ubuntu 7.10 2.6.24.3 – worked a treat, thanks.
March 10th, 2008 at 12:53 pm
Thx very much.
It’s working very well, on my Fedora Core 8 with the kernel version 2.6.24.3-12
March 10th, 2008 at 10:53 pm
Thank me too!!!
It helps very much!
March 12th, 2008 at 2:26 pm
Thank you so much, it worked on my FC8
March 16th, 2008 at 6:29 pm
latest vmware server 1.0.5 plus only:
http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz
Compiles ok with warnings:
CC [M] /tmp/vmware-config5/vmmon-only/common/task.o
cc1plus: warning: command line option “-Werror-implicit-function-declaration” is valid for C/ObjC but not for C++
cc1plus: warning: command line option “-Wdeclaration-after-statement” is valid for C/ObjC but not for C++
cc1plus: warning: command line option “-Wno-pointer-sign” is valid for C/ObjC but not for C++
cc1plus: warning: command line option “-Wstrict-prototypes” is valid for Ada/C/ObjC but not for C++
/tmp/vmware-config5/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’:
/tmp/vmware-config5/vmmon-only/common/task_compat.h:2666: warning:
‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in
this function
/tmp/vmware-config5/vmmon-only/common/task_compat.h:2666: warning:
‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this
function
/tmp/vmware-config5/vmmon-only/common/task_compat.h:2666: warning:
‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this
function
/tmp/vmware-config5/vmmon-only/common/task_compat.h:2666: warning:
‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this
function
All fine except bridge networking does not work. No errors logged in syslog or vmware.log.
Where to start looking?
March 17th, 2008 at 4:24 am
I’m using Ubuntu 8.04 alpha with kernel 2.6.24-12-generic
After the any-any patch, I’m able to compile the VMware modules, but when I try to open a virtual machine, I get the following error:
Version mismatch with vmmon module: expecting 161.0, got 137.0.
You have an incorrect version of the `vmmon’ kernel module.
Try reinstalling VMware Workstation.
March 18th, 2008 at 3:32 pm
@Daniel Serodio
Probably you are using old version of VMware Workstation. You can try downloading the latest version from the site.
If the problem persists please drop me a line
March 18th, 2008 at 7:10 pm
Works perfectly with a Debian testing/unstable x86 system, kernel 2.6.24-1-686. Thanks!
March 19th, 2008 at 9:12 pm
An update to my earlier post. Oops, guess what I missed in the logs:
bridge-wlan0: enabling the bridge
bridge-wlan0: is a Wireless Adapter
vmnet: You are trying to use wireless bridged networking together with
vmnet: vmware-any-any-update. This is not supported configuration, and
vmnet: your wireless bridge will probably not work.
bridge-wlan0: up
bridge-wlan0: already up
bridge-wlan0: attached
Which all makes sense for a server product. bridge-eth0 works just fine – yippee.
So I have vmware server 1.0.5 working on Debian’s 2.6.24-1-amd64. This is likely to be the the kernel in the Debian release so this is good news. Please can I join Mr Pfeiffer in saying a BIG THANKS!
March 20th, 2008 at 5:05 am
Coolness… thanks for the patch man. It works just fne.
March 20th, 2008 at 8:26 pm
@Peter, I uninstalled VMware, installed VMware Workstation 6.0.3 build-80004 with the any-any 116 patch and still get the same error… :-/
March 21st, 2008 at 10:19 am
extract ,tgz
apt-get install g++-4.2-multilib
sudo ./runme.pl
ubuntu hardy
vmware server 2.0 beta-build 63231
March 22nd, 2008 at 12:20 pm
ubuntu hardy beta
VMware-workstation-6.0.3-80004.i386.tar.gz
patch didn’t seem to work as it was still complaining about cc1plus –
apt-get install build-essential
and it compiled fine. Thanks for the hints guys, installing build-essential installed g++ and g++4.2.
March 22nd, 2008 at 2:21 pm
Thanks, it works on
- openSUSE 10.2
- kernel 2.6.24.3
- vmware server 1.0.5
March 24th, 2008 at 3:58 am
[...] I did a little bit of Googleing, and I came across this helpful post from Peter Velichkov. Here is a brief summary of his instructions (I started with step [...]
March 26th, 2008 at 9:12 pm
vmware-any-any-update-116.tgz doesn’t work with VMware-workstation-6.0.3-80004, it’s expecting 167.0 of the module and is getting 137.0. I guess this doesn’t actually patch the modules as they’re distributed with VMware, it replaces them with older versions that have been patched to work?
March 26th, 2008 at 9:28 pm
After unpacking lib/vmware/modules/source/vmmon.tar and changing “asm/bitops.h” to “include/bitops.h” in vmmon-only/include/vcpuset.h, the vmmon module compiles fine. There are no other errors with the remaining modules on 2.6.24.4.
March 28th, 2008 at 11:24 pm
Mike is on the right track, but the correct include is “linux/bitops.h” not “include/bitops.h”.
March 31st, 2008 at 9:22 am
Thanks a lot! You have saved me a lot of trouble!
March 31st, 2008 at 4:49 pm
sorry, doesnt work for me…i googled and always found the same sollution. i use debian etch and kernel 2.6.24.4. tried it with all the different any-to-any patches but still get this fault:
make[2]: *** [/tmp/vmware-config8/vmmon-only/linux/driver.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config8/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24.4-mananew’
make: *** [vmmon.ko] Fehler 2
make: Leaving directory `/tmp/vmware-config8/vmmon-only’
Unable to build the vmmon module.
the path to the kernel-headers is definitly correct…
March 31st, 2008 at 5:45 pm
@alex
Could you please post more info – Vmware player, workstation or server are you using. Did you compiled this kernel or it is backport? What version of GCC do you use?
I’m sure if I can not help you there is someone who will
Cheerz
April 1st, 2008 at 9:11 am
Thanks a lot.
Im running debian lenny/sid 2.6.24-1-686 and vmware server1 .0.4 build-56528.
I couldn’t compile vmmon module when i updated my kernel and i downloaded the patch. After unsucessfull compiling, I tried to apply the patch and an error told me that the files required to patch did not exist.
This was because a failed vmware-config.pl deletes some files (or every file) of your vmware install. After skipping this comprobation i could patch and my vmware is now running, with my old configuration perfectly working (at least for now).
Mordisko
April 5th, 2008 at 6:14 pm
thanks,
work on Ubuntu Hardy 8.0.4 beta
required
apt-get install build-essential
then installed as above
April 6th, 2008 at 4:49 pm
It worked perfectly for me, thanks a lot!
April 8th, 2008 at 11:11 am
It does not work on FC8 – VMWare Player 2.0.3 (VMwareTools-6.0.3-80004)
1) vmware-config-tools.pl gives the following error while building vmhgfs module
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmhgfs-only’
make -C /lib/modules/2.6.24.4-64.fc8/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.24.4-64.fc8-i686′
CC [M] /tmp/vmware-config4/vmhgfs-only/backdoor.o
CC [M] /tmp/vmware-config4/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/vmware-config4/vmhgfs-only/bdhandler.o
CC [M] /tmp/vmware-config4/vmhgfs-only/cpName.o
In file included from include/linux/string.h:11,
from /tmp/vmware-config4/vmhgfs-only/cpName.h:18,
from /tmp/vmware-config4/vmhgfs-only/cpName.c:18:
include/linux/types.h:40: error: conflicting types for ‘uintptr_t’
/tmp/vmware-config4/vmhgfs-only/vm_basic_types.h:170: error: previous declaration of ‘uintptr_t’ was here
make[2]: *** [/tmp/vmware-config4/vmhgfs-only/cpName.o] Error 1
make[1]: *** [_module_/tmp/vmware-config4/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.24.4-64.fc8-i686′
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-config4/vmhgfs-only’
Unable to build the vmhgfs module.
2) cut & paste between host (Win XP) and guest (FC8) still does not work
April 8th, 2008 at 11:57 pm
FC8 & Kernel-2.6.24.4 & vmware workstation 5.5.6
Base install (with KDE instead of Gnome) required the installation of the following packages:
kernel-headers
kernel-devel
gcc
gcc-c++
Without the last package the any-any patch will exit with an error.
Thanks for the info!
April 9th, 2008 at 10:07 am
Thanks a lot, it works correctly.
To all – to be attention it works correctly only if you do:
1 – ./vmware-install.pl – Proceed as usual when asked to run vmware-config.pl answer NO
2 – ./runme.pl and when asked to run vmware-config.pl answer YES
If you ready have VmWare and updated Kernel to 2.6.24 you must to do installing from 1st step, not use vmware-any-any before you don’t reinstall vmwares’s system files from distrib.
April 11th, 2008 at 7:15 am
[...] on Fedora 8 Sold Out ActivistSold Out Activist @ 5:12 am tags: Just confirming that the guide on this page works as described. I was able to install VMWare on Fedora 8, bypassing the problems with compiling [...]
April 11th, 2008 at 8:58 am
Anyone have success with Hardy 64bit?
Lots of “wrong ELF class: ELFCLASS64″ errors..
-c
April 14th, 2008 at 9:51 am
@Daniel Serodio
i have met the same problem with you,but i reconfig the vmware,everthing is ok,i don’t know how can this happen
April 14th, 2008 at 9:43 pm
This does not work for VMware server 1.0.5 and kernel 2.6.24.4.
VMware server cannot be contacted afterwards, and the virtual machines does not have any network connection.
April 14th, 2008 at 10:29 pm
At least on Debian Unstable with linux-image-2.6.24-1-686 (2.6.24-5) I’m successfully running VMware Server 1.0.5 build-80187. Please post more information for your distribution, kernel, etc.
April 14th, 2008 at 11:26 pm
I apologize in advance as I have not been on linux in awhile..
After I try step 5..ie
sudo ./runme.pl
I am getting
unable to open the installer database /etc/vmware/locations
my thinking was maybe to move the patch to say /opt/local or something similar and try it again as a work around..doe stha tsound right..thanks
April 14th, 2008 at 11:39 pm
whoop ..Linux distro is Ubuntu 8.0.5
April 14th, 2008 at 11:53 pm
@shareme
Did all previous steps completed successfully?
Also if the message is “Unable to open the installer database /etc/vmware/locations in read mode” try googling because there are plenty of users describing the same issue.
Also I suggest to be root all the time (during install) instead of using sudus
April 15th, 2008 at 12:24 am
I googled and it said for Ubuntu 8.0.5 use open-vm-tools instead so will post back results
April 16th, 2008 at 9:07 pm
hi,
i’m trying vmware server VMware-server-1.0.5-80187.tar.gz and the patch vmware-any-any-update-116.tgz
but it does not work.
kernel: 2.6.24-1-686
the message i got:
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: entrant dans le répertoire « /tmp/vmware-config0/vmmon-only »
make -C /lib/modules/2.6.24-1-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.24-1-686 »
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
gcc-4.1: error trying to exec ‘cc1plus’: execvp: Aucun fichier ou répertoire de ce type
make[2]: *** [/tmp/vmware-config0/vmmon-only/common/task.o] Erreur 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.24-1-686 »
make: *** [vmmon.ko] Erreur 2
make: quittant le répertoire « /tmp/vmware-config0/vmmon-only »
Unable to build the vmmon module.
thank you in advance for return.
April 16th, 2008 at 9:07 pm
with Debian Testing
April 16th, 2008 at 9:17 pm
i get it compile installing g++-4.1.
peace!
April 16th, 2008 at 9:44 pm
Very helpful page, indeed Just tested with latest Fedora 8 kernel and latest VMWare Player, works perfectly with vmware-any-any-update116.
kernel-2.6.24.4-64.fc8
kernel-devel-2.6.24.4-64.fc8
VMwarePlayer-2.0.3-80004
As a rule of thumb, I would go for latest player/workstation and latest any-any patch whenever updating the kernel (I had similar experience on FC6 some time).
April 17th, 2008 at 11:13 pm
This procedure works fine for 2.6.24.4 and Ubuntu/Gutsy for x86 and amd64 and Debian/Etch x86 and amd64. I just tried the new kernel 2.6.25 and the vmware-any-any-update116 patch did not work anymore.
April 18th, 2008 at 11:10 pm
Hi,
For those of you getting stuck with gcc versioning errors, I suggest you do the following:
env CC=/usr/bin/gcc-4.1 ./runme.pl
That simply overrides the compiler version being used to one that your kernel is compiled with.
This is a generic solution but was used for debian-lenny
April 19th, 2008 at 12:08 am
vmmon tries to access the init_mm symbol, which seems to be gone in 2.6.25. A google search brings up http://communities.vmware.com/message/863066 which mentions a patch that delays it’s removal, but I don’t think it was checked in or we wouldn’t be having this problem. It also doesn’t sound like the patches on that thread help, so I think we’ll have to wait for better people to fix it this time…
April 19th, 2008 at 4:34 pm
with Debian x64 sid (current) and recently downloaded vmware 6.0.3 b80004 it isn’t working
CC [M] /tmp/vmware-config6/vmmon-only/common/task.o
cc1plus: warning: command line option “-Werror-implicit-function-declaration” is valid for C/ObjC but not for C++
cc1plus: warning: command line option “-Wdeclaration-after-statement” is valid for C/ObjC but not for C++
cc1plus: warning: command line option “-Wno-pointer-sign” is valid for C/ObjC but not for C++
cc1plus: warning: command line option “-Wstrict-prototypes” is valid for Ada/C/ObjC but not for C++
In file included from /tmp/vmware-config6/vmmon-only/common/hostKernel.h:56,
from /tmp/vmware-config6/vmmon-only/common/task.c:30:
include/asm/page.h: In function ‘pte_t native_make_pte(pteval_t)’:
include/asm/page.h:128: error: expected primary-expression before ‘)’ token
include/asm/page.h:128: error: expected ‘;’ before ‘{‘ token
include/asm/page.h:128: error: expected primary-expression before ‘.’ token
include/asm/page.h:128: error: expected `;’ before ‘}’ token
make[2]: *** [/tmp/vmware-config6/vmmon-only/common/task.o] Error 1
m
April 23rd, 2008 at 10:51 pm
Hi,
is there a solution to:
Version mismatch with vmmon module: expecting 167.0, got 137.0.
You have an incorrect version of the `vmmon’ kernel module.
(when I press the ‘Power on this virtual machine’ button)
VMware-workstation-6.0.3-80004
vmware-any-any-update-116
2.6.24-1-686
thanks, pid
April 25th, 2008 at 4:28 pm
Best page on the web to get VM going on Fedora 8. KUDOS!
April 25th, 2008 at 5:31 pm
Hello!
Same Problem here, if starting a virtual maschine I used before I get this error:
Version mismatch with vmmon module: expecting 167.0, got 137.0.
You have an incorrect version of the `vmmon’ kernel module.
Try reinstalling VMware Player.
Error while powering on: Cannot find a valid peer process to connect to.
Ubuntu 8.04 rc
vmware player 2.0.3
April 25th, 2008 at 6:40 pm
I’m not using VMware workstation but I have the doubt you don’t need to apply the patch.
Could you please try installing without it and post the result?
Cheers
April 26th, 2008 at 7:42 pm
Works like a charm on Ubuntu Hardy FInal, 2.6.24 kernel!
April 27th, 2008 at 2:21 pm
Hi
> Could you please try installing without it and post the result?
Of course I did this in the first place, and it didn’t compile.
I didn’t find any solutions on the net (I tried hard), and I also wasn’t able to
patch the any-any patch by myself to get it running.
Meanwhile I use VirtualBox (without any problems).
thanks, pid
April 27th, 2008 at 7:43 pm
[...] at have kigge lidt rundt på nettet fandt jeg følgende løsning , der involverer brugen af “any-any” patchet for vmware . Jeg har selv valgt denne [...]
April 27th, 2008 at 7:47 pm
Running vmware workstation 6.0.3 on ubuntu 8.04 here! It works great – thanks for this post! Really usefull.
April 30th, 2008 at 4:00 pm
I’d very much like to have a similar patch or solution so that I can run VMware workstation 6.0.3 on kernel 2.6.25.
Does anyone know of such a thing? Thanks.
April 30th, 2008 at 11:07 pm
Unfortunately I’m in holidays for the next couple of days and I have been waiting for 2.6.25 to come into Debian unstable before testing Vmware’s products so I will not be able to help much.
Happy hacking !
May 1st, 2008 at 6:39 pm
@visor and other people with the problem:
Version mismatch with vmmon module: expecting 167.0, got 137.0.
You have an incorrect version of the `vmmon’ kernel module.
This happens because the build scripts couldn’t determine the version of vmware you have when building the modules. The scripts run “vmware -v” which usually prints the version but if you haven’t successfully run vmware-config.pl yet, it just prints a message saying to run it. Simple solution is:
1.) Patch with any-any-116
2.) Run vmware-config.pl and check that “vmware -v” now reports the version correctly
3.) Run vmware-config.pl again, except this time it will build the correct module versions
May 4th, 2008 at 7:45 am
Thanks a million. Works on Ubuntu Studio 8.04 LTS (Hardy) (2.6.24-16-rt Kernel). I had to install a C compiler (sudo apt-get install build-essential) or it would give me a gcc error in the final step.
May 5th, 2008 at 6:11 am
Some patches for vmware workstation that supposedly for 2.6.25 – http://bbs.archlinux.org/viewtopic.php?id=47704
Make sure UNUSED_SYMBOLS is enabled (on by default?) in your kernel or you’ll get init_mm errors when trying to load the module. I’m recompiling now and have to reboot.
May 5th, 2008 at 2:01 pm
@btmorex
Thank you very much. Very helpful with the ’167.0 got 137.0′ problem
May 6th, 2008 at 11:35 pm
Hi Peter, hi Gregster! Thank you very much, Peter, for your script, and Gregster, for your tip from March 6th! I had exactly that problem starting the vmware after successfully running Peter’s script for vmware 5.5.6 on my Ubuntu system, recently upgraded to 8.04. After applying Gregster’s commands, everything works perfectly now!
May 7th, 2008 at 1:41 pm
Version mismatch with vmmon module: expecting 161.0, got 167.0 here.
rerun vmware-config.pl several times and with no luck.
got any clue?
btw, vmware -v show correct version
May 7th, 2008 at 11:33 pm
@Mike I have tested them and with couple of other fixes I have successfully recompiled my VMware Player for 2.6.25. Check the latest post
Cheerz
May 8th, 2008 at 11:21 pm
I am getting the “Unable to open the installer database /etc/vmware/directory in read-mode ” Error message when I ran runme.pl
I have no clue how to fix this.
Thanks,
-Alex
May 9th, 2008 at 10:14 am
are you root ?
May 9th, 2008 at 5:15 pm
yes I am root.
May 9th, 2008 at 5:43 pm
@Alex
Can you check if this directory exist and you can edit files there. Other option is to check on which line of the perl file does this happen and see the exact reason.
May 9th, 2008 at 6:45 pm
Hi Peter,
Actually the exact name of the file is /etc/vmware-tools/locations. I did open the file and it’s file permissions are correct. All the perl open statments have this problem. I was able to get around this problem by replacing the variable name for the file with that actual name.
For example:
Changed: open(INSTALLDB, ‘<’ . $cInstallerMainDB)
To: open(INSTALLDB, ‘</etc/vmware-tools/locations’)
I did that in there different open statments. I am passed this problem. Now I have another problem I will provide the details when I go home later. My system is at home.
Thanks,
-Alex
May 12th, 2008 at 7:16 pm
Hi.
Thank you everyone for your help. Even those who posted their problems helped me because I got the same issues when trying to install vmware player 2.0.3 on ubuntu 8.04 LTS, and now it is working fine.
-First got, the “cc1plus, etc etc” problem when running vmware-config.pl after the any-any-update116 patch. Fixed it runing “sudo apt-get install build-essential”
-Then, when happy that finally installed and configured vmware player, I tried to power on a virtual machine, and got the ‘expecting 161.0, got 137.0′ issue. Fixed it running vmware-config.pl again.
Both of these problems where posted by everyone, so again, thank you all.
Alex C.
May 12th, 2008 at 9:07 pm
@alexc
You are welcome
May 13th, 2008 at 3:29 pm
VMware Workstation 6.0.3 build-80004. 2.6.24-gentoo-r7.
Those who still have compilation errors while compiling ‘vmhgfs’ module of VMWare Tools after the any-any patch and gcc-g++ downloads etc, go here:
http://www.sendspace.com/file/ti72r1
May 13th, 2008 at 6:25 pm
Works for me too on Ubuntu 8.04 (Linux version 2.6.24-16-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:23:42 UTC 2008)
Thanks!
May 13th, 2008 at 9:41 pm
How do you see the idea about some specialized site about virtualization under linux (more community based), with repositories, source control etc. If i get some cash from the ads i will get domain and hosting.
Please share your ideas.
Cheerz
May 16th, 2008 at 6:32 am
Thanks a lot ! It works fine now
May 18th, 2008 at 1:11 pm
Thank you. I’m a beginner in Linux and this how-to was very useful.
May 18th, 2008 at 7:10 pm
Thanks a lot for all the input here. Took me an hour to compile the vmmon module, I also got the missing cc1plus error, the build-essentials package did the trick. I got a lot of warnings however, but everything seems to work so I don’t care anymore
May 18th, 2008 at 10:15 pm
Thank you
.
Worked great on Debian Etch 4.0 with Kernel 2.6.25.3 and VMware Workstation 6.0.3-80004. I had to run vmware-config.pl twice to get rid of the “Version mismatch with vmmon module: expecting 167.0, got 137.0.”
SoftICE
May 20th, 2008 at 12:42 am
So I got Ubuntu working off a dual boot am trying to set up all of the functions needed to get rid of Windows. Unfortunately one of the things I need is vmware player. Followed numerous how to’s and so far off a clean install of ubuntu I still cannot get it to work. I think tht maybe in my hast I may have downloaded the incorrect player. I have Ubuntu 8.04 and downloaded VMware-player-2.0.3-80004.i386. I get the following
CC [M] /tmp/vmware-config3/vmmon-only/common/task.o
gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
make[2]: *** [/tmp/vmware-config3/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic’
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only’
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
“http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.
Execution aborted.
Any body now how to fix this?
Any body else have this issue. I was running this via sudo in ubuntu.
Thanks Guys
May 20th, 2008 at 1:16 am
As found at http://ubuntuforums.org/showthread.php?t=770716
This fix worked great. It seemed that the any any updated patches are not needed with this either. Could be wrong as they were already copied over etc.
——————————————————————————————————————————————
Originally Posted by Rizlaw View Post
I had the same problem. If you are using VM Workstation 6, the following will work. Assuming you are familiar with working in terminal mode on the command line, execute the following series of commands:
* unpack VMware-workstation-6.0.3
* go to vmware-distrib/lib/modules/source
* untar the file vmmon.tar (tar xvf vmmon.tar)
* cd vmmon-only/include
* edit the file vcpuset.h
* go to line 74
* change #include “asm/bitops.h” to #include “linux/bitops.h” (Because there are some changes made to the 2.6.24 kernel, it’s not possible to include bitops.h from asm and you will have to include it from the linux directory)
* go back to vmware-distrib/lib/modules/source
* remove the old vmmon.tar file (rm vmmon.tar)
* repack the new vmmon.tar file (tar cvf vmmon.tar vmmon-only)
* remove vmmon-only directory (rm -rf vmmon-only)
Now go to vmware-distrib directory and install vmware as you usualy do. It should work without a glitch.
——————————————————————————————————————————————
May 22nd, 2008 at 1:31 am
I`ve just installed VMWare Player. It starts fine, but when I run any VM – whole system hangs!
Ubuntu 8.04 32bit
May 22nd, 2008 at 12:09 pm
Probably there is some misconfiguration in your VMX file. Can you try with some prebuild virtual machine from here http://www.vmware.com/appliances/
You may also try to uninstall and install again the player, but it is not a real solution.
If you can put more info (logs, versions etc)
May 25th, 2008 at 1:10 am
Works perfectly on Ubuntu 8.04 kernel 2.6.24-17-generic. Vmware player 2.0.2 had been broken by upgrade from Ubuntu 7.10. Thanks very much!
May 30th, 2008 at 12:13 pm
Hi all.
I have problems uninstalling the vmware-any-any-update116.
I have installed VMWare Workstation 6.03 in Ubuntu Hardy 8.04.
To get access to the network again I needed to install the any-any-update116.
After a kernel update I have to recompile the VMWare Workstation.
But if I am running the installer I get the message I have to uninstall the any-any-update.
Terminal output is:
sudo ./vmware-install.pl
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.
vmnet
vmblock
vmmon
Execution aborted.
I deleted all vmware folders and files I found but it seem that anything might remain.
Can anybody help?
Thanks
Armin
May 30th, 2008 at 12:45 pm
@Armin
Check if you have vmnet.tar vmblock.tar vmmon.tar in /usr/lib/vmware/modules/source
If so delete them and try reinstalling. But generally recompiling should not need reinstalling (something went wrong)
May 30th, 2008 at 11:15 pm
Close but no cigar!
Kernel: 2.6.24.7-1.rt3.2.fc7.ccrmart; Vmware player 2.0.4 (RPM package)
I tried your patch with the latest planet ccrma kernel. As I installed the vm-player from rpm, there was no install.pl, but I assumed that it’d work anyway, as you normally have to run configure-pl as a post-install procedure anyway.
The compilation worked fine under runme.pl, but when I tried running it I got the error:
Version mismatch with vmmon module: expecting 168.0, got 167.0.
You have an incorrect version of the `vmmon’ kernel module.
Try reinstalling VMware Player.
May 31st, 2008 at 12:43 am
…and btw I tried running config.pl twice as well… didn’t work
May 31st, 2008 at 6:25 am
[...] How-to Install VMware Player / Workstation on 2.6.24 Kernel,关于在Linux 2.6.24中安装VM。 [...]
June 2nd, 2008 at 12:19 am
Anyway – my setup worked fine once I tried the 2.0.3 vmware Player. Thanks!
June 16th, 2008 at 11:23 pm
Hey Peter, great tutorial, btw, but a while back, from Windoze I created a “mac os x86″ virtual machine (Tiger, deadmoo iso) in vmware server for win. Since then I dual booted my laptop with ubuntu hardy using wubi, and used your tutorial to install vmware player. I installed it for the sole purpose of having the ability to boot my os x86 and solaris virtual machines from linux like i could with windows, but I get the same error everyone else is about vmmon when booting the “mac”, only it says “expecting 168.0, got 167.0″. Any ideas? This is the last thing keeping me from a vista/ubuntu/solaris/mac laptop!
June 16th, 2008 at 11:28 pm
@Anthony did you tried btmorex suggestion ?
June 17th, 2008 at 12:49 am
OK, followed btmorex’s advice, now I have a mess of a machine, lol.
but before i did, i uninstalled vmware player, “installed” vmware server (using patch), and now, no matter how many times I run runme.pl or vmware-config.pl, vmware -v prints:
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib/libstdc++.so.6)
………
HELP!!!!!
A google digs mailing lists discussing the problem, and it traces to system shared library dependencies (what fun). I tried bluntly installing gcc 3.4, and 4.2 is already installed and used to make the thing in the first place. I tried symlinking around libcairo to fix it, but to no avail. like I said, my machine is an utter catastrophe. Any help is greatly appreciated.
June 17th, 2008 at 2:03 am
nevermind this fixed it
$ mv /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1libgcc_s.so.1.old
$ mv /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0.old
$ cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/
$ cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/
hope that helps
June 19th, 2008 at 2:22 am
This worked as advertised on Ubuntu 8.04 and VMware-player-2.0.4.
Thanks!
June 19th, 2008 at 12:27 pm
[...] http://blog.creonfx.com/linux/how-to-install-vmware-player-workstation-on-2624-kernel http://howtoforge.com/vmware-server-on-ubuntu8.04 [...]
June 19th, 2008 at 7:27 pm
Update – close but no cigar:
Version mismatch with vmmon module: expecting 168.0, got 137.0.
You have an incorrect version of the `vmmon’ kernel module.
Try reinstalling VMware Player.
On the note from Erik – I will try VMware-player-2.0.3 next…
June 19th, 2008 at 8:09 pm
@jeepGuy 2.04 ?
ps. Smooking can break Vmware Player
June 27th, 2008 at 2:35 am
Hi.
Got this working on hardy with kernel 2.6.24-19.
thanks
July 2nd, 2008 at 4:42 am
I didn’t need this on Ubuntu 8.04 with the 2.6.24-19-generic kernel.
I use VMWare Workstation v6.0.4 build-93057
The install from vmware-install.pl went fine. Even the configure script. All modules were built and Virtual Machines run perfect.
One problem though: I get an error when starting a virtual machine because it cannot load the sound driver. Error accessing /dev/dsp
???
Does this guide fix this issue???
July 2nd, 2008 at 10:32 am
@Jacob – Your problem is probably due to your sound system.
1. Do not run any applications that are using sounds (mp3/video players, sites with flash etc)
2. Be sure you are using alsa or other relevantly new architecture.
3. Check your sound settings and reduce the time for unlocking the sound device
generally my suggestion is to boot, not starting any application wait for couple of minutes (if you have startup sounds) and then run vmware workstation
July 8th, 2008 at 10:57 pm
I still haven’t found a solution (even on this page) regarding this error message: Version mismatch with vmmon module: expecting 161.0, got 167.0. What went wrong?
I installed vmware .v6.0.0.45731 with the 116 patch several times, but still get the same error. Who can help?
July 8th, 2008 at 11:26 pm
Found the solution: Sometimes it helps thinking aloud and consulting google more specific!
Just copied the files from her: http://download.rhsoft.net/vmware.tar.bz2 and copied them to /usr/lib/vmware/modules/source; then rerun vmware-config.pl. Now it seems to work!!
If you experience problems contact me via debian_on_ebay*at*yahoo.de
Regards
Dirk
July 13th, 2008 at 11:24 pm
Obviously my thread caught some attention .o)
Unfortunately the provided link (http://download.rhsoft.net/vmware.tar.bz2) is broken. I will upload the needed files and will notify you regarding the new url shortly.
So long
dw
July 18th, 2008 at 8:47 am
VMWare Server 1.0.6 under Ubuntu 8.04 does not need any patch anymore.
http://howtoforge.com/installing-vmware-server-on-ubuntu-8.04
March 6th, 2009 at 10:55 am
Why you don’t use .rpm files. It isn’t difficult??
March 6th, 2009 at 4:11 pm
Because I’m using either Debian or Ubuntu/Kubuntu so I prefer deb packages and I’m not a big fan of rpm/alien under Debian