Shell's Home

Apr 20, 2011 - 1 minute read - Comments

vmware-workstation 7.1.2 source for linux-image 2.6.38

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://blog.shell909090.org/vmware-source.tar.gz
    http://blog.shell909090.org/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