I've managed to 'hack' up a workaround for 2.6.20 kernels that seems to work for me with the latest Fedora Core development kernels.
The following patch to vmmon-only/include/compat_kernel.h 'ifdefs away' the definition of _syscall1(). \[I first tried including 'int' type specifiers in the template, but got complaints that _syscall1() was 'static and unused'.]
I'm not sure if this is really correct, so your mileage may vary. Would appreciate comments from those who know better and who can provide a better fix!
Notice that the comparison is 'strictly less than' to cover Fedora's numbering policy. For non-Fedora systems, probably better to make the comparison 'less than or equal'.
tom
\--- compat_kernel.h 2006-11-13 13:06:18.000000000 -0800
\+++ ../../vmmon-only.20/include/compat_kernel.h 2006-12-22 07:02:59.000000000 -0800
@@ -18,7 +18,9 @@
provided by x86-64, arm and other (but not by i386).
*/
#define __NR_compat_exit __NR_exit
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static inline syscall1(int, compatexit, int, exit_code);
+#endif
/*
Message was edited by:
RDPetruska
Used code tags to keep important whitespace in the patch file.
I have the same problem as above...
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2933.fc6-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config7/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config7/vmmon.o': -1 Invalid module format
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
running 2.6.20-1.2933.fc6-i686.
I tried micy suggestion but all those rpm files said already installed. Should I try removing
kernel-devel-2.6.20-1.2933.fc6.i686.rpm
kernel-headers-2.6.20-1.2933.fc6.i386.rpm
gcc-4.1.1-51.fc6
gcc-c++-4.1.1-51.fc6
with YUM first them install using rpm -Uvh file.rpm?
I'm using the vmware-any-any-update109 and VMware-server-1.0.2-39867.tar.gz and I feel ike I'm SO close! Anybody have any suggestions?
BTW, I had followed these instructions:
BTW, I had followed these instructions:
Can you post the output of 'uname -a'
Regards
Martijn
\[root@localhost Towlie]# uname -a
Linux localhost.localdomain 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 10:42:48 EDT 2007 i686 i686 i386 GNU/Linux
I get a similar error:
"make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2933.fc6-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config5/vmmon.o': -1 Invalid module format
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory."
uname -a:
Linux localhost.localdomain 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 10:42:48 EDT 2007 i686 i686 i386 GNU/Linux
dmesg shows:
"vmmon: version magic '2.6.20-1.2933.fc6 SMP mod_unload 686 4KSTACKS ' should be '2.6.20-1.2933.fc6 SMP mod_unload 586 4KSTACKS '
i've installed VMware-workstation-5.5.3-34685.i386.rpm and the error came up while applying vmware-any-any-update109.tar.gz.
I have the following installed:
kernel-2.6.20-1.2933.fc6.586
kernel-devel-2.6.20-1.2933.fc6-i686
kernel-headers-2.6.20-1.2933.fc6-i386
I guess it could be that the kernel-devel package is for the wrong platform, 686 instead of 586. However, when I go to the package manager, I can't see the 586 version, how could I install that one?
Cheers
actually, just answered myself
uninstalled kernel-devel for 686 and I was then able to select the 586 one.
./runme/pl worked fine now :smileygrin:
hmmm,
I'm using kernel-2.6.20-1.2933.fc6.i686 so i don't know if that will work for me. should I try it, though?
Message was edited by:
SideshowMel
Well, that did it, and I got:
The configuration of VMware Server 1.0.2 build-39867 for Linux for this running
kernel completed successfully.
but I still have a problem:
The VMWARE Server Console does not appear under Applications > System Tools. I'm using Gnome. any help?
I have also now confirmed that VMware is properly working.
Thanks for the help.
following patch above now works fine in Fiesty 2.6.20-15,
Hi I am running kubuntu fiesty kernel 2.6.20-15-generic , I have tried installing vmware using thge "any-any-update...etc" file, I made a fresh install of vmware-server version 1.0.3-44356, did not run vmware-config.pl strait away but ran the runme.pl file from the patch the ran vmware-config.pl and got the same old output.
Here is the output from vmware-config.pl
**************************************************
Building the vmmon module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC /tmp/vmware-config4/vmmon-only/linux/driver.o
CC /tmp/vmware-config4/vmmon-only/linux/hostif.o
CC /tmp/vmware-config4/vmmon-only/common/cpuid.o
CC /tmp/vmware-config4/vmmon-only/common/hash.o
CC /tmp/vmware-config4/vmmon-only/common/memtrack.o
CC /tmp/vmware-config4/vmmon-only/common/phystrack.o
CC /tmp/vmware-config4/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[1]: *** \[_module_/tmp/vmware-config4/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** \[vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config4/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.
***************************************************
I also tried the method of commenting out the line in compat-kernel-h file in the vmon.tar archive then ran vmware-config.pl again, same result as above. Although when I tried this I had vmware instaled in my home dir (which I really would like to do for upgrade purposes, I have a working version installed on mepis 6.0). Maybe trying this method again now (as I have the default install) might help?
any suggestions?
Thanks
1. You may encounter different issues with compatibility than mentioned here in the Workstation forum, in a thread about Workstation 5.5.3; compared to your VMware Server 1.0.3.
>gcc: error trying to exec 'cc1plus': execvp: No such file or directory
2. In order to use the vmware-any-any-update patch, you must have the development tools (make), gcc, AND the gcc-c++ packages installed. The above error says you do not have gcc-c++ installed.
Thanks for the tip
well I installed g++4.1 and deps the ran config and discovered I also needed to install xinetd which I did then ran vmware-config.pl and it installed perfectly well I say perfect but so far I have only logged into localhost with vmware server console.
for anyone trying to replicate this bear in mind I initially did a default install then used the "vmware-any-any-update109.tar.gz" hack before running vmware-config.pl
Now I would like to try installing to my home directory!
To add my $.02..
This was also a problem on Fedora with kernel 2613.
The 109 update fixed the issue...
Ok, I give, I give....WHERE IN THE HE11 ARE THE UPDATES!!! Where do I download them from, and please don't give me a riddle, im tired of looking and im very late, so please...
Download Petr's vmware-any-any-update patch from http://platan.vc.cvut.cz/ftp/pub/vmware/
You the vmware-any-any-update113.tar.gz, extract to empty directory or /tmp
cd vmware-any-any-update113
sudo ./runme.pl