VMware
1 2 3 Previous Next 43 Replies Last post: Sep 13, 2009 12:40 PM by disruptor   Go to original post
Click to view avigator's profile Lurker 3 posts since
Oct 16, 2008
i have no workstaton, i just using vmware-player (version 2.5.1), and since i using kernel 2.6.29, vmware-player does not work. it's show me as below picture that i attached. so is this solution also work for vmware-player?

$ cat /tmp/vmware-root/setup-13941.log


Apr 02 01:33:48.049: app| Log for VMware Workstation pid=13941 version=6.5.1 build=build-126130 option=Release

Apr 02 01:33:48.049: app| Host codepage=UTF-8 encoding=UTF-8


Apr 02 01:33:48.049: app| Logging to /tmp/vmware-root/setup-13941.log


Apr 02 01:33:49.403: app| Extracting the sources of the vmmon module.


Apr 02 01:33:49.414: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.29-custom-3.2/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.2.4

Attachments:
Click to view h2-2's profile Novice 15 posts since
Nov 19, 2006
Krellan, thanks for your reply. As indicated, this new issue is with the patch running on the freshly, just released, vmplayer 2.5.2. I'll assume you will see the same patching issues on workstation x.x.2 as well when it's released.

I'll run the tests however you asked for, and provide the data.

Your patch and efforts are much appreciated.

It's fairly clear that the patch files changed slightly however, note the offsets on the 2.5.2 patching job that were not present on the 2.5.1 patching.

But I'll delete the directory after uninstalling then reinstall as requested and I'll post the fiiles.
Click to view h2-2's profile Novice 15 posts since
Nov 19, 2006
I tried full cleanup, no difference, that was not the issue, in vmplayer 2.5.2 32 and 64 bit, the patch has this issue:

::::::::::
Applying patch now...
patching file vmblock-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
patching file vmci-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
patching file vmmon-only/include/x86apic.h
Hunk #1 FAILED at 94.
1 out of 1 hunk FAILED -- saving rejects to file vmmon-only/include/x86apic.h.rej
patching file vmmon-only/linux/driver.c
patching file vmmon-only/linux/hostif.c
Hunk #1 succeeded at 3424 (offset 1 line).
Hunk #2 succeeded at 3538 (offset 1 line).
Hunk #3 succeeded at 3662 (offset 1 line).
patching file vmmon-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
patching file vmnet-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
patching file vmnet-only/netif.c
patching file vsock-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
::::::::::::
I'm using the original logic for the pre and post patch processing, that seems to work fine, the module building works fine too, vmplayer 2.5.2 starts fine, no issues, works for other users too, but the patch error just means it needs to be updated, I'd check the syntax but I have trouble with doing patches, it's not one of my strong points.

attached the source directory, post patching, with orig data.

Thanks again for the time spent on this issue, it helps many more people out there.
Attachments:
Click to view avigator's profile Lurker 3 posts since
Oct 16, 2008

i copied entire folder /usr/lib/vmware/modules/source out for a test. has a error same as upstair.

=============================

$ patch -N -p1 < vmware-modules-2.6.29.patch
patching file vmblock-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
patching file vmci-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
patching file vmmon-only/include/x86apic.h
Hunk #1 FAILED at 94.
1 out of 1 hunk FAILED -- saving rejects to file vmmon-only/include/x86apic.h.rej
patching file vmmon-only/linux/driver.c
patching file vmmon-only/linux/hostif.c
Hunk #1 succeeded at 3424 (offset 1 line).
Hunk #2 succeeded at 3508 (offset 1 line).
Hunk #3 succeeded at 3632 (offset 1 line).
patching file vmmon-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
patching file vmnet-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
patching file vmnet-only/netif.c
patching file vsock-only/Makefile
Hunk #1 succeeded at 122 (offset 9 lines).
=======================================

Click to view zwierbel's profile Lurker 3 posts since
Mar 2, 2009
Same problem with VMware Workstation 6.5.2.
I can not believe that they give us a new version without support for 2.6.29.
Using the old 6.5.1 modules with the patch in 6.5.2 is working fine. But I don't know if that will open the security bugs mentioned in the release notes.....
Click to view barraski's profile Lurker 3 posts since
Dec 1, 2005

Hi there

I would upgrade to 6.5.2 but couldn't find the version for Linux HOST, latest version available I've found is VMware-Workstation-6.5.1-126130.

I've tested your patch against 2.6.30rc2 (strictly is 2.6.30-020630rc2) but doesnt work, fails as follows:

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.30-020630rc2-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630rc2-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:31:
/tmp/vmware-root/modules/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:67: error: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-root/modules/vmmon-only/./common/vmx86.h:31,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.h:29,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:101:
/tmp/vmware-root/modules/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-headers-2.6.30-020630rc2-generic/arch/x86/include/asm/apic.h:11,
from /usr/src/linux-headers-2.6.30-020630rc2-generic/arch/x86/include/asm/smp.h:13,
from include/linux/smp.h:36,
from include/linux/topology.h:33,
from include/linux/gfp.h:7,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /tmp/vmware-root/modules/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.30-020630rc2-generic/arch/x86/include/asm/apicdef.h:133:1: warning: this is the location of the previous definition
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** _module_/tmp/vmware-root/modules/vmmon-only Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630rc2-generic'
make: *** http://vmmon.ko Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'


Has anyone tried to produce a patch for 2.6.30 yet?

I'm aware it's stil a RC. the reasoning is that I've upgraded to Ubuntu 9.04 and have an intel graphics driver: in order to fix the poor performance I had to upgrade to 2.6.30RC2 kernel. I guess my config would be a quite common one.

I'm willing to beta test any patch you might kindly provide.

Thanks very much in advance.


Click to view barraski's profile Lurker 3 posts since
Dec 1, 2005

I do apologize: found the 6.5.2 version for Linux hosts. Problem was that under trial versions, you don't get to chose to download the v6.5.2, only 6.5.1.

Still, If anyone is willing somebody to help testing a patch for 2.6.30 kernels, don't hesitate to ask me ;)

Regards

Click to view motri's profile Novice 9 posts since
Oct 12, 2005

Performance of current 6.5.x is unbearable.

I'd be happy to have a patch for 6.0.5 against 2.6.29 .... any clues?

Click to view dk10tlx's profile Novice 6 posts since
May 13, 2007

worked great here on Debian 2.6.29-1-686 kernel with workstation 6.5.2 build-156735

thanks a lot

Click to view dk10tlx's profile Novice 6 posts since
May 13, 2007

@barraski: yes I'm willing to help where I can.

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