Posts Tagged ‘vmware player’

How-to Install VMware Player / Workstation on 2.6.25 Kernel

Wednesday, May 7th, 2008

Update: Looking for 2.6.26 howto – here you go !

After the successful How-to install VMware Player and Workstation on 2.6.24 Linux kernel and with 2.6.25 up and running on my Debian Unstable (Sid) I had no option but to update the procedure.

  1. Download latest and greatest products from VMware
  2. Install and patch as described in the previous post (use vmware-any-any-update-116.tgz)
  3. Download the vmware-any-any-update-117-very-ALPHA.tgz
  4. Extract the archive in /usr/lib/vmware/modules/source (or wherever are yours vmblock.tar, vmmon.tar, vmnet.tar)
  5. Run vmware-2.6.25.sh and then vmware-config.pl
  6. If compiles – have fun, if not drop me a line πŸ™‚

Important notes:

  1. The original author of the patches is 6xx I have modified the vmmon.patch since otherwise I was getting the error at the bottom of the article. The original patches can be found here
  2. vmware-2.6.25.sh is a very dumb script – read it carefully before executing. It will be even better to paste the commands one by one
  3. This any-any patch has nothing to do with the original any-any patches by Petr therefor I do not want to take the credit for it. All I’m trying to achieve is to gather the Linux VMware community here and share ideas. If someone wants to help and make the patches more unified and smarter just drop me a mail (can be found on the home page)
  4. I take no responsibility for any problems or damage that may
    occur as a result of using any of the information contained in this article.
    Use the information at your own risk πŸ˜‰

Error log:

include/asm/page.h: In function β€˜pte_t native_make_pte(pteval_t)’:
include/asm/page.h:128: error: expected primary-expression before β€˜)’ token
include/asm/page.h:128: error: expected β€˜;’ before β€˜{’ token
include/asm/page.h:128: error: expected primary-expression before β€˜.’ token
include/asm/page.h:128: error: expected `;' before β€˜}’ token
include/asm/paravirt.h: In function β€˜pte_t __pte(pteval_t)’:
include/asm/paravirt.h:955: error: expected primary-expression before β€˜)’ token
include/asm/paravirt.h:955: error: expected β€˜;’ before β€˜{’ token
include/asm/paravirt.h:955: error: expected primary-expression before β€˜.’ token
include/asm/paravirt.h:955: error: expected `;' before β€˜}’ token
include/asm/paravirt.h: In function β€˜void pmd_clear(pmd_t*)’:
include/asm/paravirt.h:1171: warning: missing braces around initializer for β€˜pud_t’
include/asm/paravirt.h:1171: warning: missing braces around initializer for β€˜pgd_t’
include/asm/paravirt.h:1171: error: cannot convert β€˜pud_t’ to β€˜pgdval_t’ in initialization
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-1-686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.