[Ubuntu 8.04]VMware 6.5不能加载VMCI 不能使用Unity

Kvm、VMware、Virtualbox、Xen、Qemu 等
wOOL
帖子: 79
注册时间: 2007-08-21 14:02

[Ubuntu 8.04]VMware 6.5不能加载VMCI 不能使用Unity

#1

帖子 wOOL » 2008-04-04 15:27

相关出错信息

filename: /lib/modules/2.6.24-12-generic/misc/vmci.ko
description: VMware Virtual Machine Communication Interface (VMCI).
author: VMware, Inc.
srcversion: FD14186FA488E3B3704D7DC
depends:
vermagic: 2.6.24-12-generic SMP mod_unload 586
modinfo: could not find module vsock



filename: /lib/modules/2.6.24-12-generic/misc/vmci.ko
description: VMware Virtual Machine Communication Interface (VMCI).
author: VMware, Inc.
srcversion: FD14186FA488E3B3704D7DC
depends:
vermagic: 2.6.24-12-generic SMP mod_unload 586
modinfo: could not find module vsock

VM communication interface socket family: failed


filename: /lib/modules/2.6.24-12-generic/misc/vmci.ko
description: VMware Virtual Machine Communication Interface (VMCI).
author: VMware, Inc.
srcversion: FD14186FA488E3B3704D7DC
depends:
vermagic: 2.6.24-12-generic SMP mod_unload 586
modinfo: could not find module vsock
wOOL
帖子: 79
注册时间: 2007-08-21 14:02

Oh, I find the answer

#2

帖子 wOOL » 2008-04-04 17:09

sudo su
echo 134217728 > /proc/sys/kernel/shmmax

The Unity Mode is so slow ...............
czk
帖子: 232
注册时间: 2006-10-08 22:20

#3

帖子 czk » 2008-04-04 18:36

VM communication interface socket family: failed

这个错误只要把源代码中的某一行注释了就可以了。现在忘记是哪一行了,我已经卸载了
czk
帖子: 232
注册时间: 2006-10-08 22:20

#4

帖子 czk » 2008-04-04 18:37

我把显示设置中的3d加速关了,unity就可以了
jova
帖子: 230
注册时间: 2007-11-16 15:24

#5

帖子 jova » 2008-04-05 13:10

我的Unity也不行,还什么提示都没有就是启动的时候出现一个黄色的三角形就跳过去了。
azm_1981
帖子: 119
注册时间: 2007-10-06 21:37

#6

帖子 azm_1981 » 2008-04-08 1:26

czk 写了:我把显示设置中的3d加速关了,unity就可以了
我的也是这样解决的,不过效果很不好,拉动窗口整个屏幕都会动
另外;你们的6.5是不是每次打开都会有个提示要安装东西,其中一项vmci是个黄色三角形
感觉启动很满,比正常windows xp要慢一倍多,而且什么都没用启动,包括杀毒软件
jakeboy
帖子: 50
注册时间: 2006-06-20 16:37

#7

帖子 jakeboy » 2008-04-08 9:50

同样毛病,已经把vmware6.5卸载了,不用了
HiugongGwok
帖子: 1
注册时间: 2007-12-09 16:44

#8

帖子 HiugongGwok » 2008-04-13 9:05

慢是因为vmware 6.5 beta运行在debug模式下,而且不允许关闭。
VMCI也是禁用的,这点在release note里面有提到。
但有一个简单的方法可以绕过限制,就是把vmware-vmx-debug.exe和vmware-vmx.exe对调一下。
这样不但速度快很多,而且顺便连VMCI问题也一起解决了。
wsxsgy
帖子: 11
注册时间: 2006-01-11 10:26

#9

帖子 wsxsgy » 2008-04-13 19:19

运行 sudo vmware-config.pl --compil.
头像
relaxssl
帖子: 1448
注册时间: 2007-01-30 7:13

#10

帖子 relaxssl » 2008-05-04 14:48

HiugongGwok 写了:慢是因为vmware 6.5 beta运行在debug模式下,而且不允许关闭。
VMCI也是禁用的,这点在release note里面有提到。
但有一个简单的方法可以绕过限制,就是把vmware-vmx-debug.exe和vmware-vmx.exe对调一下。
这样不但速度快很多,而且顺便连VMCI问题也一起解决了。
能否详细说明一下呢?在ubuntu下如何来的.exe文件?
上次由 relaxssl 在 2008-05-04 14:58,总共编辑 1 次。
头像
relaxssl
帖子: 1448
注册时间: 2007-01-30 7:13

#11

帖子 relaxssl » 2008-05-04 14:48

wsxsgy 写了:运行 sudo vmware-config.pl --compil.
这个可行? 命令表示什么意思呢,是不是说让它在兼容模式下运行?经过测试,这条命令并不能解决问题,仍旧提示VMCI Socket的感叹。
linux@linux-desktop:~$ sudo vmware-config.pl --compil
[sudo] password for linux:
Use of uninitialized value in concatenation (.) or string at /usr/bin/vmware-config.pl line 2090.
VMware Workstation e.x.p build-84113 for configurator
Usage: /usr/bin/vmware-config.pl [[-][-]d[efault]] [[-][-]c[ompile]]
[[-][-]p[rebuilt]] [[-][-]t[ry-modules]] [[-][-]p[reserve]]
[[-][-]o[verwrite][[-][-]m[odules-only]] [[-][-]k[ernel-version] version]
. default: Automatically answer questions with the proposed answer.
. compile: Force the compilation of kernel modules.
. prebuilt: Force the use of pre-built kernel modules.
. try-modules: Try to load all the compatible modules . preserve: Always
preserve user-modified configuration files.
. overwrite: Always overwrite user-modified configuration files.from the VMware
Workstation package.
. modules-only: Only build/install kernel modules, skip all other configuration
steps.
. kernel-version: Build/install modules for the given kernel version instead of
the running one, implies modules-only, skip-stop-start and compile.

Command line arguments: The acceptable characters are:
the letters A, B, C, ...,
the letters a, b, c, ...,
the numbers 0, 1, 2, ...,
and the special characters '_' and '-' and '='.
linux@linux-desktop:~$
nomove
帖子: 58
注册时间: 2008-04-13 13:13

#12

帖子 nomove » 2008-05-31 12:58

czk 写了:VM communication interface socket family: failed

这个错误只要把源代码中的某一行注释了就可以了。现在忘记是哪一行了,我已经卸载了
这位仁兄说的对, 这个error是因为Ubuntu 8.04 "hardy"的2.24kernel太新,6.5不知道如何编译自己的vsockets.
所以 应该
$ tar xf /usr/lib/vmware/modules/source/vsock.tar
解压vsock的code
进入解压好的文件夹
$ cd vsock-only
然后把所有c源代码里的
#include <linux/autoconf.h>去掉
可以手动
也可以用
$ sed -i 's/^\#include <linux\/autoconf\.h>//' autoconf/*.c

autoconf文件可以告诉vmware哪一些服务可用
下一步编译
$ make
最后复制.o文件复制到vmware的启动文件里
$ sudo cp vsock.o /lib/modules/$(uname -r)/misc
$ sudo ln -s vsock.o /lib/modules/$(uname -r)/misc/vsock.ko
$ sudo depmod -a
然后关掉vmware 重新打开,问题应该解决了,速度嗷嗷快!
不过这个方法并没有解决问题,如果你用命令行模式启动那个服务还是failed
但是如果通过图形界面启动就没有问题提示了
最关键的好处是,当那个错误存在的时候为了编译它,vmware会问你要root密码,这是很危险的(vmware官方警告说无论如何不要用root启动,可能伤害你的host)。所以只要不需要编译了,你每次开的时候就不需要root权限.
nomove
帖子: 58
注册时间: 2008-04-13 13:13

#13

帖子 nomove » 2008-05-31 13:00

relaxssl 写了:
wsxsgy 写了:运行 sudo vmware-config.pl --compil.
这个可行? 命令表示什么意思呢,是不是说让它在兼容模式下运行?经过测试,这条命令并不能解决问题,仍旧提示VMCI Socket的感叹。
linux@linux-desktop:~$ sudo vmware-config.pl --compil
[sudo] password for linux:
Use of uninitialized value in concatenation (.) or string at /usr/bin/vmware-config.pl line 2090.
VMware Workstation e.x.p build-84113 for configurator
Usage: /usr/bin/vmware-config.pl [[-][-]d[efault]] [[-][-]c[ompile]]
[[-][-]p[rebuilt]] [[-][-]t[ry-modules]] [[-][-]p[reserve]]
[[-][-]o[verwrite][[-][-]m[odules-only]] [[-][-]k[ernel-version] version]
. default: Automatically answer questions with the proposed answer.
. compile: Force the compilation of kernel modules.
. prebuilt: Force the use of pre-built kernel modules.
. try-modules: Try to load all the compatible modules . preserve: Always
preserve user-modified configuration files.
. overwrite: Always overwrite user-modified configuration files.from the VMware
Workstation package.
. modules-only: Only build/install kernel modules, skip all other configuration
steps.
. kernel-version: Build/install modules for the given kernel version instead of
the running one, implies modules-only, skip-stop-start and compile.

Command line arguments: The acceptable characters are:
the letters A, B, C, ...,
the letters a, b, c, ...,
the numbers 0, 1, 2, ...,
and the special characters '_' and '-' and '='.
linux@linux-desktop:~$
这个命令好象是要编译源代码的
nomove
帖子: 58
注册时间: 2008-04-13 13:13

#14

帖子 nomove » 2008-05-31 13:04

azm_1981 写了:
czk 写了:我把显示设置中的3d加速关了,unity就可以了
我的也是这样解决的,不过效果很不好,拉动窗口整个屏幕都会动
另外;你们的6.5是不是每次打开都会有个提示要安装东西,其中一项vmci是个黄色三角形
感觉启动很满,比正常windows xp要慢一倍多,而且什么都没用启动,包括杀毒软件
unity好象是新技术,个人感觉还不是很好用,我发的方法可以解决那个黄色三角
sheji
帖子: 431
注册时间: 2008-04-30 21:40

#15

帖子 sheji » 2008-07-05 19:51

HiugongGwok 写了:慢是因为vmware 6.5 beta运行在debug模式下,而且不允许关闭。
VMCI也是禁用的,这点在release note里面有提到。
但有一个简单的方法可以绕过限制,就是把vmware-vmx-debug.exe和vmware-vmx.exe对调一下。
这样不但速度快很多,而且顺便连VMCI问题也一起解决了。
听起来很有道理,我已经按你的办法改过来了。等时间进入那个系统再试试。
回复