Skip navigation
VMware
39,749 Views 51 Replies Last post: Oct 27, 2010 12:09 PM by DerekShaw RSS
1 2 3 4 Previous Next
evilninja Novice 41 posts since
Feb 20, 2005
Currently Being Moderated

May 10, 2010 2:55 AM

Ubuntu 10.04 & VMware Server 2.0.2

Yes, I've seen threads like this and lots of others, but often the patches were not sufficient for VMware Server or were outdated, so I assembled them all together, with many thanks to the original authors:

 

  • 00-vmware-2.6.32_functional.diff.txt - from drgr33n. This has been posted back in 2009 already. Now it's 2010, 2.6.34 is almost there -will this be fixed in some future release?

 

  • 01-vmware-2.6.32_cosmetic.diff.txt - implementing the hint from rbihlmeyer, fixing (hiding?) all the warnings during compilation. I hope these will be dealt with in a future VMware release, as it's really distracting when you're looking for the real error messages.

 

  • vmware-config.pl.diff.txt - vsock needs symbols from the vmci module. Again, a longstanding issue. I know, I know, VMware Server is free *) and all, but I could imagine that the modules of the paid version have similar issues and could need a little love, hm?

 

Anyway, after applying those I was able to use VMware Server 2.0.2 on Ubuntu 10.04 (Lucid, i386) again. I've made a small shellscript to apply all those patches, if anyone cares.

 

Also, I propose this patch to the VMware developers, basically just cleaning up vmnet.tar - that is, stuffing all the header and source files into subdirectories, as the other modules do already.

 

HTH,

Christian.

 

*) as in beer )

thetruebumble… Lurker 5 posts since
Oct 8, 2009
Currently Being Moderated
1. May 17, 2010 5:44 AM in response to: evilninja
Re: Ubuntu 10.04 & VMware Server 2.0.2

Works!!!

 

Linux kiedy 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux

VMware Server 2.0.2 build-203138

 

THNX!!!!!!!

 

Does ist work for 64bit too?

default123 Lurker 1 posts since
May 17, 2010
Currently Being Moderated
2. May 17, 2010 3:01 PM in response to: thetruebumble…
Re: Ubuntu 10.04 & VMware Server 2.0.2

 

It does!

 

 

I just applied the patched using the shell script on a lucid  running 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux

 

 

Even though I get a bunch of "hunk FAILED" messages when patching - my guest is up and running

 

 

GOOD JOB evilninja!

 

 

thetruebumble… Lurker 5 posts since
Oct 8, 2009
Currently Being Moderated
3. May 18, 2010 5:27 AM in response to: default123
Re: Ubuntu 10.04 & VMware Server 2.0.2

Confirmed on "Linux ws 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux"

but i am twiddeling with some "SSL Handshake on client connection failed: SSL Exception: error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized" on the 64 bit machine after installation.

 

But this seems to be a different problem...

 

BIG THNX!!! to evilninja

srinclan Lurker 2 posts since
Jan 24, 2009
Currently Being Moderated
4. May 19, 2010 6:46 PM in response to: evilninja
Re: Ubuntu 10.04 & VMware Server 2.0.2

 

Hi,

 

 

I'm sorry for my noob question, how this patches are applied? or how can I run the .sh script?

 

 

Thanks.

 

 

thetruebumble… Lurker 5 posts since
Oct 8, 2009
Currently Being Moderated
5. May 20, 2010 4:21 AM in response to: srinclan
Re: Ubuntu 10.04 & VMware Server 2.0.2

Hi srinclan

 

 

this only works on linux.

download the files:

00-vmware-2.6.32_functional.diff.txt

02-vmnet-include.diff.txt.gz

01-vmware-2.6.32_cosmetic.diff.txt

vmware-config.pl.diff.txt

patch-vmware_2.6.3x.sh

 

from http://nerdbynature.de/bits/2.6.32-22/

into directory "/path/to/patches"

" cd /path/to/patches"

"gunzip 02-vmnet-include.diff.txt.gz"

delete tailing ".txt" from all filenames

"nano patch-vmware_2.6.3x.sh"

replace (line 19)

"DIR=/root/dev/"

with

"DIR=/path/to/patches"

and delete in line 53 the first "../" (this could be an issue)

save and exit

" . ./patch-vmware_2.6.3x.sh /path/to/vmware-server-distrib/lib/modules/source"

et viola...

 

hth

thetrubumblebee

NML-Net Lurker 1 posts since
Apr 27, 2008
Currently Being Moderated
6. May 24, 2010 4:03 AM in response to: evilninja
Re: Ubuntu 10.04 & VMware Server 2.0.2

 

evilninja, you're an absolute Jedi...

 

 

I downloaded the relevant files and patched... VMware Server now runs perfectly..

 

 

Thank you very much for the effort and I agree with you completely about the VMware developers... although Vmware Server is free it is more widely adopted than their licensed packages and thus warrants a certain amount of continued development rather than simply relying on the efforts of the knowledgableVMware community and it's volunteers.

 

 

Kudos to you

 

 

regards,

 

 

Nic

 

 

srinclan Lurker 2 posts since
Jan 24, 2009
Currently Being Moderated
8. May 24, 2010 8:09 AM in response to: thetruebumble…
Re: Ubuntu 10.04 & VMware Server 2.0.2

Thanks!

tliwo Lurker 3 posts since
May 26, 2010
Currently Being Moderated
9. May 26, 2010 1:38 AM in response to: evilninja
Re: Ubuntu 10.04 & VMware Server 2.0.2

From me to: It work's ! And many, many Thanks

DrPaulaner Novice 19 posts since
Dec 2, 2009
Currently Being Moderated
10. Jun 1, 2010 2:00 PM in response to: evilninja
Re: Ubuntu 10.04 & VMware Server 2.0.2

 

did check out with an 32 bit installation and it is working nice...

 

 

 

 

 

 

 

 

so i do have an productive server running with a 64 bit system. Does the patch and script work also?

 

 

 

 

 

 

 

 

Marcel 

 

 

Omnialive Lurker 1 posts since
Feb 9, 2008
Currently Being Moderated
11. Jun 3, 2010 10:05 AM in response to: evilninja
Re: Ubuntu 10.04 & VMware Server 2.0.2

Applying these patches got it to where I could compile the proper modules for my kernel. However, when I try to launch the console (via firefox and https://127.0.0.1:8333) it just sits there and says "Loading...". What is curious is when the page tries to load at the very first the title does say "VMWare Server 2.0". Then if I try to access the webpage again, I keep getting this error message: "The connection to the server was reset while the page was loading." Any direction in where I can look for the root cause?

tliwo Lurker 3 posts since
May 26, 2010
Currently Being Moderated
12. Jun 3, 2010 4:33 PM in response to: Omnialive
Re: Ubuntu 10.04 & VMware Server 2.0.2

 

Try restart the vmware:

 

 

sudo /etc/init.d/vmware restart

 

 

this helps me in similar cases sometimes.

 

 

And note, that the remote-console doesn't work with fire-fox 3.6 and newer

 

 

Marcos Orfila » Blog Archive » Installing older versions of Firefox in Ubuntu 10.04 64 bits

 

 

will help you to downgrade firefox.

 

 

jjjeck Lurker 4 posts since
Sep 23, 2003
Currently Being Moderated
13. Jun 18, 2010 9:05 AM in response to: thetruebumble…
Re: Ubuntu 10.04 & VMware Server 2.0.2

Dear  thetruebumble…  (or others)

 

In your instruction you say

>and delete in line 53 the first "../" (this could be an issue)

>save and exit

 

If I look at the original file i see something like:


$DEBUG cd ../../../../bin || exit 2

 

To what absolute directory is the cd ../../../../bin going?

Thanks in advance?

 

 

Jeroen, Amersfoort, The Netherlands

milestogo123 Lurker 5 posts since
Jun 18, 2010
Currently Being Moderated
14. Jun 18, 2010 12:34 PM in response to: evilninja
Re: Ubuntu 10.04 & VMware Server 2.0.2

OK after many sleepless nights and tons of search, I could finally get it done.

Thank you great guys, I have the installer working.

 

Another question. Probably a silly one but something a lot of people would be looking forward to know:

 

What happens when I do a Kernel upgrade. Do I have to hunt for a patch all over again (the most most painful part) and go though this cycle all over again (which is OK).

 

Basically I am using Ubuntu 10.04 and because of a Intel Graphics issue (gdm hangups) , had upgraded to 2.6.35-020635rc3-generic after going through a wiki post at Ubuntu Forum. The upgrade solved my graphics issue, but now I have downgraded just to use VMWare which also means I have to switch back and forth to between kernels.

 

So, to ask it again, What happens when I do a Kernel upgrade ??

Bookmarked By (0)

Share This Page

Communities