更新内核后无法vm删除后也无法安装

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
flyinglake
帖子: 12
注册时间: 2008-03-14 18:05
送出感谢: 0
接收感谢: 0

更新内核后无法vm删除后也无法安装

#1

帖子 flyinglake » 2008-04-10 16:38

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.24-15-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.24-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-15-generic'
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/comport.o
CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o
在包含自 include/asm/bitops.h:2 的文件中,
从 /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
从 /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
从 /tmp/vmware-config1/vmmon-only/common/vmx86.h:18,
从 /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
从 /tmp/vmware-config1/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: 错误: #error only <linux/bitops.h> can be included directly
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/cpuid.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-15-generic'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config1/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.html".

Execution aborted.

上面是出错的输入
安装vm 或者play都报这个错,求教解决方案
头像
Element
论坛版主
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China
送出感谢: 0
接收感谢: 0

#2

帖子 Element » 2008-04-11 16:57

卸载.
在vmware-distrib文件夹下的bin里,有个vmware-uninstall.pl.

代码:
cd /vmware-distrib
sudo ./vmware-uninstall.pl
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
头像
Element
论坛版主
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China
送出感谢: 0
接收感谢: 0

#3

帖子 Element » 2008-04-11 16:57

http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
回复

回到 “虚拟机和虚拟化”