em ubuntu, vmware

vmware server no ubuntu 8.04

Hoje precisei instalar o VMWare Server na minha estação de trabalho, e, pra quem já instalou o VMware em kernels recentes, conhece o famoso vmware-any-any. O erro que retornava ao tentar rodar o config:

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.24-12-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-12-generic'
CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M]  /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /tmp/vmware-config2/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config2/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config2/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config2/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config2/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o] Error 1
make[1]: *** module_/tmp/vmware-config2/vmmon-only Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-12-generic'
make: *** vmmon.ko Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

Entretanto, a versão do vmware-any-any disponível no site http://knihovny.cvut.cz/ftp/pub/vmware/ , é a 115 e ela não funcionou.

Pesquisando um pouco, achei referência a http://groups.google.com/group/vmkernelnewbies/files?hl=en onde existe a versão 116, que funcionou perfeitamente. Finalizando:

vmware-any-any-update116$ sudo ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
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.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]
[...]

Building modules, stage 2.
MODPOST 1 modules
CC      /tmp/vmware-config5/vmmon-only/vmmon.mod.o
LD [M]  /tmp/vmware-config5/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
The module loads perfectly in the running kernel.
  1. Sylvester valeu mesmo, funcionou aqui, depois de passar uns maus momentos e ate querer desistir do linux essa dica ai funcionou mesmo, eu ate pensei que vmware num rolava no meu note
    unica coisa que fiz alem disso foi instalar o tal do xnet.. sei la, acho que e isso mas foi so isso mesmo.

    aqui rodou.
    ubuntu 8.04
    baixei todas as atualizacoes
    kernel 2.6.24-19-generic
    atualizado
    NoteBook HP DV6000 (DV6700) com processador AMD Turion 64 X2
    2 giga de ram.

  2. Sylvester, obrigado pela explicação. Estava batendo cabeça pra instalar o vmware e com sua dica acima foi fácil e rápido. Muito obrigado mesmo.

    Abraço a todos

Os comentários estão encerrados.