There is one problem though, VMWare 7.1.x releases (the latest at the time of this writing) are incompatible with 2.6.36[.x] kernel series. In order to run correctly VMWare products compile a few kernel modules that they use upon first startup. The process normally works without a problem if you are using a stock kernel from your distribution but may fail if you have a different kernel (my case). The error you get is:
"Unable to build kernel module.
See log file /tmp/vmware-root/setup-NNNNN.log for details"
Fear not as there is a patch out there for solving exactly this problem. Here is what you need to do.
1. Download the patch from
3. Extract the sources:
tar xf vmblock.tar; tar xf vmci.tar; tar xf vmmon.tar; tar xf vmnet.tar; tar xf vsock.tar
4. Apply the patch:
patch -N -p1 < vmware-7.1-2.6.36-generic.patch
5. Compress the archives again:
tar cf vmblock.tar vmblock-only; tar cf vmci.tar vmci-only; tar cf vmmon.tar vmmon-only; tar cf vmnet.tar vmnet-only; tar cf vsock.tar vsock-only;
6. Now just start your VMWare product and it should compile the modules without any problems. You can also compile and install the modules from the command line using the command:
vmware-modconfig --console --install-all
Many thanks to Ad0@#vmware [freenode] & archangelamael, balding_parrot, pure_hate@#backtrack-linux[freenode] for their help, tips and guidance.
1 comment:
The patching does not go very well:
ource # patch -N -p1 < vmware-7.1-2.6.36-generic.patch
patching file vmmon-only/linux/driver.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file vmmon-only/linux/driver.c.rej
patching file vmmon-only/linux/iommu.c
Hunk #1 FAILED at 148.
Hunk #2 FAILED at 395.
2 out of 2 hunks FAILED -- saving rejects to file vmmon-only/linux/iommu.c.rej
patching file vsock-only/linux/af_vsock.c
Hunk #1 FAILED at 3225.
Hunk #2 FAILED at 3248.
Hunk #3 FAILED at 3320.
Hunk #4 FAILED at 3370.
Hunk #5 FAILED at 3468.
Hunk #6 FAILED at 4108.
Hunk #7 FAILED at 4145.
Hunk #8 FAILED at 4198.
Hunk #9 FAILED at 4432.
Hunk #10 FAILED at 4472.
Hunk #11 FAILED at 4538.
11 out of 11 hunks FAILED -- saving rejects to file vsock-only/linux/af_vsock.c.rej
any comments?
Post a Comment