VMware Workstation 7.1.3 runs great on Linux kernel 2.6.37

本文介绍如何通过打补丁的方式让 VMware Workstation 7.1.3 在 Linux Kernel 2.6.37 上正常运行。文中提供了具体的步骤,包括解压文件、应用补丁、重新打包及模块重建等,最终实现 Workstation 的快速稳定运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转自: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!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值