PDA

View Full Version : vmware and kernel 2.6.22.2-42.fc6-i386



castryon
4th September 2007, 10:19 PM
I'm trying to get vmware server 1.0.3 installed, but I'm not having any luck.

uname -r && rpm -qa | grep kernel-devel
2.6.22.2-42.fc6
kernel-devel-2.6.22.2-42.fc6

I dl's and installed VMware-server-1.0.3-44356.i386.rpm

Once done, I dl'd vmware-any-any-update113.tar.gz and ./runme.pl

It looks as though it's going to work, then... poof.. doesn't. Anyone have any suggestions?

This is what I get:
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config9/vmmon-only'
make -C /usr/src/kernels/2.6.22.2-42.fc6-i686/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
CC [M] /tmp/vmware-config9/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config9/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config9/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config9/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config9/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config9/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config9/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config9/vmmon-only/common/task.o
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++
/tmp/vmware-config9/vmmon-only/common/task_compat.h: In function ‚int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]‚:
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2491: warning: ‚sysenterState.SysenterStateV45::rsp‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2492: warning: ‚sysenterState.SysenterStateV45::rip‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h: In function ‚int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV3]‚:
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2491: warning: ‚sysenterState.SysenterStateV45::rsp‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2492: warning: ‚sysenterState.SysenterStateV45::rip‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h: In function ‚int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageGSX1]‚:
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2491: warning: ‚sysenterState.SysenterStateV45::rsp‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2492: warning: ‚sysenterState.SysenterStateV45::rip‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h: In function ‚int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV2]‚:
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2491: warning: ‚sysenterState.SysenterStateV45::rsp‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2492: warning: ‚sysenterState.SysenterStateV45::rip‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h: In function ‚int Vmx86_RunVM_V4(VMDriver*, Vcpuid) [with VMCrossPage = VMCrossPageV4]‚:
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::rsp‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::rip‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h: In function ‚int Vmx86_RunVM(VMDriver*, Vcpuid)‚:
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2491: warning: ‚sysenterState.SysenterStateV45::rsp‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2492: warning: ‚sysenterState.SysenterStateV45::rip‚ is used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::rsp‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::rip‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::rsp‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:3028: warning: ‚sysenterState.SysenterStateV45::rip‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h: In function ‚void Task_Switch_V45(VMDriver*, Vcpuid)‚:
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2666: warning: ‚sysenterState.SysenterStateV45::validEIP‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2666: warning: ‚sysenterState.SysenterStateV45::cs‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2666: warning: ‚sysenterState.SysenterStateV45::rsp‚ may be used uninitialized in this function
/tmp/vmware-config9/vmmon-only/common/task_compat.h:2666: warning: ‚sysenterState.SysenterStateV45::rip‚ may be used uninitialized in this function
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciContext.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciDatagram.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciDriver.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciDs.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciGroup.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciHashtable.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciProcess.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciResource.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmciSharedMem.o
CC [M] /tmp/vmware-config9/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config9/vmmon-only/vmcore/compat.o
CC [M] /tmp/vmware-config9/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config9/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config9/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config9/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.2-42.fc6-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config9/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config9/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.

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.

castryon
9th September 2007, 08:26 PM
Bump

Anyone see this before?

bkochis
23rd September 2007, 08:40 PM
I have exactly the same problem, I am looking around. Did you download from the rpm or the tar file. I used the rpm.

scottro
24th September 2007, 12:00 AM
Either way, you will probably have to install the vmware-any-any-update<latest version> each time the kernel gets upgraded, e.g., after upgrading with yum update from http://knihovny.cvut.cz/ftp/pub/vmware/

Decompress and untar it--at time of writing, latest version is 113


tar xvfz vmware-any-any-update113.tar.gz
cd vmware-any-any-update113
./runme.pl

Which should take you through that config script again.

bkochis
24th September 2007, 04:52 PM
Either way, you will probably have to install the vmware-any-any-update<latest version> each time the kernel gets upgraded, e.g., after upgrading with yum update from http://knihovny.cvut.cz/ftp/pub/vmware/

Decompress and untar it--at time of writing, latest version is 113


tar xvfz vmware-any-any-update113.tar.gz
cd vmware-any-any-update113
./runme.pl

Which should take you through that config script again.

I had tried this already and still get the same error. Along with about 30 warnings that look like this:
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
/tmp/vmware-config6/vmmon-only/common/task_compat.h: In function Ďint Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]í:
I am running an AMD dual core processor on an ASUS motherboard.
Appreciate the help.
Thanks, Bob

markkuk
24th September 2007, 09:57 PM
VMware server 1.0.4 was released a few days ago. It installs and works in my F7 x86_64 without any problems and no need for patches. Try updating your VMware.