Total Articles 2,540

VMware Server 2.0.2 Update Patch #2

April 18, 2010: I updated the patch with the modifications suggested by Andrea. The problems in building the vmci module on the x86_64 architecture are fixed now.

I released a new patch for VMware Server 2.0.2 which brings some improvements, adds support for newer versions of the Linux kernel and fixes all the problems mentioned in the previous post. The patch was made to be the least intrusive as possible in the VMware Server 2.0.2 code. It was tested on Ubuntu 9.10 (2.6.31-17-generic) and Fedora 12 (2.6.32.10-90.fc12).

The patch has the following features:

  • Add support for versions of the Linux Kernel that implement COW credentials.
  • Add support for net_device_ops structure.
  • Add support for netdev_priv().
  • Remove references to init_mm structure by removing APIC support for 2.6.25 and later (APIC code currently uses the macro pgd_offset_k).
  • Suppress GCC warnings.
  • Fix the vsock use of exported symbols from from vmci module problem.
  • Fix the ether_setup() (misplaced) problem introduced by the previous patch (the NAT network connection problem).
  • Fix other known issues.

The following are instructions on how to apply the patch:

Download the VMware Server (VMware-server-2.0.2-203138.i386.tar.gz).

Download the VMware Server 2 update patch #2:

$ wget -N http://risesecurity.org/~rcvalle/VMware-server-2.0.2-203138-update-2.patch

Extract VMware Server:

$ tar -xzf VMware-server-2.0.2-203138.i386.tar.gz

Extract VMware Server modules:

Change working directory to vmware-server-distrib/lib/modules/source/
$ tar -xf vmci.tar
$ tar -xf vmmon.tar
$ tar -xf vmnet.tar
$ tar -xf vsock.tar

Apply the patch:

Change working directory to vmware-server-distrib/
patch -p1 < ../VMware-server-2.0.2-203138-update-2.patch

Archive VMware Server modules again:

Change working directory to vmware-server-distrib/lib/modules/source/
$ rm -f vmci.tar
$ rm -f vmmon.tar
$ rm -f vmnet.tar
$ rm -f vsock.tar
$ tar -cf vmci.tar vmci-only/
$ tar -cf vmmon.tar vmmon-only/
$ tar -cf vmnet.tar vmnet-only/
$ tar -cf vsock.tar vsock-only/

Run installer script as root:

Change working directory to vmware-server-distrib/
$ sudo ./vmware-install.pl

Note for Ubuntu users:

When asked for the current administrative user for VMware Server, specify your user as a different administrator.

Note about VMware Remote Console Plug-in:

The VMware Remote Console Plug-in does not work properly on Ubuntu 9.10, Fedora 12 and other newer distributions. A workaround for this is to set the environment variableVMWARE_USE_SHIPPED_GTK before running the VMware Remote Console Plug-in. To set this environment variable at login time, add the following line to your ~/.profile:

export VMWARE_USE_SHIPPED_GTK=yes

58 Responses to “VMware Server 2.0.2 Update Patch #2”

  1. Boris says:

    Worked like a charm ! :)

    - Ubuntu 10.04 Lucid , 64bit
    - VMWare server 2.0.2 64bit ( VMware-server-2.0.2-203138.x86_64.tar.gz )

    Thanks a million ! :)

  2. Manny says:

    You don’t know how long I have been looking for this solution! I have been trying to have Ubuntu 10.04 64Bit and VMWare Server 2.0.2 64Bit to play nice. Finally! EXCELLENT WORK! My hat of to you!!!!!!

  3. [...] you seen this? I haven't tried it on 2.6.34, but it does work on the stock 2.6.33 [...]

  4. [...] tricky on OpenSuSE and other Linux systems.  However there is a very good walkthrough over at RiseSecurity that makes it as painless as it can be until someone writes an automatic method.  It seems to be [...]

  5. nate says:

    Thank you for the fix. I’m running Novell SLED 11 and installed sp1 and pow my vms went bye-bye. I tried the other patch and no go finally stumbled across yours and it fixed it right. Damn need for Windows.

  6. Mat says:

    Wow! Thank you for this fix. I couldn’t get VMware server working on Debian Lenny due to errors with the vsock kernel module, and after applying your patch it works like a dream. Thanks again and keep up the good work!

  7. Mat says:

    Edit: And for anyone suffering from the blank page problem when you try to manage VMware server, just enable SSLv2 in your browser, as described athttp://www.rootz.de/2010/05/vmware-2-x-kein-zugriff-auf-die-weboberflache-moglich-loading/

  8. Steeve says:

    Great!!! It’s finally works for me.

    Debian linux.2.6.34-amd64
    VMware-server-2.0.2

    Take care

Addin Enabled Application file .NET Related
by bbok on Sep 21, 2011 10:10
0 5073
by bbok
on Sep 21, 2011 10:10
C# 용 Parser Generator image .NET Related
by bbok on Sep 14, 2011 09:55
0 18927
by bbok
on Sep 14, 2011 10:00
벌써 가을이 오는구나... imagefile Diary
by bbok on Aug 23, 2011 06:26
0 2754
by bbok
on Aug 23, 2011 06:26
삼성 크롬북 출시.. imagefile Diary
by bbok on Aug 22, 2011 10:13
0 2753
by bbok
on Aug 22, 2011 10:15
[Scrap] Complete Guide on How To Turn A Monitor On/Off/Standby image .NET Related
by bbok on Aug 10, 2011 02:47
0 23440
by bbok
on Aug 10, 2011 02:47
[Scrap] How to Migrate from Facebook to Google+ image Etc.
by bbok on Jul 20, 2011 23:29
0 23176
by bbok
on Jul 20, 2011 23:29
[Scrap] Creating and Consuming Resource Dictionaries in WPF and Silverlight image .NET Related
by bbok on Jul 19, 2011 22:22
0 22917
by bbok
on Jul 19, 2011 22:22
When We're Cowed by the Crowd Etc.
by bbok on May 30, 2011 11:25
0 2743
by bbok
on May 30, 2011 11:26
About Software Verification Ltd. image .NET Related
by bbok on May 30, 2011 02:47
0 19433
by bbok
on May 30, 2011 02:47
Michael Sandel on the personal risks of estrangement in philosophy Diary
by bbok on Apr 20, 2011 20:55
0 9830
by bbok
on Apr 20, 2011 20:55
Welcome to the home of iRinger image Etc.
by bbok on Sep 16, 2010 13:14
0 9975
by bbok
on Sep 16, 2010 13:14
Lyric's probability processor image Computer Science
by bbok on Aug 20, 2010 21:34
0 15963
by bbok
on Aug 20, 2010 21:34
[Scrap] Concurrency Levels Tuning with Task Parallel Library (How Many Threads to Use?) image Computer Science
by bbok on Aug 11, 2010 10:06
0 16472
by bbok
on Aug 11, 2010 10:06
<startup> Element in .NET 4.0 Application (from MSDN) image Computer Science
by bbok on Aug 05, 2010 10:12
0 16404
by bbok
on Aug 05, 2010 10:12
[VC++] 2. C++0x의 auto image Computer Science
by bbok on Aug 04, 2010 14:37
0 4421
by bbok
on Aug 04, 2010 14:37
Category
Category
BBOK.ORG (2540)
Bottom
Category
Google Ad.
Bottom
Category
Calendar
2012.02
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29
Bottom
Category
Recent Article
Bottom
Category
Recent Comment
Bottom
Category
Counter
Bottom