VMWARE en Linux Kernel 2.6.24 y con Wireless Bridge

(Translation into English below)

Los modulos VMWARE no compilan en el Kernel 2.6.24 (No esta aun soportado).

El patch oficial vmware-any-any-update115, ftp://platan.vc.cvut.cz/pub/vmware, resuelve problemas con algunos kernels anteriores pero tampoco compila en el 2.6.24.

Peter Teoh ha creado el patch no oficial vmware-any-any-update-116.tgz que si compila en 2.6.24 modificando el modulo vmmon.tar, tomando como base el patch 115 anterior.

Pero los patch vmware-any-any-update no soportan el modo bridge con tarjetas de red wireless. Se puede leer en el source del modulo vmnet.tar, en smac_linux.x386.c:

KERN_WARNING vmnet: You are trying to use wireless bridged networking together with vmware-any-any-update. This is not supported configuration, and your wireless bridge will probably not work

Tras investigar un poco, el problema es que esta funcion solo la soporta el modulo vmnet.tar que viene con el vmware original, que incluye los binarios precompilados smac_linux.x386.o_shipped y smac_linux.x86_64.o_shipped que dan soporte a esta funcion. Pero los modulos originales no valen porque no funcionan en el kernel 2.6.24.

Tras investigar algo mas, hay una forma de conseguir que el vmware-any-any-update115 soporte esta funcion.

Las instrucciones son:

En /usr/local/lib/vmware/modules/source/ estan los modulos originales tras instalar vmware.

tar xvf vmnet.tar  // El original de vmware
mv vmnet.tar vmnet.tar_orig
mv vmnet-only vmnet-only_orig
tar xvf vmnet.tar // El de vmware-any-any-update-115
mv vmnet.tar vmnet.tar_115
rm vmnet-only/smac_linux.x386.c
rm vmnet-only/smac_linux.x86_64.c
cp vmnet-only_orig/smac* vmnet-only   //Se pasan los binarios y las cabeceras
tar ccfs vmnet.tar vmnet-only

Con esto generamos el nuevo vmnet.tar con soporte Wireless. Y con el vmmon.tar modificado del 116 podemos regenerar el vmware-any-any-update115 con soporte para Kernel 2.6.24 y Wireles Bridge.

Se puede bajar aqui: vmware-any-any-update-115-K2.6.24-WirelessBridge.tar.gz

Otras consideraciones para instalar VMWARE en kernel nuevos:

nohz=off // Como opcion al kernel para desactivar tickless
/etc/init.d/mountdevsubfs.sh // Descomentar #Magic to make /proc/bus/usb work

Testeado en Vmware Workstation 6.02, Ubuntu 8.04 (Hardy)


VMWARE Linux Kernel 2.6.24 and Wireless Bridge

VMware modules do not compile in the Kernel 2.6.24 (Not even supported).

The official patch vmware-any-any-update115, from ftp://platan.vc.cvut.cz/pub/vmware, solves problems with some earlier kernels, but it does not compile in 2.6.24.

Peter Teoh has created the unofficial patch vmware-any-any-update-116.tgz that compiles with 2.6.24 modifying the module vmmon.tar, based on the previous 115 patch.

But vmware-any-any-update patchs do not support bridge networking with wireless network cards. It can be read in the source of module vmnet.tar, smac_linux.x386.c:

KERN_WARNING vmnet: You are trying to use wireless networking bridged together with vmware-any-any-update. This configuration is not supported, and your wireless bridge will probably not work

After investigating a bit, the problem is this function is only supported in vmnet.tar module that comes with the original vmware, which includes precompiled binaries smac_linux.x386.o_shipped and smac_linux.x86_64.o_shipped which support this function. But the original modules are not worth because they do not compile in the kernel 2.6.24.

After investigating something more, there is a way to make the vmware-any-any-update115 support this function.

The instructions are:

In /usr/local/lib/vmware/modules/source/ are vmware original modules after install.

tar xvf vmnet.tar  // vmnet.tar original vmware
mv vmnet.tar vmnet.tar_orig
mv vmnet-only vmnet-only_orig
tar xvf vmnet.tar // vmnet.tar from vmware-any-any-update-115
mv vmnet.tar vmnet.tar_115
rm vmnet-only/smac_linux.x386.c
rm vmnet-only/smac_linux.x86_64.c
cp vmnet-only_orig/smac* vmnet-only   //copy smac binaries and headers
tar ccfs vmnet.tar vmnet-only

This generates the new vmnet.tar with wireless support. And with modified vmmon.tar from 116 we can regenerate the vmware-any-any-update115 with support for Kernel 2.6.24 and Wireless Bridge.

It can be downloaded here: vmware-any-any-update-115-K2.6.24-WirelessBridge.tar.gz

Other considerations to install VMware in new kernels:

nohz=off // As the kernel option to disable tickless en grub/menu.lst
/etc/init.d/mountdevsubfs.sh // uncomment #Magic to make /proc/bus/usb work

Tested with Vmware Workstation 6.02, Ubuntu 8.04 (Hardy)

  1. alberto

    Tuesday, March 25, 2008 - 02:39:19

    Muchas gracias! Me has ahorrado un buen rato de pelearme con vmware.

  2. alberto

    Tuesday, March 25, 2008 - 02:43:47

    Lo olvidaba, por si quieres aƱadirlo en tu comentario, lo he probado con hardy (beta) y vmware server 1.0.5.

    Un saludo ;)

  3. bob

    Thursday, March 27, 2008 - 23:37:16

    z7mf3N great site man thanks http://peace.com

  4. Furk

    Thursday, April 17, 2008 - 21:01:09

    Hi, i tried all the above but still getting failed on wireless bridge.

    Any clues?

  5. Furk

    Thursday, April 17, 2008 - 21:02:11

    vmware server 1.0.5 on hardy.

  6. mc

    Wednesday, April 30, 2008 - 10:41:42


    great! many thx!

    1.0.5 works on hardy

  7. effosyemask

    Wednesday, May 14, 2008 - 08:07:44

    Hello my friends :)

  8. ckd

    Saturday, May 17, 2008 - 07:59:56

    Many thanks, works great now on Hardy, Vmware workstation 6.0.3 build-80004

  9. caapsoft

    Sunday, June 15, 2008 - 05:50:52

    works great wks 6.0.0, ubuntu 8.04

  10. Nico Timeo

    Sunday, June 15, 2008 - 14:45:35

    I tried your solution and during installation all went fine, but when I start VMware Player I get this error:

    Version mismatch with vmmon module: expecting 168.0, got 167.0.
    You have an incorrect version of the ‘vmmon’ kernel module.
    Try reinstalling VMware Player.

    My Linux box is: Ubuntu 8.04 (2.6.24-18-generic) running VMware Player 2.04 i386.

    What can I do? Thanks… :-)

  11. Kjell

    Monday, June 16, 2008 - 21:23:22

    I’m running Hardy using latest kernel 2.6.24 - and using Vmware Workstation 6.0.4. I have downloaded the vmware-any-any…update, and followed the installation description above - but with NO success. Any idea to get wireless bridge work in 6.0.4?

  12. Liken

    Tuesday, June 17, 2008 - 10:45:55

    Nico and Kjell. Perhaps vmmon from this patch is outdated for latest versions of vmware. Try replacing vmmon.tar in patch before install it with original vmmon.tar from vmware In /usr/local/lib/vmware/modules/source/.

  13. Nico Timeo

    Wednesday, June 18, 2008 - 20:20:38

    Thanks to your tip, Liken, it now works perfectly!
    I copied /usr/lib/vmware/modules/source/vmmon.tar in the patch folder and then I executed ./runme.pl
    I have VMware Player running on Ubuntu 8.04 Linux with 2.6.24-19 kernel and vmon0 bridged to wlan0!

  14. Marius Kruger

    Thursday, June 26, 2008 - 10:08:54

    I had to copy the vmmon.tar
    from my vmware source
    to the patch

    and then ran vmware-any-any-update116/runme.pl

    then it worked!

  15. danielr cyberia

    Sunday, June 29, 2008 - 10:13:06

    Hi, How are you?

    It’s works!!! I’m happy!!!

    I copy vmmon.tar from my vmware workstation source to my update directory and run in terminal runme.pl and works!!!!

    Thanks to you for this solutions and its amazing that you resolving and VMWARE don’t! any way….


  16. Storrgie

    Wednesday, July 23, 2008 - 12:15:09

    I keep getting kernal panic when I leave the machine on for an extended period of time with a bridged network VM running.

    Ubuntu 8.04
    Vmware Workstation 6.04

  17. synace

    Monday, August 25, 2008 - 19:56:56

    works for me, but I get an error in the logs:

    vmnet: Unknown symbol SMACL_IsSkbNonlinear

  18. emo hair

    Saturday, October 11, 2008 - 16:07:11

    works excellently, thx

  19. Platzreife

    Sunday, October 12, 2008 - 08:58:14

    Lo olvidaba, por si quieres aƱadirlo en tu comentario, lo he probado con hardy (beta) y vmware server 1.0.5.

    Un saludo ;)

  20. Career

    Sunday, November 9, 2008 - 18:23:57

    thx a bunch.

  21. SiKing

    Sunday, December 27, 2009 - 03:06:47

    VMware server 1.0.10 on Linux Mint 5 (Ubuntu 8.04) - kernel 2.6.24. Thank You!



Admin area