VMware Communities > VMTN > Desktop Products > VMware Player > Discussions

This Question is Answered

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

VMware player with kernel 2.6.24-4

Jan 22, 2008 8:01 AM

Click to view Fintan29's profile Novice Fintan29 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

Reply Re: VMware player with kernel 2.6.24-4 Jan 22, 2008 4:36 AM
Click to view johnwheaton2's profile Enthusiast johnwheaton2 23 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.

Reply Re: VMware player with kernel 2.6.24-4 Jan 22, 2008 8:00 AM
in response to: johnwheaton2
Click to view Fintan29's profile Novice Fintan29 26 posts since
Jan 14, 2007

Thank you. I tried that first with the latest version (07.11.07)

this is what I get:

sudo ./vmware-install.pl
sudo: ./vmware-install.pl: command not found
fred1@fintanws2:~/Downloads/vmware-any-any-update115/vmware-any-any-update115$ sudo ./runme.pl
Updating /usr/bin/vmware ... failed
Cannot open /usr/bin/vmware: No such file or directory
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? yes y

Making sure services for VMware Player are stopped.

Stopping VMware services:
Virtual machine monitor done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the theme icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Player is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? yes

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.24-4-generic/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Unknown VMware Workstation 6.0.2 build 59824 detected. Building for Workstation 6.0.0.
Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config6/vmmon-only'
make -C /lib/modules/2.6.24-4-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-4-generic'
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config6/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config6/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config6/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config6/vmmon-only/common/cpuid.o
In Datei, eingefügt von include/asm/bitops.h:2,
von /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
von /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
von /tmp/vmware-config6/vmmon-only/common/vmx86.h:19,
von /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
von /tmp/vmware-config6/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: Fehler: #error only <linux/bitops.h> can be included directly
make[2]: *** [/tmp/vmware-config6/vmmon-only/common/cpuid.o] Fehler 1
make[1]: *** _module_/tmp/vmware-config6/vmmon-only Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-4-generic'
make: *** http://vmmon.ko Fehler 2
make: Verlasse Verzeichnis '/tmp/vmware-config6/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

fred1@fintanws2:~/Downloads/vmware-any-any-update115/vmware-any-any-update115$

any ideas?

Reply Re: VMware player with kernel 2.6.24-4 Jan 24, 2008 1:50 PM
in response to: Fintan29
Click to view johnwheaton2's profile Enthusiast johnwheaton2 23 posts since
Aug 18, 2006
I'm not sure at this point. I thought of it because it worked for others.
Reply Re: VMware player with kernel 2.6.24-4 Jan 25, 2008 12:44 AM
Click to view PJN's profile Hot Shot PJN 127 posts since
Nov 23, 2007

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

Reply Re: VMware player with kernel 2.6.24-4 Jan 25, 2008 1:27 AM
in response to: PJN
Click to view Fintan29's profile Novice Fintan29 26 posts since
Jan 14, 2007

Thankx for the link(s) but I don't think that solutions applies to me.

I won't be downgrading my kernel and couldn't find a sysconfig folder any where on my system.


I quess I'll just wait.

Reply Re: VMware player with kernel 2.6.24-4 Jan 25, 2008 1:05 PM
in response to: Fintan29
Click to view asmodis's profile Lurker asmodis 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:
Reply Re: VMware player with kernel 2.6.24-4 Jan 26, 2008 12:50 AM
in response to: asmodis
Click to view Fintan29's profile Novice Fintan29 26 posts since
Jan 14, 2007

Thanak you for the patch. As I have never done this before, so please bear with me. Maybe you could help me along a bit.


This is what I did:

I untared the vmmon.tar to:

/usr/lib/vmware/modules/source/vmmon/vmmon-only/

I then pasted the patch over to that file and ran:

patch -p0 <vmmon-2.6.24.patch

in a terminal in that folder and recieve this:

root@fintanws2:/usr/lib/vmware/modules/source/vmmon/vmmon-only# patch -p0 <vmmon-2.6.24.patch
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 -Nru vmmon-only-old/autoconf/setnice.c vmmon-only/autoconf/setnice.c
|--- vmmon-only-old/autoconf/setnice.c 2007-10-08 16:29:31.000000000 +0200
|+++ vmmon-only/autoconf/setnice.c 2008-01-13 18:36:22.000000000 +0100

File to patch:


any ideas?

Reply Re: VMware player with kernel 2.6.24-4 Jan 26, 2008 1:33 AM
in response to: Fintan29
Click to view asmodis's profile Lurker asmodis 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.
Reply Re: VMware player with kernel 2.6.24-4 Jan 27, 2008 7:09 PM
in response to: asmodis
Click to view Fintan29's profile Novice Fintan29 26 posts since
Jan 14, 2007

Thank you asmodis for the help. That got me one step forwards and this is relevant part of the result:


Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.24-4-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-4-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciContext.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDatagram.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDriver.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDs.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciGroup.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciHashtable.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciProcess.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciResource.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmciSharedMem.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-4-generic'
cp -f vmmon.ko ./../vmmon.o
make: Verlasse Verzeichnis '/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Trying to find a suitable vmblock module for your running kernel.

None of the pre-built vmblock modules for VMware Player is suitable for your
running kernel. Do you want this program to try to build the vmblock module
for your system (you need to have a C compiler installed on your system)?
yes

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config0/vmblock-only'
make -C /lib/modules/2.6.24-4-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-4-generic'
CC [M] /tmp/vmware-config0/vmblock-only/linux/block.o
In Datei, eingefügt von /tmp/vmware-config0/vmblock-only/linux/os.h:21,
von /tmp/vmware-config0/vmblock-only/linux/block.c:12:
/tmp/vmware-config0/vmblock-only/./include/compat_wait.h:37:5: Warnung: »VMW_HAVE_EPOLL« ist nicht definiert
/tmp/vmware-config0/vmblock-only/./include/compat_wait.h:43:5: Warnung: »VMW_HAVE_EPOLL« ist nicht definiert
In file included from /tmp/vmware-config0/vmblock-only/linux/os.h:21,
from /tmp/vmware-config0/vmblock-only/linux/block.c:12:
/tmp/vmware-config0/vmblock-only/./include/compat_wait.h:60: Fehler: In Konflikt stehende Typen für »poll_initwait«
include/linux/poll.h:65: Fehler: Vorherige Deklaration von »poll_initwait« war hier
In file included from /tmp/vmware-config0/vmblock-only/linux/vmblockInt.h:26,
from /tmp/vmware-config0/vmblock-only/linux/block.c:15:
/tmp/vmware-config0/vmblock-only/./include/vm_basic_types.h:170: Fehler: In Konflikt stehende Typen für »uintptr_t«
include/linux/types.h:40: Fehler: Vorherige Deklaration von »uintptr_t« war hier
make[2]: *** [/tmp/vmware-config0/vmblock-only/linux/block.o] Fehler 1
make[1]: *** _module_/tmp/vmware-config0/vmblock-only Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-4-generic'
make: *** http://vmblock.ko Fehler 2
make: Verlasse Verzeichnis '/tmp/vmware-config0/vmblock-only'
Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a guest and
dropping or pasting them onto your host (guest to host drag and drop and file
copy/paste). The rest of the software provided by VMware Player is designed to
work independently of this feature (including host to guest drag and drop and
file copy/paste).

If you would like the guest to host drag and drop and file copy/paste features,
you can install the driver by running vmware-config.pl again after making sure
that gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution's
installation CD.
Press Enter key to continue

Do you want networking for your virtual machines? (yes/no/help) yes

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
yes

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help)
yes

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.143.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 172.16.143.0.

Do you wish to configure another NAT network? (yes/no) no

Do you want to be able to use host-only networking in your virtual machines?
yes

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
yes

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.52.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 192.168.52.0.

Do you wish to configure another host-only network? (yes/no) no

Trying to find a suitable vmnet module for your running kernel.

None of the pre-built vmnet modules for VMware Player is suitable for your
running kernel. Do you want this program to try to build the vmnet module for
your system (you need to have a C compiler installed on your system)? yes

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Gehe in Verzeichnis '/tmp/vmware-config1/vmnet-only'
make -C /lib/modules/2.6.24-4-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.24-4-generic'
CC [M] /tmp/vmware-config1/vmnet-only/driver.o
In file included from /tmp/vmware-config1/vmnet-only/vnet.h:13,
from /tmp/vmware-config1/vmnet-only/vnetInt.h:10,
from /tmp/vmware-config1/vmnet-only/driver.c:40:
/tmp/vmware-config1/vmnet-only/vm_basic_types.h:170: Fehler: In Konflikt stehende Typen für »uintptr_t«
include/linux/types.h:40: Fehler: Vorherige Deklaration von »uintptr_t« war hier
In Datei, eingefügt von /tmp/vmware-config1/vmnet-only/vm_basic_asm.h:28,
von /tmp/vmware-config1/vmnet-only/vm_oui.h:14,
von /tmp/vmware-config1/vmnet-only/vnetInt.h:11,
von /tmp/vmware-config1/vmnet-only/driver.c:40:
/tmp/vmware-config1/vmnet-only/x86cpuid.h:383:1: Warnung: »BIT_MASK« redefiniert
In Datei, eingefügt von include/linux/kernel.h:15,
von /tmp/vmware-config1/vmnet-only/driver.c:9:
include/linux/bitops.h:7:1: Warnung: dies ist die Stelle der vorherigen Definition
make[2]: *** [/tmp/vmware-config1/vmnet-only/driver.o] Fehler 1
make[1]: *** _module_/tmp/vmware-config1/vmnet-only Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-4-generic'
make: *** http://vmnet.ko Fehler 2
make: Verlasse Verzeichnis '/tmp/vmware-config1/vmnet-only'
Unable to build the vmnet module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

fred1@fintanws2:~/Downloads/VMware-player-2.0.2-59824.i386/vmware-player-distrib$

Reply Re: VMware player with kernel 2.6.24-4 Jan 28, 2008 4:20 AM
in response to: Fintan29
Click to view Pavlinux's profile Enthusiast Pavlinux 45 posts since
Aug 17, 2005
Reply Re: VMware player with kernel 2.6.24-4 Jan 28, 2008 9:01 AM
Click to view lenrek's profile Novice lenrek 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.

Reply Re: VMware player with kernel 2.6.24-4 Jan 29, 2008 1:03 AM
in response to: lenrek
Click to view Fintan29's profile Novice Fintan29 26 posts since
Jan 14, 2007

Thank you lenrek.

This is waht I did:

Downloaded and unpacked any-any-116

Installed vmware-player with sudo vmware-install.pl

when I got to the point where the installer asks if I want to run.

vmware-config.pl I went to the any-any-116 folder and ran: sudo ./runme.pl which gave n erro. I ignored that and went back to the vmware install terminal and said yes when asked to run vmware-config.

Everything worked just fine:))

Actions