UPDATE3: If you are looking for patches for 8.0.2+ and 4.0.2+ you might have a look at this post instead as VMware did several changes to their module sources
UPDATE2: I’ve changed the patch to support the weird versioning in the fedora kernels.
UPDATE: I’ve added in the list of supported versions 8.0.1 and 4.0.1 for vmware player, so the script will run with no modifications but remember that when vmware releases a new minor most probably changing the version at the top of the script (or applying the patch manually) will work fine.
New kernel version new issues.
This time can’t blame vmware a lot as some changes were a bit unannounced but I’m not expecting a fix for a long while even after the final release of 3.2.
Anyway this time it was a bit weird iommu api change which changed the iommu_found() to iommu_present(..) with an argument which is a global constant (that’s why it’s weird, maybe the point is making a transition to something more flexible in the future) and the same thing, but without name change, for iommu_domain_alloc(). As a side note this little change can fix also virtualbox builds, which are broken too for the same exact reason. I’m sure they will fix it soon themselves so there is no need of a specific patch, but you could just copy this piece near the top of the file failing to build to fix it:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
#define iommu_found() iommu_present(&pci_bus_type)
#define iommu_domain_alloc() iommu_domain_alloc(&pci_bus_type)
The others, instead are specific only to vmware modules: still the network one from the 3.1 patch, some change to the placement of macros for modules, a removed entry in the net device struct and finally something which was described, by who did the change to the kernel, as a way to force people to use an api to access some data (instead of direct access).
You can find the package with the patch and the classic script attached to this post.
For 3.x/7.5.x users probably the patch is similar (provided the 2.6.39 one is applied) but I don’t have the sources right now to compare.
A last remind: you need to apply this to clean sources, so not to patched sources with the linux 3.1 fix (else just remove the part which was patched in 3.1 from this patch).
- vmware workstation 8 / player 4 linux 3.2 fix
Fix for vmware workstation 8 modules or vmware player 4 for use on linux 3.2 hosts