|
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. |
|
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]: *** 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? |
|
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. |
|
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:
|
|
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]: *** 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]: *** 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$ |
|
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. |