VMware Workstation 8.0.1 vs Linux Kernel 3.2.0
Submitted by vmware on Mon, 2011-11-21 02:22
The patch attached to this blog post is needed to successfully run VMware Workstation 8.0.1 on the current Linux kernel 3.2.0-rc2. So, it will be needed for the final 3.2 release, too. If you need instructions how to apply the patch please consult my other blog entries. Have fun!
| Attachment | Size |
|---|---|
| vmware-workstation-8.0.1-linux-kernel-3.2.patch | 3.42 KB |
»
- vmware's blog
- Add new comment
- 15760 reads








Patching the file
i try to run the patch but this is what i get
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN vmnet-orig/compat_netdevice.h vmnet-only/compat_netdevice.h
|--- vmnet-orig/compat_netdevice.h 2011-11-14 07:13:15.000000000 +0100
|+++ vmnet-only/compat_netdevice.h 2011-11-20 23:28:23.000000000 +0100
--------------------------
File to patch:
dosent work with final 3.2 kernel...
any idea?
Patch command was wrong for me.
I used -p0 instead of -p1 in the patch command and then it worked for me.
Works fine for me
Even for Workstation 8.0.3 on 3.2.0-24-generic (Ubuntu 12.04 LTS 64bit)
Followed script someone else echoed below, but with -p0 in the patch command.
Works fine here. I patched
Works fine here. I patched the modules when the kernel was 3.2.0-rc2, and they still compile flawlessly with the final 3.2.0
What is the procedure to
What is the procedure to apply this patch?
Go to the module source
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-8.0.1-kernel-3.2.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
Patch not working on 3.2.0-7 (Ubuntu)
I get this:
root@dharper6:/usr/lib/vmware/modules/source# vmware-modconfig --console --install-allStopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.2.0-7-i5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-7-i5'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/apic.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/comport.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/task.o
CC [M] /tmp/vmware-root/modules/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_AdjustMappings’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:180:4: error: implicit declaration of function ‘iommu_found’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_RegisterDevice’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:415:7: error: too few arguments to function ‘iommu_domain_alloc’
include/linux/iommu.h:68:29: note: declared here
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-7-i5'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon
root@dharper6:/usr/lib/vmware/modules/source# uname -r
3.2.0-7-i5
Thoughts? Ubuntu 11.10 w/ custom kernel.
This works on Ubuntu 12.04
This works on Ubuntu 12.04 Beta 1.
Patch working + Solution (Slackware)
See the solution posted on my blog: http://slackblogs.blogspot.com/2012/01/vmware-workstation-8-and-linux-kernel.html
Huh, can't help you there,
Huh, can't help you there, I'm not running Ubuntu. Obviously they messed with the kernel source.
Your best bet is to search elsewhere for the help, 'cause I'm sure there are other Ubuntu users with the same problem.