VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 27 Replies Last post: Apr 27, 2008 6:20 AM by jprog   Go to original post
Click to view docsmooth's profile Enthusiast 29 posts since
Dec 7, 2005
WS 6.02 and 2.6.24-rc4 also works aftera pplying any-any 115.

Correction - It compiles and starts. But all of my VM's complain about vmmon versions on startup. I've rolled back to 2.6.22 for VM work and 2.6.24 for battery improvements.


Thanks!

Message was edited by: docsmooth

Click to view stefans_1's profile Novice 10 posts since
Nov 18, 2006

http://rtr.ca/vmware-2.6.24 patches posted on previous page works fine for me in Ubuntu Hardy (devel), using kernel 2.6.24-3.


Click to view dmitton's profile Novice 6 posts since
Feb 5, 2007

First off, let me say that I only seem to come to this forum looking for help after I update my Linux Kernel, so I don't actually contribute much. BUT, I would really like to thank those who do contribute patches and make them available to the community. This is a great forum and I hope you keep up the good work.

The patches supplied work in my stock 2.6.24 kernel under a Knoppix/Debian based installation.

Thanks again!

Click to view felmasper's profile Novice 5 posts since
Sep 5, 2006

Saw this in http://knihovny.cvut.cz/ftp/pub/vmware/readme.txt:

vmware-any-any-update115.tar.gz
Refresh vmblock & vmnet.
Fix build on 2.6.24-rc2,3. 2.6.24-rc1 is not supported, please upgrade.

I'm using Debian unstable, kernel 2.6.24-1-686. Just did the following and successfully compiled:

  • replaced asm/bitops by linux/bitops in vmmon
  • ran the command: m-a --not-unpack --force --text-mode --userdir /l/down/vmware-any-any build vmware-any-any-kernel-source

The --not-unpack clause is needed so module-assistant does not overwrite the patched file.

Click to view baba.yaga's profile Lurker 3 posts since
Jun 2, 2006
The same problem under 2.6.24 kernel on Mandriva 2008.1, see https://qa.mandriva.com/show_bug.cgi?id=40030

vmware people, please, this is the main kernel of 2008.1 distro!
Click to view dmitton's profile Novice 6 posts since
Feb 5, 2007

Well, I'm back! 2.6.25 was released today and anothe vmware compile issue! Does anyone have a fix?

The error appears a little different this time ...

CC [M] /tmp/vmware-config2/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
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++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
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-config2/vmmon-only/common/task.o] Error 1
make[1]: *** _module_/tmp/vmware-config2/vmmon-only Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25'
make: *** http://vmmon.ko Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

Execution aborted.

Thanks in advance!

Click to view mkossmann's profile Novice 19 posts since
Aug 10, 2005
I'am not aware of any patches for older versions of vmware. But vmware-beta 6.5 seems to work with 2.6.25.
Click to view dmitton's profile Novice 6 posts since
Feb 5, 2007

Reply ... part 1 of 2!

Thanks for the response. Is it possible you could make your vmblock.tar, vmmon.tar and vmnet.tar files available?

Email or posted some where so that I could check them out?

Click to view dmitton's profile Novice 6 posts since
Feb 5, 2007
Reply part 2 of 2 ...

I have made some edits and gotten the original sources to compile and work (with my work spaces) under kernel 2.6.25.

Simply, I made these edits:


  • tar -xvf vmmon.tar

vi vmmon-only/common/hostKernel.h +56 and remove "include <asm/page.h>"
tar -cvf vmmon.tar vmmon-only/

  • tar -xvf vmnet.tar

vi vmnetInt.h +79 and remove entire "SET_SK_DEAD" declaration.
vi bridge.c +949 and remove /* SET_SK_DEAD(bridge->sk, 1); */
vi filter.c +48 and remove /* .hooknum = NF_IP_LOCAL_IN, */
vi filter.c +53 and remove /* .hooknum = NF_IP_POST_ROUTING, */
vi filter.c +233 and remove /* transmit = (hooknum == NF_IP_POST_ROUTING);*/
tar -cvf vmnet.tar vmnet-only/

Then I did the normal `/usr/bin/vmware-config.pl`
Click to view jprog's profile Novice 8 posts since
Feb 1, 2005
same problem with Ubuntu 8.0.4 Hardy

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:48:

my config:

Linux aphrodite 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux
VMware Workstation 6.0.0 build-45731

tried with vmware-any-any-update115a.tgz 01-Dec-2007 ( http://rtr.ca/vmware-2.6.24/ )

then vmware started, but starting a vm guest system: Version mismatch with vmmon module, expecting 161.0, got 167.0.

... Try restinalling VMware Workstation ...

Click to view jprog's profile Novice 8 posts since
Feb 1, 2005
fixed by

1) downloaded the latest VMware version:

Latest Released Version:6.0.2 |10/18/07 |59824 |210 MB

2) try setup -> failed with the same compile error as above

3) install any-any-patch -> works

works for me.

Click to view dmitton's profile Novice 6 posts since
Feb 5, 2007

First off, there was an exploit found in kernel 2.6.24, I think you should be using at least kernel 2.6.24.2. See http://forums.theplanet.com/index.php?showtopic=89616 and http://www.milw0rm.com/exploits/5093.

Then, kernel 2.6.24.x has a separate solution, I used the source from http://rtr.ca/vmware-2.6.24/, the file 115a any-any update.

Now, this solution may fix 2.6.24.x as well as 2.6.25. I finally just signed up for and downloaded VMWare Server 2.0 Beta 2, unpacked it, extracted the module source and used those. They compiled perfectly.

Good luck!

Click to view jprog's profile Novice 8 posts since
Feb 1, 2005
yes, thanks 115a any-any update works for me.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities