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.
    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
#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
#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