VMware

This Question is Answered

2 "helpful" answers available (6 pts)
12 Replies Last post: Jan 29, 2008 1:03 AM by Fintan29  

VMware player with kernel 2.6.24-4 posted: Jan 22, 2008 8:01 AM

Click to view Fintan29's profile Novice 26 posts since
Jan 14, 2007
Hello all, I just tried to install player 2.0.2 on Kubuntu Hardy and it seems that it is not compatable with the kernel:

kernel 2.6.24-4.

Any ideas?

Cheers


Fintan

Re: VMware player with kernel 2.6.24-4

1. Jan 22, 2008 4:36 AM in response to: Fintan29
Click to view johnwheaton2's profile Enthusiast 26 posts since
Aug 18, 2006

Have you tried the any-any patch?

http://platan.vc.cvut.cz/ftp/pub/vmware/

That has fixed issues with other kernels in the past.

Re: VMware player with kernel 2.6.24-4

3. Jan 24, 2008 1:50 PM in response to: Fintan29
Click to view johnwheaton2's profile Enthusiast 26 posts since
Aug 18, 2006
I'm not sure at this point. I thought of it because it worked for others.

Re: VMware player with kernel 2.6.24-4

4. Jan 25, 2008 12:44 AM in response to: Fintan29
Click to view PJN's profile Hot Shot 133 posts since
Nov 23, 2007

Have you checked out skrodahl's recent post? http://communities.vmware.com/message/831906#831906


Re: VMware player with kernel 2.6.24-4

6. Jan 25, 2008 1:05 PM in response to: Fintan29
Click to view asmodis's profile Lurker 2 posts since
Jan 25, 2008
I've tried the any-any patch, too, but it only made things worse, so I developed a simple patch for the vmmon module, which is the only broken thing. Unpack the vmmon.tar (I have it installed as /usr/local/lib/vmware/modules/source/vmmon.tar) somewhere; you'll get the vmmon-only directory containing the sources for the kernel vmmon module. Now patch the sources with the attached patch:

patch -p0 <vmmon-2.6.24.patch

Next, tar the vmmon-only directory back together again into the vmmon.tar archive and place it back in place of the original (my installation has it in /usr/local/lib/vmware/modules/source directory). Run vmware-config.pl to rebuild the modules, and you're done.
I developed and tested this on an i386 system with kernel 2.6.24-rc7 and vmware player 2.0.2. Builds and runs perfectly. There shouldn't be any problems with the today released 2.6.24, although I haven't tried it yet.

The usual warnings apply: it works for me, your mileage may vary, use it at your own risk, I will not be responsible if you blow up your house, etc.
Attachments:

Re: VMware player with kernel 2.6.24-4

8. Jan 26, 2008 1:33 AM in response to: Fintan29
Click to view asmodis's profile Lurker 2 posts since
Jan 25, 2008
Let's create the /tmp/work directory and unpack the vmmon.tar there:
aless@nermal:~$ mkdir /tmp/work
aless@nermal:~$ cd /tmp/work
aless@nermal:/tmp/work$ tar xvf /usr/local/lib/vmware/modules/source/vmmon.tar
vmmon-only/
vmmon-only/linux/
vmmon-only/linux/driver.h
vmmon-only/linux/driver.c
vmmon-only/linux/hostif.c
vmmon-only/linux/vmmonInt.h
vmmon-only/linux/vmhost.h
vmmon-only/common/
vmmon-only/common/memtrack.c
vmmon-only/common/memtrack.h
vmmon-only/common/comport.c
vmmon-only/common/task.c
vmmon-only/common/task.h
vmmon-only/common/vmx86.c
vmmon-only/common/vmx86.h
vmmon-only/common/hostif.h
vmmon-only/common/hostKernel.h
vmmon-only/common/phystrack.c
vmmon-only/common/phystrack.h
vmmon-only/common/cpuid.c
vmmon-only/common/cpuid.h
vmmon-only/common/hash.c
vmmon-only/common/vmciContext.h
vmmon-only/common/vmciCommonInt.h
vmmon-only/common/vmciContext.c
vmmon-only/common/vmciDriver.h
vmmon-only/common/vmciDriver.c
vmmon-only/common/vmciDsInt.h
vmmon-only/common/vmciDs.c
vmmon-only/common/vmciDatagram.h
vmmon-only/common/vmciDatagram.c
vmmon-only/common/vmciGroup.h
vmmon-only/common/vmciGroup.c
vmmon-only/common/vmciHashtable.h
vmmon-only/common/vmciHashtable.c
vmmon-only/common/vmciProcess.h
vmmon-only/common/vmciProcess.c
vmmon-only/common/vmciResource.h
vmmon-only/common/vmciResource.c
vmmon-only/common/vmciSharedMem.h
vmmon-only/common/vmciSharedMem.c
vmmon-only/common/comport.h
vmmon-only/vmcore/
vmmon-only/vmcore/driver_vmcore.h
vmmon-only/vmcore/moduleloop.c
vmmon-only/include/
vmmon-only/include/initblock.h
vmmon-only/include/modulecall.h
vmmon-only/include/modulecallstructs.h
vmmon-only/include/vm_asm.h
vmmon-only/include/vm_asm_x86.h
vmmon-only/include/vm_asm_x86_64.h
vmmon-only/include/vm_time.h
vmmon-only/include/vcpuset.h
vmmon-only/include/x86.h
vmmon-only/include/mon_assert.h
vmmon-only/include/x86types.h
vmmon-only/include/x86desc.h
vmmon-only/include/x86apic.h
vmmon-only/include/x86vt.h
vmmon-only/include/x86svm.h
vmmon-only/include/x86paging.h
vmmon-only/include/x86msr.h
vmmon-only/include/x86_basic_defs.h
vmmon-only/include/x86regname.h
vmmon-only/include/x86sel.h
vmmon-only/include/vmm_constants.h
vmmon-only/include/contextinfo.h
vmmon-only/include/uccostTable.h
vmmon-only/include/x86cpuid.h
vmmon-only/include/basic_initblock.h
vmmon-only/include/speaker_reg.h
vmmon-only/include/vmware.h
vmmon-only/include/vm_assert.h
vmmon-only/include/vm_atomic.h
vmmon-only/include/vm_basic_asm.h
vmmon-only/include/vm_basic_asm_x86.h
vmmon-only/include/vm_basic_asm_x86_64.h
vmmon-only/include/vm_basic_defs.h
vmmon-only/include/vm_basic_types.h
vmmon-only/include/vcpuid.h
vmmon-only/include/iocontrols.h
vmmon-only/include/numa_defs.h
vmmon-only/include/pshare_ext.h
vmmon-only/include/cpuid_info.h
vmmon-only/include/vmware_pack_init.h
vmmon-only/include/vmware_pack_begin.h
vmmon-only/include/vmware_pack_end.h
vmmon-only/include/rateconv.h
vmmon-only/include/vmci_defs.h
vmmon-only/include/vmci_kernel_defs.h
vmmon-only/include/vmci_call_defs.h
vmmon-only/include/vmci_handle_array.h
vmmon-only/include/vmci_infrastructure.h
vmmon-only/include/busmem_def.h
vmmon-only/include/driver-config.h
vmmon-only/include/compat_highmem.h
vmmon-only/include/compat_pgtable.h
vmmon-only/include/compat_spinlock.h
vmmon-only/include/compat_uaccess.h
vmmon-only/include/compat_mm.h
vmmon-only/include/compat_file.h
vmmon-only/include/compat_wait.h
vmmon-only/include/compat_page.h
vmmon-only/include/compat_version.h
vmmon-only/include/compat_timer.h
vmmon-only/include/compat_semaphore.h
vmmon-only/include/compat_sched.h
vmmon-only/include/compat_kernel.h
vmmon-only/include/compat_completion.h
vmmon-only/include/compat_list.h
vmmon-only/include/compat_slab.h
vmmon-only/include/compat_interrupt.h
vmmon-only/include/pgtbl.h
vmmon-only/include/hash.h
vmmon-only/include/circList.h
vmmon-only/include/includeCheck.h
vmmon-only/autoconf/
vmmon-only/autoconf/geninclude.c
vmmon-only/autoconf/nopage1.c
vmmon-only/autoconf/skas1.c
vmmon-only/autoconf/epoll.c
vmmon-only/autoconf/setnice.c
vmmon-only/Makefile.normal
vmmon-only/Makefile.kernel
vmmon-only/README
vmmon-only/Makefile
aless@nermal:/tmp/work$
I've saved the patch to the /tmp/work directory, too, so now I have this in the /tmp/work:
aless@nermal:/tmp/work$ ls -l
total 8
-rw-r--r-- 1 aless aless 3679 2008-01-26 10:21 vmmon-2.6.24.patch
drwxr-xr-x 7 aless aless 4096 2007-10-08 18:20 vmmon-only
aless@nermal:/tmp/work$
Next, patch the sources (without going into the vmmon-only directory):
aless@nermal:/tmp/work$ patch -p0 <vmmon-2.6.24.patch
patching file vmmon-only/autoconf/setnice.c
patching file vmmon-only/include/vcpuset.h
patching file vmmon-only/include/vm_basic_types.h
patching file vmmon-only/include/x86cpuid.h
patching file vmmon-only/Makefile.kernel
aless@nermal:/tmp/work$
Finally, tar together the patched sources:
aless@nermal:/tmp/work$ tar cvf vmmon.tar vmmon-only
vmmon-only/
vmmon-only/linux/
vmmon-only/linux/driver.c
vmmon-only/linux/vmhost.h
vmmon-only/linux/vmmonInt.h
vmmon-only/linux/hostif.c
vmmon-only/linux/driver.h
vmmon-only/README
vmmon-only/Makefile.kernel
vmmon-only/vmcore/
vmmon-only/vmcore/driver_vmcore.h
vmmon-only/vmcore/moduleloop.c
vmmon-only/Makefile
vmmon-only/Makefile.normal
vmmon-only/common/
vmmon-only/common/vmciContext.h
vmmon-only/common/vmciSharedMem.h
vmmon-only/common/vmciDsInt.h
vmmon-only/common/vmciResource.c
vmmon-only/common/vmciSharedMem.c
vmmon-only/common/memtrack.h
vmmon-only/common/vmciGroup.h
vmmon-only/common/vmciDriver.c
vmmon-only/common/vmx86.c
vmmon-only/common/hostKernel.h
vmmon-only/common/hostif.h
vmmon-only/common/vmx86.h
vmmon-only/common/phystrack.h
vmmon-only/common/vmciContext.c
vmmon-only/common/hash.c
vmmon-only/common/task.h
vmmon-only/common/memtrack.c
vmmon-only/common/vmciHashtable.h
vmmon-only/common/vmciDatagram.c
vmmon-only/common/vmciProcess.h
vmmon-only/common/comport.h
vmmon-only/common/vmciGroup.c
vmmon-only/common/vmciDriver.h
vmmon-only/common/task.c
vmmon-only/common/cpuid.h
vmmon-only/common/cpuid.c
vmmon-only/common/vmciDs.c
vmmon-only/common/vmciCommonInt.h
vmmon-only/common/vmciDatagram.h
vmmon-only/common/comport.c
vmmon-only/common/vmciProcess.c
vmmon-only/common/vmciHashtable.c
vmmon-only/common/vmciResource.h
vmmon-only/common/phystrack.c
vmmon-only/include/
vmmon-only/include/vmci_handle_array.h
vmmon-only/include/x86apic.h
vmmon-only/include/compat_list.h
vmmon-only/include/compat_page.h
vmmon-only/include/iocontrols.h
vmmon-only/include/vm_asm_x86.h
vmmon-only/include/compat_timer.h
vmmon-only/include/cpuid_info.h
vmmon-only/include/x86_basic_defs.h
vmmon-only/include/vmware_pack_end.h
vmmon-only/include/x86sel.h
vmmon-only/include/vm_asm.h
vmmon-only/include/vm_basic_types.h
vmmon-only/include/compat_sched.h
vmmon-only/include/x86vt.h
vmmon-only/include/rateconv.h
vmmon-only/include/modulecallstructs.h
vmmon-only/include/vm_assert.h
vmmon-only/include/modulecall.h
vmmon-only/include/initblock.h
vmmon-only/include/compat_mm.h
vmmon-only/include/vcpuset.h
vmmon-only/include/contextinfo.h
vmmon-only/include/compat_file.h
vmmon-only/include/vm_atomic.h
vmmon-only/include/pshare_ext.h
vmmon-only/include/vm_basic_asm_x86_64.h
vmmon-only/include/circList.h
vmmon-only/include/compat_spinlock.h
vmmon-only/include/x86msr.h
vmmon-only/include/compat_version.h
vmmon-only/include/compat_completion.h
vmmon-only/include/compat_highmem.h
vmmon-only/include/basic_initblock.h
vmmon-only/include/x86.h
vmmon-only/include/compat_interrupt.h
vmmon-only/include/vm_basic_asm_x86.h
vmmon-only/include/compat_pgtable.h
vmmon-only/include/vmware_pack_begin.h
vmmon-only/include/vcpuid.h
vmmon-only/include/pgtbl.h
vmmon-only/include/x86desc.h
vmmon-only/include/x86paging.h
vmmon-only/include/vmware.h
vmmon-only/include/numa_defs.h
vmmon-only/include/compat_slab.h
vmmon-only/include/compat_wait.h
vmmon-only/include/vmci_infrastructure.h
vmmon-only/include/busmem_def.h
vmmon-only/include/vm_time.h
vmmon-only/include/x86svm.h
vmmon-only/include/x86types.h
vmmon-only/include/uccostTable.h
vmmon-only/include/x86regname.h
vmmon-only/include/vm_asm_x86_64.h
vmmon-only/include/includeCheck.h
vmmon-only/include/vmware_pack_init.h
vmmon-only/include/vm_basic_asm.h
vmmon-only/include/vm_basic_defs.h
vmmon-only/include/x86cpuid.h
vmmon-only/include/speaker_reg.h
vmmon-only/include/compat_kernel.h
vmmon-only/include/compat_uaccess.h
vmmon-only/include/mon_assert.h
vmmon-only/include/vmci_kernel_defs.h
vmmon-only/include/vmci_defs.h
vmmon-only/include/hash.h
vmmon-only/include/vmm_constants.h
vmmon-only/include/driver-config.h
vmmon-only/include/compat_semaphore.h
vmmon-only/include/vmci_call_defs.h
vmmon-only/autoconf/
vmmon-only/autoconf/geninclude.c
vmmon-only/autoconf/epoll.c
vmmon-only/autoconf/skas1.c
vmmon-only/autoconf/nopage1.c
vmmon-only/autoconf/setnice.c
aless@nermal:/tmp/work$
And replace the original vmmon.tar with the patched vmmon.tar:
aless@nermal:/tmp/work$ sudo cp vmmon.tar /usr/local/lib/vmware/modules/source/vmmon.tar
That's it. Afterwards you may delete the /tmp/work directory. The location of the vmmon.tar may be different with your install, but should generally be in <prefix>/lib/vmware/modules/source, where <prefix> is whereever you chose to install the vmware player.
Before you replace the vmmon.tar you should copy the original vmmon.tar somewhere safe, for backup purposes, just in case something goes wrong.

Re: VMware player with kernel 2.6.24-4

10. Jan 28, 2008 4:20 AM in response to: Fintan29
Click to view Pavlinux's profile Enthusiast 45 posts since
Aug 17, 2005

Re: VMware player with kernel 2.6.24-4

11. Jan 28, 2008 9:01 AM in response to: Fintan29
Click to view lenrek's profile Novice 10 posts since
Feb 6, 2006
I found this: http://bbs.archlinux.org/viewtopic.php?pid=322374

I manage to use it and make vmware works on both of my desktop and laptop with kernel 2.6.24. You can also follow the blog page instruction on what to modify instead of using the package. The instruction seems simple enough.

However, this does not seem to be an official release, so, use at your own risk.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities