六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 125|回复: 0

VMware Workstation 7.1.3 runs great on Linux kernel 2.6.37

[复制链接]

升级  20%

2

主题

2

主题

2

主题

童生

Rank: 1

积分
10
 楼主| 发表于 2013-2-4 15:27:42 | 显示全部楼层 |阅读模式
转自:http://www.linuxinsight.com/vmware-workstation-7.1.3-runs-great-on-linux-kernel-2.6.37.html
Of course, only after you patch the installation. :) I can't remember when was the last time Workstation run without patching, that was really long long time ago. Maybe it's Linus' fault, he moves too fast, who can tell... :)
Also, you won't be able to compile and run the 2.6.37 kernel with the legacy BKL (Big Kernel Lock) disabled, Workstation still depends on lock_kernel() and unlock_kernel() primitives. Let's hope VMware fixes that in their next revision.
Anyway... the patch is relatively small this time, but many files had to be patched for the modules to compile properly, so I propose a slightly different methodology for patching.
Go to the module source directory and untar all archives:

cd /usr/lib/vmware/modules/source
for file in *
do
tar xvf $file
done

Apply the patch:

patch -p1 < /path/to/vmware-workstation-7.1.3-kernel-2.6.37.patch

Pack all archives once again, and get rid of the unpacked directories:

for file in *-only
do
tar cvf `basename $file -only`.tar $file
done
rm -rf *-only

Now you can rebuild and load modules:

vmware-modconfig --console --install-all

After that, Workstation runs fast and trouble free as usual. Have fun!
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

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