vmware-specific-specific 5.5.x and kernel 2.6.27-2.6.28

Posted on October 20th, 2008

You can follow any responses to this entry through the RSS 2.0 feed.
vmware startup

Here were are again with a new kernel version, 2.6.27, of course with new API changes and no one at vmware to update their modules for old vmware versions (and at the time of writing, for new ones also :p).

Anyway, for fellow vmware 5.5.x users, here’s the latest patch that works with the kernel 2.6.27.

Small word of warning, this one only works with x86 based computers (32bit and 64bit)

Have fun:

Update: Fixed a NULL pointer bug while setting the clock rate.

Update: This patch also works with the new 2.6.28. Happy new year! ;p

vmware-update-2.6.27-5.5.7-2.tar.gz

To use this, simply install vmware, unpack the archive and run as root runme.pl
e.g.: sudo ./runme.pl

140 Responses to “vmware-specific-specific 5.5.x and kernel 2.6.27-2.6.28”

  1. Linux für alle » VmWare Server auf Ubuntu 8.10 - Intrepid Ibex says:

    [...] Geht auf kangs Homepage, genauer gesagt hier hin und ladet euch die .tar.gz Datei [...]

  2. Tom says:

    Sir, a most helpful posting. What IS the deal with VMWare not keeping up with the latest kernels … it’s not like the source code isn’t kept in a public forum.

    Thanks again.

  3. graby says:

    really the best solution.

    i run a intrepid box, 2.27.7-7 kernel with vmware 1.0.7 and this patch works fine!

    Congratulations

  4. alex says:

    So this won’t work on amd64, right?

  5. kang says:

    it is gonna work, its x86 based 64 bit ;p

  6. Vide says:

    Thanks!! This worked for me too! (Ubuntu 8.10 Intrepid and VMWare WS 5.5)

  7. jcornez says:

    Are there instructions on how to apply this patch? If it helps (or maybe it makes things worse), I am a gentoo user. I’m also asking there.

    I can see there is a runme.pl file, which seems like a good place to start, but I don’t really know what already has to be in place to apply the patch.

    Thanks in advance.

  8. kang says:

    install vmware in whatever way
    sudo ./runme.pl
    follow instructions

  9. Prabhat says:

    Thanks Kang.
    Thaks a ton for great patch.

    I will appeal all to vote Kang for President.

    F*** Bush, F*** Obama
    Vote for Kang !

    Lol !

  10. jcornez says:

    Thank you. Everything seems to work OK.

    $ sudo ./runme.pl
    Updating /usr/bin/vmware-config.pl … corrupted
    Updating /usr/bin/vmware … No patch needed/available
    Updating /usr/bin/vmnet-bridge … No patch needed/available
    Updating /usr/lib/vmware/bin/vmware-vmx … No patch needed/available
    Updating /usr/lib/vmware/bin-debug/vmware-vmx … No patch needed/available
    VMware modules in “/usr/lib/vmware/modules/source” has been updated.

    Is the “corrupted” message anything to worry about? I am able to continue and then indeed start some VMs. Although I have seen some crashes (The Windows guest dies, not even a blue screen, just completely goes away) that I don’t ever recall seeing before. I don’t know and I’m not trying to suggest this is related.

    Indeed, thank you very much for this patch!
    -Jason

  11. kang says:

    jcornez, I actually noticed a few hours ago this bug with windows guests.

    it’s fixed in the new archive of the post:
    http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz

    You will need to reboot your computer first, then apply the new patch (sudo ./runme.pl) then start vmware again.

    You need to reboot because the vmware module crashes (its kernel related) and it’s stuck there, unremovable until reboot. You also cannot start new machines until you do that.

    Thanks for the report

    ps: don’t worry about the “corrupted” message, it doesn’t matter. It just means your vmware-config.pl is already updated (perhaps you already used any-any patches or my patches).

  12. jcornez says:

    Kang,

    Thank you so much. I can confirm that the Windows guest no longer crashes where it used to. For me, running Microsoft Update would cause the crash (possibly other stuff too). Now, Microsoft Update seems to be working well.

    This is fantastic work. Kudos to you.
    -Jason

  13. tosoft says:

    It works on ubuntu 8.10 Beta but the vmon version dismatchs. :S

  14. kang says:

    it means you’re not using vmware workstation 5.5.x or server 1.0.x
    for newer version other patches are already available on the net i believe.

  15. taghi says:

    I have VMware Server 1.0.7 (installed from VMware-server-1.0.7-108231.tar.gz) with the vmware-update-2.6.27-5.5.7-2.tar.gz patch. Everything installs and builds find on kubuntu 8.10 RC, but the VMs fail to start. With debug information turned on, I learned “version mismatch with vmmon module: expecting 138.0, got 137.0″.

  16. Doug says:

    You’re a champion, saved me some severe brown trouser action

  17. kang says:

    taghi, please check how you are installing the patch (run it after vmware server install without configuring it)

    The patch has version 138 (the one your vmware server tells it’s expecting)

    you can verify it in the source by unpacking vmmon.tar

    vmmon-only/include/iocontrols_compat.h
    #define VMMON_VERSION_GSX1 (3 << 16 | 0)
    #define VMMON_VERSION_V3 (8 << 16 | 0)
    #define VMMON_VERSION_V32 (10 << 16 | 0)
    #define VMMON_VERSION_GSX2 (21 << 16 | 0)
    #define VMMON_VERSION_V321 (30 << 16 | 0)
    #define VMMON_VERSION_GSX25 (41 << 16 | 0)
    #define VMMON_VERSION_GSX251 (42 << 16 | 0)
    #define VMMON_VERSION_V4 (52 << 16 | 0)
    #define VMMON_VERSION_V45 (79 << 16 | 0)
    #define VMMON_VERSION_V452 (81 << 16 | 0)
    #define VMMON_VERSION_GSX32 (85 << 16 | 0)
    #define VMMON_VERSION_V5 (116 << 16 | 0)
    #define VMMON_VERSION_V55 (137 << 16 | 0)
    #define VMMON_VERSION_S1B1 (138 << 16 | 0)
    #define VMMON_VERSION_V6 (161 << 16 | 0)

    this is what you should get.
    it means it works with vmware 55 (137) and server 1 (138) and few others by the way. the check happens at compilation time so make sure the modules are being compiled on the same machine and that you have only one version of vmware installed. (obviously it can’t work for 2 different versions at the same time)

  18. .::ich-wars-nicht.ch::. » VmWare unter Ubuntu Intrepid says:

    [...] mal einen Fehler aus. Dies hat zum Glück – pünktlich vor dem morgigen Schulbeginn – mit einem Patch ein Ende. Auf simplylinux.ch gibt es zudem ein deutsches Howto für Leute welche in Sachen Linux [...]

  19. VMWare Server 1.0.7 on Ubuntu Intrepid Ibex 8.10 - Chris Carey says:

    [...] filed in Uncategorized on Oct.30, 2008 Here is a link I found that got this working again: Click Here [...]

  20. eli says:

    look.. i don’t know what to say.. after few days on google

    just want to say Thank you!!!!!!!! finaly someone did it!!!

    Thanks! thanks!

  21. pch says:

    Thank you!

    it work fine with vmware server 1.0.6 on Ubuntu 8.10

  22. menace says:

    I upgraded to ubuntu 8.10 last night and I’m running vmserver 1.0.7. I played with this bug for awhile with no luck, before consulting google. Your fix saved me alot of time.

    Thank you! :D
    menace

  23. Sean Fraley says:

    I rebooted and ran runme.pl, and now when I try to start vmware with the ‘vmware’ command I get ‘/usr/lib/vmware/bin/vmware: symbol lookup error: /usr/lib/libgio-2.0.so.0: undefined symbol: g_thread_gettime’.

  24. kang says:

    Sean, this problem isnt related to the kernel modules (and thus the patch)
    You probably need to remove/change some of the vmware provided’s libraries. g_thread_gettime is some gtk stuff afaik. good luck tho ;p

  25. VMware server di Ubuntu 8.10 – Thoughts says:

    [...] bermanfaat, terutama yang menghadapi masalah yang sama Untuk referensi lengkap dapat diakses di http://www.insecure.ws/2008/10/20/vmware-specific-specific-55x-and-kernel-2627Related posts:VMware server di Ubuntu 8.04 Hardy Heron Semoga pengalaman saya ini dapat membantu [...]

  26. Carlos Sousa says:

    Hi there,

    I’m probably being a dweeb, but I tried to apply the patch, it ends ok, but vmware console wont start.
    I upgraded from 8.04 to 8.10 and was using 1.07.
    I unzipped the files, entered vmware server and executed the sudo ./vmware-install.pl
    when asked to execute the vmware-config.pl, I say no and then proceed to the vmware-update-dir and execute the sudo ./runme.pl.
    After that, there are reports that it gets up and running, but no luck here.

    Thanks

  27. Lee says:

    Hi Kang

    Not working for me, neither with Player and Vmware Workstation 2.5

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

    Updating /usr/bin/vmware … No patch needed/available
    Updating /usr/bin/vmnet-bridge … No patch needed/available
    Updating /usr/lib/vmware/bin/vmware-vmx … No patch needed/available
    Updating /usr/lib/vmware/bin-debug/vmware-vmx … No patch needed/available
    VMware modules in “/usr/lib/vmware/modules/source” has been updated.

    ==================
    And then finally:

    Execution aborted.

    You’ve any clues? Cheers.

  28. Stephen says:

    Is there a way to fix vmware tools with ubuntu. It is having problems as well….

  29. Oliver May says:

    Thanks a lot! When installing vmware server 1 this worked fine for me, but do make sure you have g++ and (x)inetd installed:

    sudo apt-get install g++ xinetd

  30. kang says:

    Lee, vmware 2.5 is too old ;p
    Latest version of player works with vmware’s source which is included (or see vmware.com for a download)

  31. Stanagle says:

    8.10 & 1.0.6
    new install, works first time
    thanks

  32. onts1004 says:

    best solution!
    thanks a lot

  33. ritz says:

    danke :)

  34. Zanton says:

    I can’t make it work :(
    I’m using vmware-server 1.0.7
    I installed vmware-server-modules, then vmware-server, then I ran runme.pl : it patched the files (except corrupted on vmware-config.pl) and then it launched vmware.config.pl, I configured and at the end, it can’t launch vmware (Failed starting the process).

    I’m lost, and I don’t know what to do :(
    Thanks for helping.

  35. skudave says:

    THANK YOU !

  36. Niels Horn says:

    Thanks, worked fine on Slackware 12.1 -current (2.6.27.5 kernel)!

  37. Joe says:

    This worked for Ubuntu 8.10 (current kernel: 2.6.27-7-server) and vmware-server 1.07.

    Thanks!!!

  38. Thierry B. says:

    Strange,

    using 64 bits version and 2.6.27-7, no problem with vmmon but with **vsock** (http://kramfs.com/2008/07/13/vmware-server-2-unable-to-build-the-vsock-module/)

  39. Cam Macdonell says:

    What was the bug you fixed with respect to the seg fault on setting the clock rate? I encounter it on WS 6.0.x and want to see if your fix might help or give a clue

  40. kang says:

    check a few posts back for 2.6.26 ;) i don’t know if it works with your version tho..

    you can download http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz and http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7.tar.gz
    unpack vmmon.tar and make a diff (diff -urNp vmmon-only ../path/to/other/vmmon-only) to see exactly where the change here (just easier like that – i dont even remember right now :)

  41. Adam says:

    Thanks! worked on Ubuntu 8.10 (2.6.27-7) with VMware Server 1.08.

    Excellent work!

  42. pdm says:

    Thank yopu for the patch – it worked fine with Kubuntu 8.10 initially.
    However, after a software update on the system I now get the error:
    /usr/lib/vmware/bin/vmware: symbol lookup error: /usr/lib32/libgio-2.0.so.0: undefined symbol: g_thread_gettime
    just as the vmware window opens and dies…
    Any ideas please??
    (Running AMD64 system)

  43. Tuxor says:

    Thanks a lot, worked flawlessly! :-D

  44. TVR says:

    Thanks for the patch. I’m having the same problem with the g_thread_gettime. I’ve tried the ‘unset LD_LIBRARY_PATH’ without success. Anyone else had any success with fixing this problem this?

  45. MartinG says:

    Using Kubuntu 8.10, AMD64 and WS 5.5.9 it all works flawlessly and I can run VMware, EXCEPT that when I reboot it complains it hasn’t been properly configured and I have to re-run vmware-config.pl.

    Any ideas? I noted that vmware-config.pl says it’s building modules for 5.5.2 or 5.5.3 — is that relevant?

    Great patch, despite the problem!

  46. MartinG says:

    Following up the above, this appears to be a separate problem, due to the start and stop scripts generating a not_configured “flag” in /etc/vmware. There seems to be more than one view on why/how this happens.

    Running the following cleans up the rc.d files, and now it works (for me).

    sudo update-rc.d -f vmware remove
    sudo update-rc.d vmware defaults 90 08

  47. Jason Roysdon says:

    Thanks, this worked on Fedora 9, 2.6.27.5-37.fc9.i686.

  48. Anand Vaidya says:

    tested on Kubuntu Intrepid ibex (8.10) x86_64, and just released VMWare Server 1.0.8.

    Works flawlessly

    Thanks Kang

  49. Ian Dickinson says:

    Not working for me with kernel 2.6.27.5-37.fc9.i686.PAE on Fedora 9. I get past the semaphore.h problem with your patch, but vmware-config.pl then fails with:

    “”"
    Building the vmblock module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config8/vmblock-only’
    make -C /lib/modules/2.6.27.5-37.fc9.i686.PAE/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/kernels/2.6.27.5-37.fc9.i686.PAE’
    CC [M] /tmp/vmware-config8/vmblock-only/linux/block.o
    CC [M] /tmp/vmware-config8/vmblock-only/linux/control.o
    /tmp/vmware-config8/vmblock-only/linux/control.c: In function ‘SetupProcDevice’:
    /tmp/vmware-config8/vmblock-only/linux/control.c:153: error: ‘proc_root_fs’ undeclared (first use in this function)
    /tmp/vmware-config8/vmblock-only/linux/control.c:153: error: (Each undeclared identifier is reported only once
    /tmp/vmware-config8/vmblock-only/linux/control.c:153: error: for each function it appears in.)
    /tmp/vmware-config8/vmblock-only/linux/control.c: In function ‘CleanupProcDevice’:
    /tmp/vmware-config8/vmblock-only/linux/control.c:213: error: ‘proc_root_fs’ undeclared (first use in this function)
    make[2]: *** [/tmp/vmware-config8/vmblock-only/linux/control.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config8/vmblock-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.27.5-37.fc9.i686.PAE’
    make: *** [vmblock.ko] Error 2
    make: Leaving directory `/tmp/vmware-config8/vmblock-only’
    Unable to build the vmblock module.
    “”"

    Suggestions gratefully received!

    Thanks,
    Ian

  50. it.tassu.org » Blog Archive » Vmware Server asennus Ubuntu 8.10 says:

    [...] isket kasvosi, tämän kaltaiseen ongelmaan… Seuraa täällä olevia ohjeita Share and [...]

  51. BHG_2008 says:

    Works as advertised.
    Fedora 9, VMWare Server 1.0.7
    I was ALREADY patched to Linux Kernel 2.6.26, this patch overlays beautifully, compiled first time.
    Thanks a bunch.

  52. MonariAlx says:

    In response to those experiencing “g_thread_gettime” problem: I’ve replaced some libraries under /usr/lib/vmware-server-console/lib with older ones (taken from Hardy).
    - libglib-2.0.so.0
    - libgmodule-2.0.so.0
    - libgobject-2.0.so.0
    - libgthread-2.0.so.0
    - libXrender.so.1
    - libgio-2.0.so.0 <== NEW
    - libX11.so.6 <== NEW
    I also patched /usr/lib/vmware-server-console/lib/wrapper-gtk24.sh to preload the NEW ones.

    Now with

    VMWARE_USE_SHIPPED_GTK=”force” vmware-server-console

    everything works again.

    More details and files to download here: http://www.monarialx.it/en/node/121

    HTH

  53. Joern says:

    Hello.
    Patch works with vmware 1.0.8 and kernel 2.6.27.4 on slackware.
    Great.
    The only thing is: wireless bridge doesn’t work.
    Any ideas ?

  54. Kitanai Yatsu says:

    I’m running Fedora 9, with kernel 2.6.27.5-41.fc9.i686.

    The patch worked (very nicely) for both vmware-server 1.0.7 and 1.0.8… installed via RPM’s.

    So far, I haven’t had any troubles with the guest OS’s running under either (that can’t be explained by problems in the guest OS).

    If I had a million dollars, I’d buy you a green dress…

  55. david says:

    congratulations that works perfectly…. I *love* FOSS.

    In the proprietary world I would still be waiting, and waiting, and waiting…..

    Ubuntu 8.10 vmware server 1.06

  56. master_zion says:

    Works! many thanks…

    by

    master_zion (brazil)

  57. CJC says:

    Kang: I’m trying to install VMware server 1.0.7 using this guide : http://ubuntu-tutorials.com/2008/11/01/vmware-server-107-on-ubuntu-810-intrepid-2627-7-generic/ …. it looks like this already has your patch in the instructions. I’ve followed everything, and I keep getting execution aborted. The only thing in the guide I couldn’t do, i think, was get the compiler tools. When i type in the commands i get this:

    Couldn’t find any package whose name or description matched “build-essential”

    etc..also when I click the link it says could not find package. This is the error I’m getting when trying to build the kernel:

    chris@XPS:~$ cd vmware-server-distrib/
    chris@XPS:~/vmware-server-distrib$ cd ../vmware-update*/
    chris@XPS:~/vmware-update-2.6.27-5.5.7-2$ sudo ./runme.pl

    /tmp/vmware-config2/vmmon-only/linux/hostif.c:3441: warning: passing argument 2 of ‘send_sig’ discards qualifiers from pointer target type
    CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
    CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
    CC [M] /tmp/vmware-config2/vmmon-only/common/hash.o
    CC [M] /tmp/vmware-config2/vmmon-only/common/memtrack.o
    CC [M] /tmp/vmware-config2/vmmon-only/common/phystrack.o
    CC [M] /tmp/vmware-config2/vmmon-only/common/task.o
    gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
    make[2]: *** [/tmp/vmware-config2/vmmon-only/common/task.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config2/vmmon-only’
    Unable to build the vmmon module.

    Anyone help? :-)

  58. kang says:

    CJC, you’re obviously missing g++ (the c++ gcc compiler)
    check that you have the build essential package installed and that there is g++

    basically:
    sudo apt-get install g++ build-essential

    then run the stuff again

  59. CJC says:

    Kang- you are the MAN! Thanks for the advice. I’m brand new to this and couldn’t find anyone else to help. I had to run:

    apt-get update

    and then get build essential, and now:

    The configuration of VMware Server 1.0.7 build-108231 for Linux for this
    running kernel completed successfully.

    Thanks again.

  60. George says:

    THANK YOU!!!!
    I was trying to install VMWARE Workstation 6 build 45731 on an 64 platform and I had major problems. Your patch did the work.

  61. Daniel Knabl says:

    FYI this works with workstation 6.5.1 build-126130 and Debian kernel 2.6.26-1-686. Also it works with server 1.0.8 and Debian kernel 2.6.26-1-686.

    Many thanks :D

  62. Juanma says:

    It works with VMware workstation 6.x too!!!
    thanks really
    cojonudo

  63. ervin says:

    thank you!
    works with opensuse 11.1 rc2 + server 1.0.8. I only had to install the gcc-c++ package.

  64. keith says:

    works with fedora 10 kernel-2.6.27.5-117.fc10.i686
    and VMware workstation 5.5.9

  65. Darren says:

    Works great on Ubuntu 8.10 (Intrepid Ibex) and VMWare 1.0.8.

    Thanks!

  66. Radu - Eosif Mihailescu says:

    Works like a charm on Fedora 10 (x86_64 and 2.6.27.7-134.fc10) and VMware Server 1.0.8 on a MacBook Pro 3,1.

    Many thanks and my full gratitude to the author — this fix has saved me many a headache :-)

    @Dexter

  67. vitas333 says:

    many thanks, it works for the vmware 5.5.5.

  68. Tom says:

    Works on Slackware Linux 12.2(ish) and VMWare Server 1.0.4. Thanks!

  69. Leo says:

    Works fine with kernel 2.6.27-9 generic and vmware server 1.0.6 build-91891

    Thanks! Great work!

  70. Wootle says:

    Hi, your patch worked for me with VM Workstation v.6.0.0
    and linux kernel 2.6.27.10 under Slackware 12.1.

    However I have a problem with the vmblock module
    similar to that described by Ian Dickenson (above).

    Luckily in my case this is a non-fatal error and the
    build proceeds (but without the utilities provided
    by vmblock).

    Does anyone know how to fix this error?

  71. alonso acuña says:

    I can confirm that this patch works on VMware Workstation 4.5.3 build-19414 and Linux 2.6.27.6

    I still use version 4.5 because some programs do not run un der 5.5.

    I think the page and patch name should be updated to reflect that it also works on 4.5

    I appreciate this work very much. Let me know where i can make a donation to support further development.

  72. suresh says:

    Thanks a lot.

    Note for users looking for VMWare WS6, this patch works fine with VMWare Workstation 6.0.0 build-45731.

    Great work. Keep it up buddy.

    Thanks again.

  73. Wootletootle says:

    Along with Suresh I can confirm that your patch works with
    VMware Workstation 6.0.0-45731 and kernel 2.6.27.10
    under Slackware 12.1. The problems I had with vmblock
    (see above) were apparently due to some missing libraries,
    specifically libprelude and libpam.

  74. renhart says:

    Works for opensuse 11.1 and vmware server 1.0.8.

  75. VMware Server 1.0.8 on openSUSE 11.1 - Page 2 - openSUSE Forums says:

    [...] I’ve got it working. Install 1.0.8 as normal but don’t configure it yet. go to this site (vmware-specific-specific 5.5.x and kernel 2.6.27 | insecure) and follow the instructions there. the runme.pl will call the vmware config after patching vmmon [...]

  76. Thierry18 says:

    Thanks a lot works for me with 2.6.27.9-73.fc9
    for Fedora 8 and fedora 9 users that have xcb_xlib_unlock problem,
    install libX11.so* from libX11-1.0.3-8-fc7.i386.rpm in a separate folder and do a preload of that library before starting wmware (5.5.1-build-19175 for me) with
    export LD_PRELOAD=path/libX11.so

  77. aeroPLAN says:

    many many thanks for the publisher :)
    Works fine

  78. Pafuncio Tribufex says:

    You’re a God, dude!

  79. jcornez says:

    Any word on kernel 2.6.28? That is, has anyone tested this patch on that kernel, or is there any plan for a new patch if needed. Happy New Year.

  80. svenux says:

    I have tested the patch with VMWare Server 1.0.8 on linux kernel 2.6.28 and it’s working (distribution: Debian Lenny)

    Thanks a lot. Great work.

  81. Jim says:

    I am trying to get server 1.0.8 running on Slackware 12.2.
    I have tried both 2.6.27.9 and 2.6.28.
    In both cases, after using the vmware-update-2.6.27-5.5.7-2.tar.gz patches, everything seems to be fine, right up to where I run /usr/bin/vmserver, at which point it says
    vmware: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) – (dpy->request)) >= 0)’ failed.

    Anyway have any insight or clever suggestion for this?

    Thanks very much.

  82. Jim says:

    Well, to answer my own question, in case anyone else comes here…
    After following 138 incorrect leads, I found the last post (as of today) in
    http://www.linuxquestions.org/questions/slackware-14/vmware-fails-to-load-after-update-of-libx11-1.1.5-from-current-solution-671280/
    gives me part of the answer, and a bit more is above that. So after installing 1.0.8 and patching with vmware-update-2.6.27-5.5.7-2.tar.gz, do the following.

    In summary, d/l the noted libX11.so file, put it somewhere like /usr/local/lib/libX11.so, and then start up the client with a line like
    env LD_PRELOAD=/usr/local/lib/libX11.so /usr/bin/vmware
    and finally it was happy (on 2.6.28).

  83. Diego Bravo says:

    Thank you sir, I was driven nuts with that annoying VMWARE server 2.0 and my Ubuntu kernel didn’t allow me to compile vmware 1.08.

  84. Otro intento fallido con el odioso VmWare Server 2.0 - America Tecnología Informática says:

    [...] estoy volviendo a la vida utilizando VMware 1.0.7 gracias a un parche que me está permitiendo continuar con mi trabajo gozando de la comodidad del conveniente Vmware [...]

  85. Dante Jones says:

    Works with;

    Fedora 10 – 2.6.27.9-159.fc10.i686

    VMware Workstation – 5.5.9 build-126128

    Many thanks for keeping VMware Workstation – 5.5.x alive.

  86. ZF says:

    I have tried installing it on amd opteron with kernel 2.6.27
    and vmmod still does not compile. The linux system installed is a 32 bit one, so I thought it should work. Were my expectration wrong?

    Thanks

  87. jonjon says:

    2 full days into this project. finally, the module loads properly. THANKSSSSSSSSSSSSS.

  88. Franz says:

    It works fine with Ubuntu 8.10, kernel 2.6.27, x86 32 bit and VMware server 1.0.8 build-126538.

    Thank you very much!

  89. Peter says:

    Works great with kernel 2.6.27-9-generic. Thanks!

  90. VMware Workstation 5/6x install on Linux Host issue: “Unable to build the vmmon module.” [ any distro w/ 2.6.27+ kernel ] « Russ’s Virtualization & Open Source Blog — Welcome! says:

    [...] < Kang’s da man! [...]

  91. Kostas says:

    thank you very much!!

  92. Jarek says:

    FC9/kernel 2.6.27.9-73, VMware 5.5.4: your fixes work great.
    Thank you very much!

  93. Simon says:

    As everyone else has said, thank you! This saves me some time.

  94. Dan says:

    Fedora 10, Server 1.08 using 2.6.27.12-170.2.5.fc10.i686.PAE
    and vmware-update-2.6.27-5.5.7-2.tar.gz works!
    A few compiler warnings, but everything works great.
    I wish I had found this update a few hours ago.
    Thanks for your efforts!
    Dan

  95. Kang the Conqueror Conquers VMWare’s Shitty Kernel Integration « *nix Frustrations says:

    [...] released a patch that adjusted all the calls VMWare kernel module was making to deprecated features.  Sadly, VMWare [...]

  96. HOWTO (Repost) - Vanilla Kernel 2.6.28.3, VMware Server 1.0.8, and Kubuntu 8.04… « Linux Free Trade Zone says:

    [...] around led me to this site with a patch (vmware-update-2.6.27-5.5.7-2.tar.gz).  Extract, cd, and run the run.pl file as root (sudo [...]

  97. Dave C says:

    Just to confirm this works great with Ubuntu 8.10 (recent 2.6.27*) and VMWare Workstation 5.5.9 (32-bit, have yet to try 64)

    I got the “vmware-config.pl corrupted” message even though I did this to a clean install of VMWare 5.5.9, however when the patch kit went ahead and ran it, it worked great (subject to the usual compiler warnings)

    I share everyone’s frustration with the need to hunt down such patches every time you do a kernel update.

    I agree that VMWare could do better, but at the same time (much as I’m a fan) this is a limitation of the design of Linux which other OS’es kernels, notably the Windows NT line, do not share.

    It would be good if the Linux kernel developers could put in stable APIs for use by VMWare and, more importantly, non-FOSS hardware drivers. Not everyone has the resources to tweak, build and test their drivers for every minor kernel revision.

    Hats off to the folks in the community who keep older VMWare versions rolling.

  98. mananna says:

    *Very* *impressive* backport. Where’s the “donate” button?

  99. David Goodwin says:

    Hi,

    Thank you for spending the time and effort in doing this.

    It worked perfectly for me (Ubuntu Intrepid, amd-64, Kernel 2.6.27-11-generic, Vmware server version 1.0.8).

    Thank you!
    David.

  100. Josh says:

    Thank you–this worked perfectly!

  101. hans says:

    Thank you!
    Works with SUSE 2.6.27.19-3.2-pae #1 SMP 2009-02-25 15:40:44 +0100 i686 i686 i386 GNU/ and
    VMware Server 1.0.8 build-126538Linux

    Thank you very much!!

  102. Niles Mills says:

    Ubuntu 8.10 (patched current through 3/15/2009)
    kernel 2.6.27-11-generic
    VMware-workstation-5.5.8-108000.tar.gz

    Your patch worked perfectly. Nice job.

    Thanks!!!

  103. andradaq says:

    Thank you!
    This worked perfectly on Ububtu 8.10 kernel 2.6.27-11-server for VMware-server-1.0.8

  104. Scott Yuan says:

    The patch works perfectly. Excellent work!

  105. Ubuntu + VMWare « Joshua Swartz says:

    [...] Recently, I upgraded from Ubuntu 8.04 (the host machine) to 8.10. Suddenly, the VMWare binaries wouldn’t run. I won’t bore you with details, but if you see the error that asm/semaphore.h couldn’t be found or simply that it couldn’t build vmnet.o, then join the club. If you’re seeing these errors, then you should refer to this site before you do anything else: http://www.insecure.ws/2008/10/20/vmware-specific-specific-55x-and-kernel-2627. [...]

  106. Marco says:

    Patch work perfectly on Kubuntu 8.10 x64 kernel 2.6.27-11 and VmWare WKS 5.5.5.

    Great job! Thanks.

  107. Bradley Kieser says:

    The man is a hero, an absolute hero!

    I paid good money for VMware workstation 5.5 and have been very badly let down by VMWare the company.

    If it wasn’t for Kang, I would be totally stuffed right now.

  108. lewis balentine says:

    no joy ….
    “sudo apt-get install linux-headers-$(uname -r)”

    OK thats done

    Next
    sudo ./runme.pl
    ==============
    Updating /usr/bin/vmware-config.pl … corrupted
    sh: ./update: not found
    sh: ./update: not found
    sh: ./update: not found
    sh: ./update: not found
    VMware modules in “/usr/lib/vmware/modules/source” has been updated.
    ==============

    so I run “sudo /usr/bin/vmware-config.pl” and it is happy.
    but when I run “sudo /usr/bin/vmware” I get
    =================
    vmware is installed, but it has not been (correctly) configured
    for this system. To (re-)configure it, invoke the following command:
    /usr/bin/vmware-config.pl.
    =================

    VMWare WS for Linux 5.9.9
    Ubuntu 8.10 (intrepid) WS with Intel Q6600 an 4Gb of ram.
    Kernel Linux 2.6.27-7

  109. Jerry Steele says:

    Thank you! After a long overdue kernel update, I reached for my trusty vmware-any-any-update patch (after I realised why I wasn seeing my VM sessions). Only for it to tell me that the vmmon module wouldn’t build. A few hours of searching later, I found this handy page, and everything’s cool! Thanks!

  110. ancker says:

    Hi,

    In kernel 2.6.27.19-3.2 not work.
    I tested 1.0.8 , 1.0.9 and 2.0.1 vmware versions.

    Any sugestion?

  111. Ice Nine says:

    Works for me on Ubuntu 8.10 (server) x86 and x64. Thanks!

  112. Ice Nine says:

    I forgot to mention I tested with VMware Server 1.0.9.

  113. Gil says:

    The “large buttons” across the left side of the top toolbar area (e.g. “Quick Switch” “Full Screen” , etc.) are missing – why? Otherwise this patch worked fine for Jaunty 9.04 + vmware server 1.0.9 and kernel 2.6.28-11.

    Is there a fix for the “missing” large buttons?

  114. Streetbiker says:

    It allowed install of vmware server 1.0.9 to complete but there are issues with the key mappings. I went to install centos 4.7 as a vm and the “media check” key was stuck in an endless loop – no way to stop it. I verified my centos 4.7 .iso files were ok by doing the vm build in Virtual Box. This patch may be ok for vmware workstation 5.5 but it probably has some key mapping issues for vmware server builds.

  115. Ittay says:

    Networking over wireless is not working for me. I have Ubuntu 9.04

    I downloaded vmware-server 1.0.9, ran the installation which aborted after running vmware-config.pl due to compilation problems. I then run runme.pl in the specific-specific package and configured vmnet2 to be bridged over wlan0 (and vmnet0 over eth0, vmnet1 as host only). I then launched a windows XP guest (using a preinstalled windows on my laptop booting with ‘vmware’ hardware configuration). Network in the guest doesn’t work. The windows interface attached to vmnet2 doesn’t get dhcp (from my wireless router, with mac filtering turned off)

    I would greatly appreciate any tips

  116. Arthur says:

    Hi, i have the same problem!

    VMware-server-1.0.9 won’t compile the vmmon modules on OpenSuse 11.2 x86_64 (2.6.27.21-0.1).

    Applying the patch *does* work, *but only* for my lan-card, the patch doesn’t work for my wlan-card.

    It seems i have host-to-host connectivity (in the VM) when I bridge the wlan card (the VM can ping the host), but that’s it.

    I do see some errors of vmware telling me that i’m using a patched version, and that WiFi won’t work with it.
    But it’s currently the only way of getting lan to work :(

    Any suggestions?

    (system is a lenovo thinkpad x61-tablet)

  117. Martin says:

    Thanks, it worked sweet!! with Jaunty and vmware 1.06.

  118. Ashish says:

    Thank you very much for this post. I really appreciate this help. It worked with VM 6.03 Workstation on Ubuntu v8.10.
    thanks

  119. Kyu says:

    Thanks a lot for the patch, but as Ian mentioned, I also have the vmblock compile error.
    Wootletootle, are you sure that missing libprelude and libpam were the problem? I’ve installed both of them(including dev packages) but didn’t work.

    I’m using VM WS6.0 on 2.6.28-11 (Jaunty 9.04).
    Does anybody know the solution or hints to this problem?
    Thank you.

  120. Tobe says:

    Hi,

    thanks for the work. I’m trying to install VMware Server 1.0.9 on Ubuntu Desktop 8.10 with a custom kernel (I took 2.6.27-11 and added PAE support).

    The compilation resulted in 2 packages,
    linux-image-2.6.27-11-pae64g_2.6.27-11.27_i386.deb and
    linux-headers-2.6.27-11-pae64g_2.6.27-11.27_i386.deb
    which I installed on Ubuntu: no prob.

    The problem is that VMware Server 1.0.9 doesn’t want to compile vmmon:

    # Building the vmmon module.
    # Building for VMware Server 1.0.0.
    # Using 2.6.x kernel build system.
    # make: Entering directory `/tmp/vmware-config3/vmmon-only’
    # make -C /lib/modules/2.6.27-11-pae64g/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    # make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-pae64g’
    # Makefile:528: /usr/src/linux-headers-2.6.27-11-pae64g/arch/i686/Makefile: No such file or directory
    # make[1]: *** No rule to make target `/usr/src/linux-headers-2.6.27-11-pae64g/arch/i686/Makefile’. Stop.

    There is no “i686″ subdirectory in …/arch, only “x86″
    The output of uname -a is:
    Linux timbal 2.6.27-11-pae64g #1 SMP Sun Mar 8 21:10:12 CET 2009 i686 GNU/Linux

    I tried the vmware-update-2.6.27-5.5.7-2 patch,
    then I tried vmware-any-any-update115, but it led to the same error.

    Any idea ?

    Thanks,
    Tobe

  121. VMWare Server 1.0x on Kubuntu 9.04 « Cooking and Coding says:

    [...] 2: Download and install kernel patch You can find the patch here.  Now, un-tar and run the installer script ‘runme.pl’ as sudo.  Now, when the patch [...]

  122. Tobe says:

    Hi,

    I tried to use the vmware-update-2.6.27-5.5.7-2 patch, it seemed to be happy until vmmon compilation, where I get the same error.

    No, the problem seems to be linked to the way the custom
    kernel was compiled. Vmmon compilation is looking for
    a “i686″ directory when I only have a “x86″ one.

    I compiled the kernel in an Ubuntu 8.10 Desktop in a VMware
    virtual machine, maybe this could be a problem …

  123. robert says:

    Hi!

    I just wanted to forward my thanks for posting this patch. Awesome.

    Man, it’s situations like this that remind me why I am in the open source community.

  124. Suso says:

    Thank you for the patch, it works perfectly!

    The only problem is that I need to install VMWare (I’m using Server 1.0.9) in the default location (/usr/bin and /usr/lib). If I install it in /usr/local/bin and /usr/local/lib, it compiles OK but when you try to start a virtual machine, the following error appears: “Version mismatch with vmmon module: expecting 138.0, got 137.0″

    I’ve checked it twice with a clean install and both times it happened the same: OK in /usr, and wrong in /usr/local

    Thank you!

  125. Tobe says:

    Hello,

    I finally found a solution to my problem exposed in post #120.
    The thing to do is to prefix the VMware installation commands with “ARCH=x86″, like:

    # ARCH=x86 ./vmware-install.pl
    # ARCH=x86 ./runme.pl

    Regards,
    Tobe

  126. Vecheslav says:

    I used the patch to install Vmware Server 1.09 on Ubuntu jaunty desktop. Everything turned out. Thank you. Kernel 2.6.28-14-generic # 47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU / Linux

  127. Forrest says:

    What about Open VM Tools:

    http://open-vm-tools.sourceforge.net/

  128. Andy says:

    Mercy me. You are my hero. I’ve been banging my head against a brick wall for DAYS trying to get VMWware Server 1.09 running under Ubuntu 9.04 (because the web-based VMWare Server 2.0.1 console flat out *doesn’t work* and times out before the server can respond). I must have read dozens of pages of ’solutions’, none of which did anything to help me install the dreaded vmmon module.

    Another happy Kernel 2.6.28-14-generic user.

  129. schirmchen says:

    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.26-2-amd64/build/include]

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config8/vmmon-only’
    make -C /lib/modules/2.6.26-2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-amd64′
    CC [M] /tmp/vmware-config8/vmmon-only/linux/driver.o
    /tmp/vmware-config8/vmmon-only/linux/driver.c:146: error: unknown field ânopageâ specified in initializer
    /tmp/vmware-config8/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
    /tmp/vmware-config8/vmmon-only/linux/driver.c:150: error: unknown field ânopageâ specified in initializer
    /tmp/vmware-config8/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
    make[2]: *** [/tmp/vmware-config8/vmmon-only/linux/driver.o] Fehler 1
    make[1]: *** [_module_/tmp/vmware-config8/vmmon-only] Fehler 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-amd64′
    make: *** [vmmon.ko] Fehler 2
    make: Leaving directory `/tmp/vmware-config8/vmmon-only’
    Unable to build the vmmon module.

    For more information on how to troubleshoot module-related problems, please
    visit our Web site at “http://www.vmware.com/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.

    …I’am down…please help me quick—3 days now

    Thanks

  130. kang says:

    schirmchen , for 2.6.26 u need 2.6.26 patch

    http://www.insecure.ws/2008/07/24/vmware-anspecific-specific-557-and-kernel-2626

  131. foxold says:

    I have the same error… but the solution is:
    i install the vmware workstation 5.5.3
    but it’s the same server or workstation…
    tar -xvzf WMare…..
    cd vmware-distrib
    sudo ./vmware-install.pl

    then next next next

    and the same error…

    solution:

    you need to download vmware-update-2.6.27-5.5.7-2.tar.gz

    tar -xvzf vmware-update …..

    cd vmware-update….

    sudo ./runme.pl

    next next next

    and works!!!
    but other error…

    you need to copy libs

    #cd /usr/lib/
    #cp libglib-2.0.so.0 /usr/lib/vmware/lib/libglib-2.0.so.0/
    #cp libgmodule-2.0.so.0 /usr/lib/vmware/lib/libgmodule-2.0.so.0/
    #cp libgobject-2.0.so.0 vmware/lib/libgobject-2.0.so.0/
    #cp libgthread-2.0.so.0 vmware/lib/libgthread-2.0.so.0/
    #cp libXrender.so.1 vmware/lib/libXrender.so.1/
    #cp libgio-2.0.so.0 vmware/lib/<— new
    #cp libX11.so.6 vmware/lib/ <— new
    #cp libpng12.so.0 vmware/lib/libpng12.so.0/
    #cd /
    #vmware &

    andddddddddddddddddddd
    WORKS!!!!!!!!!!!!!!!

  132. Dom says:

    Thank you, thank you, thank you!

    I’ve been battling for the last 48 hours with both Virtualbox (on Ubuntu 9.04) and VMware Player, then VMWare Server just to get a sensible file sync system going on my WM5 mobile device (so it’s technically Microsoft’s fault for being so slimey).

    The VMWare stuff has been running me in circles ALL DAY and your patch has worked.

    {{{{big HUG}}}}

  133. Fernando says:

    It works fine, thank you, but there is a problem with wlan0. It cannot be bridged on wlan0, and this is a big problem for me :(

  134. Adrian May says:

    Excellent fix. Let the world point here. If VMWare are too lame to fix their own bugs, why don’t they hire you?

  135. Adrian May says:

    This built the modules but I’m getting “Version mismatch with vmmon module: expected 169.0, got 161.0. This is with VMWare Player 2.5.3. Any idea which version I should install instead?

    Thanks, Adrian.

  136. Bruce UK says:

    B I G T H A N K Y O U !!!!!!!!!!!!!

    Fedora release 10 (Cambridge)
    VMware-server-1.0.10-203137.i386
    vmware-update-2.6.27-5.5.7-2.tar.gz

    working 100s

  137. VMware Workstation 6.5 says:

    VMware Workstation 6.5 …

    An interesting post by a bloger made me ……

  138. MartinVMware says:

    Don’t know, who you are, but…. after searching for about half a day for a solution, you gave me one and that’s it.
    ThanX
    Martin

  139. Makus says:

    Don’t work VMware Server 1.0.10 on openSuSE 11.1 64Bit with patch vmware-update-2.6.27-5.5.7-2.tar.gz and the standard kernel 2.6.27.7-9-default x86_64

    The make Compiler answer

    Unable to build the vmmon module.

    Execution aborted.

  140. Makus says:

    I have forgotten to install the gcc-c++ compiler on openSuSE 11.1 64Bit. The patch works fine, thank you.

Leave a Reply