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