| 
 | 
 
FC5 内核问题解决了, 
vmware-any-any-update101 也装了, 但有这一段 : 
 
make: Leaving directory `/tmp/vmware-config1/vmmon-only' 
Unable to make a vmmon module that can be loaded in the running kernel: 
insmod: error inserting '/tmp/vmware-config1/vmmon.o': -1 Invalid module formatThere 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. 
 
该怎么办呢? 
 
下面是详细信息 
 
 
 
 
What is the location of the directory of C header files that match your runningkernel? [/usr/src/kernels/2.6.16-1.2122_FC5-i586/include] 
 
Extracting the sources of the vmmon module. 
 
Building the vmmon module. 
 
Building for VMware Workstation 5.5.x. 
Using 2.6.x kernel build system. 
make: Entering directory `/tmp/vmware-config1/vmmon-only' 
make -C /usr/src/kernels/2.6.16-1.2122_FC5-i586/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules 
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2122_FC5-i586' 
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o 
CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o 
CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o 
CC [M] /tmp/vmware-config1/vmmon-only/common/hash.o 
CC [M] /tmp/vmware-config1/vmmon-only/common/memtrack.o 
CC [M] /tmp/vmware-config1/vmmon-only/common/phystrack.o 
CC [M] /tmp/vmware-config1/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 "-Wdeclaration-after-statement" is valid f or 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 n ot for C++ 
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’: 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState$rsp’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1713: warning: ‘sysenterState$rip’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM_V4(VMDriver*, Vcpuid) [with VMCrossPage = VMCrossPageV4]’: 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rsp’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rip’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]’: 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState$rsp’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState$rip’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageGSX1]’: 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState$rsp’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState$rip’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV3]’: 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState$rsp’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState$rip’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV2]’: 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState$rsp’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState$rip’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMDriver*, Vcpuid)’: 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1522: warning: ‘sysenterState$rsp’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:1523: warning: ‘sysenterState$rip’ is used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rsp’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rip’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$validEIP’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$cs’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rsp’ may be used uninitialized in this function 
/tmp/vmware-config1/vmmon-only/common/task_compat.h:2073: warning: ‘sysenterState$rip’ may be used uninitialized in this function 
CC [M] /tmp/vmware-config1/vmmon-only/common/vmx86.o 
CC [M] /tmp/vmware-config1/vmmon-only/vmcore/compat.o 
CC [M] /tmp/vmware-config1/vmmon-only/vmcore/moduleloop.o 
LD [M] /tmp/vmware-config1/vmmon-only/vmmon.o 
Building modules, stage 2. 
MODPOST 
CC /tmp/vmware-config1/vmmon-only/vmmon.mod.o 
LD [M] /tmp/vmware-config1/vmmon-only/vmmon.ko 
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2122_FC5-i586' 
cp -f vmmon.ko ./../vmmon.o 
make: Leaving directory `/tmp/vmware-config1/vmmon-only' 
Unable to make a vmmon module that can be loaded in the running kernel: 
insmod: error inserting '/tmp/vmware-config1/vmmon.o': -1 Invalid module formatThere 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. 
                       
 
 
          
这是内核相关 
 
[axd@localhost vmware-any-any-update101]$ uname -a 
Linux localhost.localdomain 2.6.16-1.2122_FC5 #1 Sun May 21 15:01:01 EDT 2006 i686 athlon i386 GNU/Linux 
[axd@localhost vmware-any-any-update101]$ rpm -qa|grep kernel 
kernel-devel-2.6.16-1.2122_FC5 
kernel-smp-devel-2.6.16-1.2122_FC5 
yum-kernel-module-0.6-2.fc5 
kernel-debuginfo-2.6.16-1.2122_FC5 
kernel-doc-2.6.16-1.2122_FC5 
kernel-2.6.16-1.2111_FC5 
kernel-2.6.16-1.2122_FC5 |   
 
 
 
 |