分页: 1 / 2

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

发表于 : 2008-04-04 15:27
wOOL
相关出错信息

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

Oh, I find the answer

发表于 : 2008-04-04 17:09
wOOL
sudo su
echo 134217728 > /proc/sys/kernel/shmmax

The Unity Mode is so slow ...............

发表于 : 2008-04-04 18:36
czk
VM communication interface socket family: failed

这个错误只要把源代码中的某一行注释了就可以了。现在忘记是哪一行了,我已经卸载了

发表于 : 2008-04-04 18:37
czk
我把显示设置中的3d加速关了,unity就可以了

发表于 : 2008-04-05 13:10
jova
我的Unity也不行,还什么提示都没有就是启动的时候出现一个黄色的三角形就跳过去了。

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

发表于 : 2008-04-08 9:50
jakeboy
同样毛病,已经把vmware6.5卸载了,不用了

发表于 : 2008-04-13 9:05
HiugongGwok
慢是因为vmware 6.5 beta运行在debug模式下,而且不允许关闭。
VMCI也是禁用的,这点在release note里面有提到。
但有一个简单的方法可以绕过限制,就是把vmware-vmx-debug.exe和vmware-vmx.exe对调一下。
这样不但速度快很多,而且顺便连VMCI问题也一起解决了。

发表于 : 2008-04-13 19:19
wsxsgy
运行 sudo vmware-config.pl --compil.

发表于 : 2008-05-04 14:48
relaxssl
HiugongGwok 写了:慢是因为vmware 6.5 beta运行在debug模式下,而且不允许关闭。
VMCI也是禁用的,这点在release note里面有提到。
但有一个简单的方法可以绕过限制,就是把vmware-vmx-debug.exe和vmware-vmx.exe对调一下。
这样不但速度快很多,而且顺便连VMCI问题也一起解决了。
能否详细说明一下呢?在ubuntu下如何来的.exe文件?

发表于 : 2008-05-04 14:48
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:~$

发表于 : 2008-05-31 12:58
nomove
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权限.

发表于 : 2008-05-31 13:00
nomove
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:~$
这个命令好象是要编译源代码的

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

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