VMware Communities > VMTN > Desktop Products > VMware Workstation > Discussions

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
1 2 3 ... 7 Previous Next
90 Replies Last post: Oct 1, 2009 2:11 AM by ElectroVM
Reply

Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel

Apr 4, 2009 2:42 AM

Click to view Krellan's profile Enthusiast Krellan 82 posts since
Jun 16, 2008
Here we go again, with VMware Workstation 6.5.2 (including VMware Player 2.5.2).

Here is a patch to get their modules to cleanly build on Linux kernel version 2.6.29.

It's a followup from this earlier thread, that was for the earlier 6.5.1 version:

http://communities.vmware.com//thread/202340

The changes between 6.5.1 and 6.5.2 are minimal. VMware, thankfully, no longer attempts to re-define the APIC_BASE_MSR symbol, making one part of the patch no longer necessary on 2.6.29, so it has been removed. That was what was causing the earlier error: the patch was attempting to patch something that no longer existed in the code.

Here's the new 6.5.2 patch, and a shellscript to help you apply it, attached.

Make sure your /usr/lib/vmware/modules/source directory is pristine. Reinstall 6.5.2 if you have to, in order to return this directory to its unchanged settings, if you had trouble applying the patch earlier.

Use the bash command to run the script:

bash ./vmware-6.5.2-modules-2.6.29-fix.sh

It should now apply cleanly, and there should be no errors.

Hope this helps!

Josh
Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 4, 2009 4:54 AM
Click to view avigator's profile Lurker avigator 3 posts since
Oct 16, 2008
yeah, this is real great jobs, it's worked perfect and without any fail or error.

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

$ patch -N -p1 < vmware-6.5.2-modules-2.6.29-fix.patch
patching file vmblock-only/Makefile
patching file vmci-only/Makefile
patching file vmmon-only/include/x86apic.h
patching file vmmon-only/linux/driver.c
patching file vmmon-only/linux/hostif.c
patching file vmmon-only/Makefile
patching file vmnet-only/Makefile
patching file vmnet-only/netif.c
patching file vsock-only/Makefile

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

Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 4, 2009 7:13 AM
Click to view apkarako's profile Lurker apkarako 3 posts since
Apr 3, 2009

Thank you a lot, works great....


Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 4, 2009 2:17 PM
Click to view kennycrudup's profile Novice kennycrudup 5 posts since
May 2, 2005
Thanks for this- it's unfortunate it's necessary, considering 2.6.29 came out a week before the 6.5.2/156735 release.
Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 4, 2009 3:47 PM
Click to view h2-2's profile Novice h2-2 15 posts since
Nov 19, 2006
Patches for 2.5.2 tested and working perfectly on vmplayer 2.5.2, 2.6.29 kernel, 32 and 64 bit.

Thanks a lot for your efforts on this, much appreciated.
Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 4, 2009 6:06 PM
Click to view gallienus's profile Novice gallienus 4 posts since
Dec 21, 2006
I was hoping someone had made a patch for 2.6.29. One question, this patch only affects the vmware kernel modules right? I doesn't actually affect the kernel or the kernel modules that came with my distros?
Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 6, 2009 2:11 AM
Click to view phocean's profile Lurker phocean 1 posts since
May 14, 2008
Thank you very much, nice job that works perfectly !
Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 6, 2009 12:32 PM
in response to: gallienus
Click to view Krellan's profile Enthusiast Krellan 82 posts since
Jun 16, 2008
Yes, the patch only affects VMware's kernel modules on the host, which are in this directory:

/usr/lib/vmware/modules

It shouldn't affect your distro's kernel or your distro's modules at all.

Josh
Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 12, 2009 2:02 PM
Click to view eleventh-hour's profile Lurker eleventh-hour 1 posts since
Jan 28, 2005

Thanks for all your work Josh. Worked like a charm on slackware with kernel 2.6.29.1 and workstation 6.5.2.

--Troy

Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 12, 2009 3:04 PM
Click to view gallienus's profile Novice gallienus 4 posts since
Dec 21, 2006
Worked great in sabayon 4.1 with a 2.6.29 kernel. Now all I need to do is figure out how to make the modules persistant, but that's for another thread.
Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 12, 2009 5:01 PM
Click to view Andreas Johansson's profile Enthusiast Andreas Johansson 43 posts since
Nov 18, 2006
Thanks for the nicely written patch and clear instruction. One question though, in what way does the ".../modules/binary" directory confuse VMware? (I haven't moved/renamed it in my installation and it works perfectly)

Kind Regards

Andreas

Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 12, 2009 9:21 PM
Click to view Stumpy842's profile Lurker Stumpy842 2 posts since
Apr 12, 2009

Hi folks, first let me apologize for posting about VMware Tools in the Workstation thread, but I don't see a separate area for Tools, and I modified Krellan's work to use it to install VMware Tools-7.7.5-156745 in the guest OS running kernel 2.6.29. If there is a better area to post this please let me know.

You can get the patch files & script here

Thanks to Krellan and the others for their prior work!


Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 14, 2009 5:52 AM
Click to view sxxe's profile Lurker sxxe 1 posts since
Jun 9, 2008

Thank you very much for this patch, i use it on archlinux and it works great.

Keep up the good work.

bye

Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 14, 2009 1:08 PM
in response to: Stumpy842
Click to view Krellan's profile Enthusiast Krellan 82 posts since
Jun 16, 2008
You're welcome!

Interesting. I haven't yet tried to run Linux 2.6.29 as guest, only as host. (The reason I upgraded to 2.6.29 is to get better hardware support for my motherboard's sensors, which are a moot point in a virtual machine.)

Glad to know the patch (with some modifications) also works as guest.

Josh
Reply Re: Here is patch for Workstation 6.5.2 on Linux 2.6.29 kernel Apr 14, 2009 1:13 PM
in response to: Andreas Johansson
Click to view Krellan's profile Enthusiast Krellan 82 posts since
Jun 16, 2008
As for the modules/binary directory confusing VMware and thus needing to be moved out of the way, this fix might not be needed anymore.

I originally saw it in some older instructions (I forget where), and it seemed like a good idea to follow, at the time. I think there might have been a problem with VMware not doing a full rebuild from source if it found a "supported" kernel version inside of the modules/binary directory, and thus missing some changes that were made in some patches.

At any rate, if it worked successfully for you without needing to move the modules/binary directory out of the way, that's perfectly fine.

Josh
1 2 3 ... 7 Previous Next
Actions