Skip navigation
VMware
46,214 Views 91 Replies Last post: Dec 16, 2009 1:14 PM by martyfelker RSS
1 2 3 ... 7 Previous Next
Krellan Enthusiast 90 posts since
Jun 16, 2008
Currently Being Moderated

Jul 17, 2009 9:35 PM

Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

I'm pleased to announce an updated patch.  I found some more time to work on it, and there's two big improvements:

 

1) It's "universal".  It works for Linux 2.6.29, and Linux 2.6.30, and Linux 2.6.31!

 

2) Your VMware module files no longer need to be restored from backup, after a failed upgrade.  The patch script is now much smarter about backing up the files that it changes.  It uses checksums to make sure that it is seeing the original VMware Workstation 6.5.2 files, and when those files are found, it backs them up to a place that it uses for all future runs.  The script is now idempotent: it's OK to run it more than once, it will have the same effect.

 

Here are 2 files, attached.

 

There's the shell script, and the patch file.

 

Download both of these files, to the same directory.

 

Then, run the script, as root.  (Check it first, unless you REALLY trust me not to put some kind of rootkit in there!)

 

su        <-- become root

bash ./vmware-6.5.2-newkernmods.sh        <-- run the script

 

I tested it, and it worked, on these 3 kernels:

 

Linux 2.6.29.2

Linux 2.6.30.1

Linux 2.6.31-rc3

 

This is only for VMware Workstation 6.5.2.  It won't work on any older version.

It's only for the host OS.  It won't work on the guest OS (VMWare Tools).

It won't work on VMware Player.

It won't work on VMware Server.

 

Do let me know if this works successfully for you!

tntcoda Lurker 2 posts since
Jul 18, 2009
Currently Being Moderated
1. Jul 18, 2009 9:15 AM in response to: Krellan
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

 

Thanks very much for making this, works perfectly for me on Arch Linux with 6.5.2 & kernel 2.6.30 with no hassel.

 

 

Really hope it works or is easy to update and keep working for future kernels

 

 

sidvdhc Lurker 3 posts since
Jun 13, 2009
Currently Being Moderated
2. Jul 18, 2009 3:09 PM in response to: Krellan
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

 

Like slavek1979 in the previous thread (http://communities.vmware.com/message/1314440#1314440), the checksums of my tar files from a fresh install don't match. I even removed and re-installed VMware-Workstation-6.5.2-156735.i386.rpm, checking that /usr/lib/vmware/module/source was really gone (it was).

 

 

I walked through your script by hand, replicating what you are doing (doing the key bits by hand). While the starting checksums don't match, the patch file applies properly and the modules build.

 

 

Here are the starting checksums. Note that the first matches slavek1979's.

 

111725518eb37a65e5ad6bc6bd16774b  vmblock.tar
d654b4764492da5de867bcda5181c7cd  vmci.tar
a1e624e0e0c13c72a23dc0f80e85b831  vmmon.tar
747053ac258cde670284902016343d9b  vmnet.tar
e6e64cc49a94d0234f52e408c326d897  vmppuser.tar
ec01c92e6e976f0987a9ec1e557bdd17  vsock.tar

 

In the end, same result as before. When shutting down a guest, the GUI hangs and the associated vmware-vmx process continues after the GUI finally crashes, with the message (when vmware is run from a terminal):

 

terminate called after throwing an instance of 'vmdb::Error'
what():  Internal error

I had to kill the vmware-vmx process.

 

BTW, running Fedora 11 with kernel 2.6.29.5-191.fc11.i686.PAE.

 

 

 

 

tntcoda Lurker 2 posts since
Jul 18, 2009
Currently Being Moderated
3. Jul 18, 2009 3:26 PM in response to: Krellan
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

 

Could the checksums not match because of the architecture?

 

 

I had no issues with an x64 .bundle install of vmware, I guess the source might well have different checksums in the x86/i386 version, just a guess.

 

 

meijkl Lurker 1 posts since
Jul 19, 2009

 

I'm using Ubuntu Jauny x64 with the 2.6.31-rc3 kernel and VMware Player.

 

 

I can confirm that your patch works perfectly with VMWare Player 2.5.2.

 

 

 

 

 

Thanks

 

 

Klaus

 

 

Rubeck Master 941 posts since
Mar 7, 2008
Currently Being Moderated
7. Jul 19, 2009 3:47 AM in response to: Krellan
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

 

Also running Ubuntu Jaunty x64 with the 2.6.31-rc3 kernel.... and Workstaion 6.5.2..

 

 

Worked perfectly... :   Thanks a bunch, Krellan..  Good work!

 

 

 

 

 

/Rubeck

 

 

VCP#3401
jaksprats Lurker 1 posts since
Mar 23, 2009
Currently Being Moderated
8. Jul 19, 2009 9:31 PM in response to: Krellan
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

the new patch works for 2.6.31-3-generic x32 Ubuntu 9.10 Karmic Koala .. and Workstaion 6.5.2..

 

Lots of warnings during compile but the end result is good.

 

 

 

thx

Poloisfej Lurker 4 posts since
Jul 14, 2009
Currently Being Moderated
10. Jul 20, 2009 3:07 AM in response to: Krellan
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

This one actually works. Maybe Arch kernel is a little trickier, but this one still nails it =)!

Spamspam Lurker 1 posts since
Jul 20, 2009
Currently Being Moderated
11. Jul 20, 2009 7:46 AM in response to: Krellan
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

I'm running under Ubuntu 9.10 and these patches helped at building the modules. But for some strange reason my mouse and keyboard do not work. I tried with guest as windows vista/windows 7. If I choose from the menu's the grab input option the mouse will move for a few seconds. If i switch to unity it is working.

 

Any ideas?

cfandre Lurker 1 posts since
Sep 28, 2006
Currently Being Moderated
12. Jul 20, 2009 7:57 AM in response to: Spamspam
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

I'm also experiencing the same keyboard/mouse problem. It started happening after a dist-upgrade last week. I'm guessing it has something to do with a X update maybe??? I am seeing this behavior on both a desktop and laptop, both running nvidia cards. Any help is appreciated.

cearap01 Lurker 3 posts since
Aug 28, 2008
Currently Being Moderated
13. Jul 20, 2009 10:44 AM in response to: Krellan
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

 

Thank you for the latest patch! All working better now with the latest Arch kernel.

 

 

Excellent and much appreciated ...

 

 

___

Anthony Rosati

 

 

___ Anthony Rosati
walt+walt Novice 15 posts since
Aug 9, 2006
Currently Being Moderated
14. Jul 27, 2009 6:57 AM in response to: Spamspam
Re: Here is patch for Workstation 6.5.2 on Linux 2.6.31 kernel

 

i experience the very same mouse-cursor problem as spamspam. furthermore vmware tools hang at loading. system kubuntu karmic 89.109, vm ws. 6.5.2, guest winxp sp3.

 

 

everything worked fine under 9.04.

 

 

any help is much appreciated.

 

 

Go to original post 1 2 3 ... 7 Previous Next

Bookmarked By (0)

Share This Page

Communities