1. Este site usa cookies. Ao continuar a usar este site está a concordar com o nosso uso de cookies. Saber Mais.

Instalar o VMware Workstation no Linux Mint 14.

Discussão em 'Dúvidas e Suporte Técnico - GNU/Linux & *nix' iniciada por jutexol, 27 de Dezembro de 2012. (Respostas: 5; Visualizações: 1281)

  1. jutexol

    jutexol Power Member

    Amigos, preciso de ajuda para instalar o VMware.
    Já tentei várias versões e todas me dão erro ou na instalação ou quando arranco.
    Aparecem-me erros como:
    "Before you can run VMware, several modules must be compiled and load into the running kernnel."
    Clico em install e dá erro a carregar "Virtual Network Device" e em "VMware Blocking Filesystem"
    Por fim aparece uma janela com o erro:
    " Unable to start services. See log file/tmp/vmware-root/modconfig-23450.log for details."

    Abrindo a referida file aparece o seguinte:

    2012-12-27T17:25:29.177Z| vthread-3| I120: Log for VMware Workstation pid=23450 version=8.0.3 build=build-703057 option=Release
    2012-12-27T17:25:29.177Z| vthread-3| I120: The process is 64-bit.
    2012-12-27T17:25:29.177Z| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
    2012-12-27T17:25:29.177Z| vthread-3| I120: Host is Linux 3.5.0-17-generic Linux Mint 14 Nadia
    2012-12-27T17:25:29.177Z| vthread-3| I120: Msg_Reset:
    2012-12-27T17:25:29.177Z| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": Ficheiro ou directoria inexistente.
    2012-12-27T17:25:29.177Z| vthread-3| I120: ----------------------------------------
    2012-12-27T17:25:29.177Z| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
    2012-12-27T17:25:29.177Z| vthread-3| I120: Msg_Reset:
    2012-12-27T17:25:29.177Z| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": Ficheiro ou directoria inexistente.
    2012-12-27T17:25:29.177Z| vthread-3| I120: ----------------------------------------
    2012-12-27T17:25:29.177Z| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
    2012-12-27T17:25:29.177Z| vthread-3| I120: Msg_Reset:
    2012-12-27T17:25:29.177Z| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": Ficheiro ou directoria inexistente.
    2012-12-27T17:25:29.177Z| vthread-3| I120: ----------------------------------------
    2012-12-27T17:25:29.177Z| vthread-3| I120: PREF Failed to load user preferences.
    2012-12-27T17:25:29.177Z| vthread-3| W110: Logging to /tmp/vmware-root/modconfig-23450.log
    2012-12-27T17:25:29.347Z| vthread-3| I120: modconf query interface initialized
    2012-12-27T17:25:29.347Z| vthread-3| I120: modconf library initialized
    2012-12-27T17:25:29.377Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.381Z| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:29.381Z| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
    2012-12-27T17:25:29.381Z| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
    2012-12-27T17:25:29.381Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:29.384Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.392Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.405Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:29.405Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:29.408Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.419Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.433Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:29.451Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.453Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.456Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.458Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.460Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.476Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.479Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.481Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.484Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.486Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.488Z| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:29.489Z| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
    2012-12-27T17:25:29.489Z| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
    2012-12-27T17:25:29.489Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:29.491Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.499Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.512Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:29.534Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.538Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.541Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.543Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.546Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.548Z| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:29.548Z| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
    2012-12-27T17:25:29.548Z| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
    2012-12-27T17:25:29.548Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:29.550Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.559Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:29.570Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:29.605Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.608Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.611Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.614Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:29.616Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:30.112Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:30.112Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:30.115Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:30.125Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:30.136Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:30.136Z| vthread-3| I120: Building module vmmon.
    2012-12-27T17:25:30.136Z| vthread-3| I120: Extracting the sources of the vmmon module.
    2012-12-27T17:25:30.147Z| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.5.0-17-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7
    2012-12-27T17:25:33.125Z| vthread-3| I120: Installing module vmmon from /tmp/vmware-root/modules/vmmon.o to /lib/modules/3.5.0-17-generic/misc.
    2012-12-27T17:25:33.126Z| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.5.0-17-generic/misc/vmmon.ko
    2012-12-27T17:25:34.345Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:34.345Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:34.348Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:34.360Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:34.372Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:34.372Z| vthread-3| I120: Building module vmnet.
    2012-12-27T17:25:34.372Z| vthread-3| I120: Extracting the sources of the vmnet module.
    2012-12-27T17:25:34.382Z| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.5.0-17-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7
    2012-12-27T17:25:38.643Z| vthread-3| I120: Failed to compile module vmnet!
    2012-12-27T17:25:38.650Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:38.650Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:38.653Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:38.663Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:38.676Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:38.676Z| vthread-3| I120: Building module vmblock.
    2012-12-27T17:25:38.677Z| vthread-3| I120: Extracting the sources of the vmblock module.
    2012-12-27T17:25:38.687Z| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmblock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.5.0-17-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7
    2012-12-27T17:25:40.941Z| vthread-3| I120: Failed to compile module vmblock!
    2012-12-27T17:25:40.946Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:40.947Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:40.949Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:40.958Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:40.971Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:40.971Z| vthread-3| I120: Building module vmci.
    2012-12-27T17:25:40.971Z| vthread-3| I120: Extracting the sources of the vmci module.
    2012-12-27T17:25:40.984Z| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.5.0-17-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7
    2012-12-27T17:25:45.367Z| vthread-3| I120: Installing module vmci from /tmp/vmware-root/modules/vmci.o to /lib/modules/3.5.0-17-generic/misc.
    2012-12-27T17:25:45.367Z| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.5.0-17-generic/misc/vmci.ko
    2012-12-27T17:25:46.545Z| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.5.0-17-generic.
    2012-12-27T17:25:46.545Z| vthread-3| I120: Validating path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic
    2012-12-27T17:25:46.550Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:46.560Z| vthread-3| I120: Your GCC version: 4.7
    2012-12-27T17:25:46.576Z| vthread-3| I120: Header path /lib/modules/3.5.0-17-generic/build/include for kernel release 3.5.0-17-generic is valid.
    2012-12-27T17:25:46.576Z| vthread-3| I120: Building module vmci.
    2012-12-27T17:25:46.576Z| vthread-3| I120: Extracting the sources of the vmci module.
    2012-12-27T17:25:46.590Z| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.5.0-17-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7
    2012-12-27T17:25:47.171Z| vthread-3| I120: Building module vsock.
    2012-12-27T17:25:47.171Z| vthread-3| I120: Extracting the sources of the vsock module.
    2012-12-27T17:25:47.181Z| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vsock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.5.0-17-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.7
    2012-12-27T17:25:50.661Z| vthread-3| I120: Installing module vsock from /tmp/vmware-root/modules/vsock.o to /lib/modules/3.5.0-17-generic/misc.
    2012-12-27T17:25:50.661Z| vthread-3| I120: Registering file: /usr/lib/vmware-installer/2.0/vmware-installer --register-file vmware-vmx regular /lib/modules/3.5.0-17-generic/misc/vsock.ko

    Se me poderem dar uma ajuda, fico muito agradecido.
     
  2. Nemesis11

    Nemesis11 Power Member

    Já experimentaste a versão 9.0.1?

    Versões anteriores a esta versão, não eram oficialmente suportadas e só funcionavam com patchs não oficiais. Está relacionado com a versão de kernel, que penso ser a 3.5. Não se conseguia compilar os modulos contra esta versão de kernel.

    A versão 9.0.1 resolveu esses problemas.
     
  3. DigitalBoy

    DigitalBoy Power Member

    Sim, isso costuma resolver muitas vezes os problemas.

    Caso não funcione, é procurares por "vmware workstation patch linux" que existem varios patches (ou varias edições do mesmo) para corrigir os "bugs" dos modulos aquando da compilação.(PS: Não achei um guia simples para aplicar isto noutras distos, se alguem quiser contribuir com o link para *buntu/debian penso que seria relevante)

    Cumprimentos
     
  4. jutexol

    jutexol Power Member

    Antes de mais, obrigado pelas ajudas.

    Depois de muito batalhar consegui.
    Ficam aqui as dicas para quem precisar.
    Primeiro que tudo, devemos desinstalar as versões antigas, para isso abrimos um terminal e escrevemos o seguinte:

    sudo vmware-installer -u vmware-workstation

    Depois de termos feito o download da versão 9.0.1 do VMware Workstatio, instalamo-lo abrindo um terminal dentro da pasta de transferências e damos a seguinte instrução:

    sudo sh ./VMware-Workstation-Full-9.0.0-812388.x86_64.bundle

    Fazemos o download do patch em:

    http://communities.vmware.com/servl.../2103172-94260/vmware9_kernel35_patch.tar.bz2

    Voltamos a abrir o terminal na pasta de transferências e damos as seguintes instruções:

    $tar xfj vmware9_kernel35_patch.tar.bz2
    $ cd vmware9_kernel3.5_patch
    $ sudo ./patch-modules_3.5.0.sh

    E é tudo.
     
  5. Nemesis11

    Nemesis11 Power Member

    jutexol, o que usaste, pela linha de comandos que colocaste, é a versão 9.0.0 e não a versão 9.0.1

    Se tivesses usado a versão 9.0.1, não precisavas desse patch.
     
  6. jutexol

    jutexol Power Member

    Tens razão, foi o que eu arranjei na altura, apenas um pequeno descuido!

    Obrigado pela ajuda.
     

Partilhar esta Página