QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2179|回复: 2

求助,在2.6.16-1.2122_FC5上装vmware

[复制链接]
发表于 2006-5-25 20:58:20 | 显示全部楼层 |阅读模式
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
发表于 2006-7-2 20:22:38 | 显示全部楼层
同问
我在fc5上也没装成功vmware
楼主问题解决了吗
回复

使用道具 举报

发表于 2008-3-2 10:07:51 | 显示全部楼层

没人知道么?

我在SUSE10.3也是阿!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-19 21:07 , Processed in 0.087783 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表