VMWARE 7.14 ON LINUX KERNEL >=2.6.39 安装问题解决
来源:互联网 发布:betternet for mac 编辑:程序博客网 时间:2024/06/03 21:27
自己编译新的内核后安装完毕vmware 7.1.4后启动编译模块的时候提示如下错误
Logging to /tmp/vmware-root/setup-3155.log
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.39/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-2.6.39'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:783:59: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.39'
make: *** [vmmon.ko] Error 2
解决方法:
Linux Kernel2.6.39正式版已经发布好几天了,翅膀也自己编译了下,在Natty上运行的很好~唯一的问题就是VMware 7.14不能用了,创建模块的时候会提示Unable to build kernel module,由于VMware官方还没有发布新版来解决这个问题,所以我们只能自己动手,从kernel的方面来搞定啦~
下面是补丁的地址,点击这里下载patch
以下是patch的使用方法:
(因为之后的操作需要root权限,所以先切到root用户比较方便)
1.进入模块源码所在的文件夹,解压所有tar档案
2.应用patch(这里patch_path为patch文件所在的路径)
3.重新打包
4.重新创建并读取模块
好了,问题解决了
输入命令vmware
编译模块,成功。
- VMWARE 7.14 ON LINUX KERNEL >=2.6.39 安装问题解决
- 安装VMware tools on linux
- linux安装vmware tools 找不到kernel路径
- linux安装vmware出现kernel-header问题
- Linux打开VMWare无法找到kernel header path的问题解决
- vmware kernel module updata 问题解决
- Vmware Tools for Linux 安装失败问题解决
- vmware workstation 5.5.3在linux 2.6.21.1 kernel下安装错误
- qemu linux kernel & vmware linux kernel
- VMware安装问题解决记录
- vmware 安装win2008问题解决
- vmware linux kernel driver config
- vmware tools for linux 在ubuntu10.10中安装问题解决
- vmware 安装出现的linux-headers问题解决办法
- Linux kernel panic问题解决方法
- Linux kernel panic问题解决方法
- Linux kernel panic问题解决方法
- Linux kernel panic问题解决方法
- php调用外部命令函数system,exec,passthru的区别和用法详解
- 重装系统后,导入的某个程序在eclipse中显示方框乱码,而记事本中打开正常
- Thread Local Storage
- C# 中回车键后移到右边单元格
- Hadoop MapReduce中如何处理跨行Block和UnputSplit
- VMWARE 7.14 ON LINUX KERNEL >=2.6.39 安装问题解决
- webos开卖在2011年7月1日
- 如何安装Node.js
- android database SQL language
- java中Socket网络编程
- 关于进一步加强学校安全保卫工作的意见
- 也玩Oracle物化视图
- Apache Ant安装和配置
- StringHolder类使用