I'm running a vmware-workstation under debian testing. Last week I update kernel from 2.6.32 to 2.6.38, then vmware don't work.
Searching for patch with kernel modules, finally I got those.
http://shell909090.com/vmware-source.tar.gz
http://shell909090.com/vmware-7.1.2-2.6.38-1-generic.patch.gz
Source is tested under debian testing, but should work for all dist which use 2.6.38 as kernel. Patch is not tested.
Here is how to make it.
#cd /usr/lib/vmware/modules/source
#for file in *; do tar xvf $file; done
#wget http://mib.pianetalinux.org/MIB/2010.1/others/vmware/vmware-7.1.3-2.6.38-1-generic.patch
#patch -p1 < vmware-7.1.3-2.6.38-1-generic.patch
#vi vmmon-only/linux/iommu.c
//replace iommu_map_range with iommu_map and replace iommu_unmap_range with iommu_unmap
#wget http://communities.vmware.com/servlet/JiveServlet/download/1553530-39785/vmware-7.1-2.6.35-3-generic.patch
#patch -p1 < vmware-7.1-2.6.35-3-generic.patch
// dont assume
#for file in *-only; do tar cvf `basename $file -only`.tar $file; done
#rm -rf *-only
#vmware-modconfig --console --install-all
reference:
[1]. vmware 编译失败的问题 http://jasy.ice.blog.163.com/blog/static/8843073020109531326556/
没有评论:
发表评论