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 |
---|---|
![]() | 3.42 KB |
Comments
Anonymous (not verified)
Thu, 2012-01-05 17:12
Permalink
What is the procedure to
What is the procedure to apply this patch?
vmware
Thu, 2012-01-05 17:17
Permalink
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
Don (not verified)
Fri, 2012-01-06 20:30
Permalink
Patch not working on 3.2.0-7 (Ubuntu)
I get this:
root@dharper6:/usr/lib/vmware/modules/source# vmware-modconfig --console --install-all
Stopping 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.
vmware
Fri, 2012-01-06 20:56
Permalink
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.
Willy Sudiarto ... (not verified)
Mon, 2012-01-09 16:09
Permalink
Patch working + Solution (Slackware)
See the solution posted on my blog: http://slackblogs.blogspot.com/2012/01/vmware-workstation-8-and-linux-kernel.html
Anonymous (not verified)
Wed, 2012-03-07 03:34
Permalink
This works on Ubuntu 12.04
This works on Ubuntu 12.04 Beta 1.
Anonymous (not verified)
Fri, 2012-01-06 11:32
Permalink
dosent work with final 3.2 kernel...
any idea?
vmware
Fri, 2012-01-06 13:57
Permalink
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
Cianer (not verified)
Fri, 2012-03-16 16:44
Permalink
Patch command was wrong for me.
I used -p0 instead of -p1 in the patch command and then it worked for me.
Anonymous (not verified)
Tue, 2012-05-08 02:49
Permalink
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.
Anonymous (not verified)
Sat, 2012-03-10 15:43
Permalink
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: