The newest kernel yields build problems. I have applied any-any-114, but still can not build. I think we need an any-any-115. Here is the output of the build script.
Jim
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
Bridged networking on /dev/vmnet0
Host-only networking on /dev/vmnet1
Host-only networking on /dev/vmnet8
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
What directory contains your desktop menu entry files? These files have a
In which directory do you want to install the application's icon?
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)?
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel?
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 5.5.2 or 5.5.3.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.24-0.38.rc2.git6.fc9/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.24-0.38.rc2.git6.fc9-x86_64'
CC /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:52:
/tmp/vmware-config3/vmmon-only/./include/vm_basic_types.h:168: error: redefinition of typedef ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config3/vmmon-only/./include/x86.h:23,
from /tmp/vmware-config3/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:53:
/tmp/vmware-config3/vmmon-only/./include/x86cpuid.h:381:1: warning: "BIT_MASK" redefined
In file included from include/linux/kernel.h:15,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:15:
include/linux/bitops.h:7:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config3/vmmon-only/./include/vmci_kernel_defs.h:26,
from /tmp/vmware-config3/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config3/vmmon-only/linux/driver.h:21,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:53:
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config3/vmmon-only/./include/vmci_kernel_defs.h:26,
from /tmp/vmware-config3/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config3/vmmon-only/linux/driver.h:21,
from /tmp/vmware-config3/vmmon-only/linux/driver.c:53:
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config3/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
make[1]: Leaving directory `/usr/src/kernels/2.6.24-0.38.rc2.git6.fc9-x86_64'
make: *** http://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.
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 /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[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!
I'am not aware of any patches for older versions of vmware. But vmware-beta 6.5 seems to work with 2.6.25.
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?
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`
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 /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|http://rtr.ca/vmware-2.6.24/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 ...
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.
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!
yes, thanks 115a any-any update works for me.