Resolvendo o problema do VMware Player no Ubuntu 15.04 Vivid Vervet

Publicado por Fernando "Eagle" De Sousa em 16/04/2015

[ Hits: 12.852 ]

Blog: http://fernandodesousa.wordpress.com

 


Resolvendo o problema do VMware Player no Ubuntu 15.04 Vivid Vervet



Como coloquei pra funcionar o VMWare Player após migrar do Ubuntu 14.04 LTS para o 15.04 Beta.

Sendo este minha contribuição a título de dica para o VOL (do qual participo há anos), gostaria de fazê-lo de forma simples e clara. Meu problema começou quando efetuei a atualização do Ubuntu 14.04 LTS para a versão 15.04 Beta (Vivid Vervet), ouvi falar muito bem da atualização e fiquei entusiasmado com a possibilidade de contribuir para o projeto.

Após a atualização (que demorou um pouco devido à minha conexão), passei a efetuar as verificações de praxe, se as placas de rede e vídeo estavam operacionais, principais programas funcionando e aproveitando para testar a performance do sistema em si. Ocorre que quando coloquei pra rodar o VMware Player, o mesmo não inicializava, apresentava uma mensagem em alerta:

"Before you can run VMware, several modules must be compiled and loaded into running kernel."
Com as opções "Cancel" ou "Install".

Como todo entusiasta escolhi a opção "Installâ (eu e todo mundo que se deparou com isso pelo que eu pesquisei na net), após uma série de processamento demonstrado numa caixa de diálogo terminava sempre em:

"Unable to start services. See log file /tmp/vmware-root/vmware-modconfig-****.log for details."
(foram vários desses logs)

Pergunta daqui, pesquisa dali, testei diversas soluções postadas aqui mas com outras versões, porém sem sucesso, até que localizei na web (no site https://wiki.archlinux.org) o problema e a solução descrita abaixo, depois de resolvida, parece muito simples.

Ao que parece já é um problema conhecido do pessoal do site (diversas ligações externas em hiperlinks). O kernel 3.19 do Ubuntu 15.04 causa uma falha de criação da conexão virtual para que o Vmware Player possa funcionar com perfeição, desse modo criou-se um patch para essa correção (você pode acessar e ver aqui) que deve ser aplicado conforme passos a seguir.

1. Baixar o patch na pasta /tmp digitando no terminal:

curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch

2. Acessar a biblioteca do VM e extrair o arquivo vmnet conforme a seguir:

cd /usr/lib/vmware/modules/source
# tar -xf vmnet.tar


3. Aplicar a correção:

# patch -p0 -i /tmp/vmnet-3.19.patch

4. Recriar o arquivo:

# tar -cf vmnet.tar vmnet-only

5. Remover os arquivos de sobra:

# rm -r *-only

6. Recompilar os módulos:

# vmware-modconfig --console --install-all

Pronto. O VMware Player voltou a funcionar e startou a apliance que eu tinha anteriormente, espero que possa ter sido de grande valia a todos.

Outras dicas deste autor
Nenhuma dica encontrada.
Leitura recomendada

Bloqueando Meebo no Linux (iptables)

VPN ponto a ponto com chaves estáticas

Checando dependências de pacotes em Debian Linux e derivados

Solução para a falta de codecs do Ubuntu (e mais)

Umask, dmask e fmask - qual a diferença entre esses parâmetros?

  

Comentários
[1] Comentário enviado por gabrielpst em 25/04/2015 - 11:18h

Bom Dia,

Caro,

Muito obrigado, resolveu meu problema, muito massa mesmo.

[2] Comentário enviado por Mc.Eagle em 25/04/2015 - 15:37h

Gabriel disponha, é meu querer contribuir para o desenrolar da comunidade, cada dia mais e mais.

[3] Comentário enviado por edipo.magrelo em 12/05/2015 - 15:16h

Demorei um pouco a solucionar o problema pois meu vmware player não estava na versão 7. E no comando
# vmware-modconfig --console --install-all

No final retornava o erro:
make: Leaving directory '/tmp/modconfig-ZZWaBv/vmmon-only'
make: *** /tmp/modconfig-ZZWaBv/vmnet-only: Arquivo ou diretório não encontrado. Pare.
Unable to install all modules. See log for details.

Baixei o mais novo Vmware Player (VMware-Player-7.1.0-2496824.x86_64.bundle)
Instalei ele.
Executei os passos acima, ai sim tudo funcionou!!!
Vlw pela colaboração, abcs


[4] Comentário enviado por Mc.Eagle em 12/05/2015 - 15:21h


Excelente! Fico feliz que tenha dado certo. Sds. Força e Honra.

[5] Comentário enviado por h0ru5 em 26/05/2015 - 16:12h

Obrigado meu amigo. Sua ajuda foi de grande valia!!

[6] Comentário enviado por Mc.Eagle em 27/05/2015 - 19:46h

Um prazer ajudar. Espero contribuir muito mais para a comunidade.
Sds. Força & Honra!
Fernando "Eagle" de Sousa

[7] Comentário enviado por ukgimenes em 07/08/2015 - 11:14h

nao funcionou aqui

[8] Comentário enviado por Mc.Eagle em 07/08/2015 - 11:22h


[7] Comentário enviado por ukgimenes em 07/08/2015 - 11:14h

nao funcionou aqui


Qual a sua versão do SO e do VM?

[9] Comentário enviado por ukgimenes em 07/08/2015 - 23:35h

SO ubuntu 15.04 VM 6.

[10] Comentário enviado por ukgimenes em 07/08/2015 - 23:36h


[8] Comentário enviado por Mc.Eagle em 07/08/2015 - 11:22h


[7] Comentário enviado por ukgimenes em 07/08/2015 - 11:14h

nao funcionou aqui


Qual a sua versão do SO e do VM?


SO ubuntu 15.04 VM 6.

[11] Comentário enviado por ukgimenes em 08/08/2015 - 00:05h


[10] Comentário enviado por ukgimenes em 07/08/2015 - 23:36h


[8] Comentário enviado por Mc.Eagle em 07/08/2015 - 11:22h


[7] Comentário enviado por ukgimenes em 07/08/2015 - 11:14h

nao funcionou aqui


Qual a sua versão do SO e do VM?

SO ubuntu 15.04 VM 6.


vou postar a brincadeira aqui, eu nao sei o que colocar na hora que ele pede o patch da uma olhada desde o inicio. Obrigado

andre@AG:~$ sudo -i
[sudo] password for andre:
root@AG:~# apt-get install dkms
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Utilize 'apt-get autoremove' para os remover.
Os NOVOS pacotes a seguir serão instalados:
dkms
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 65,5 kB de arquivos.
Depois desta operação, 351 kB adicionais de espaço em disco serão usados.
Obter:1 http://br.archive.ubuntu.com/ubuntu/ vivid/main dkms all 2.2.0.3-2ubuntu3 [65,5 kB]
Baixados 65,5 kB em 10s (6.222 B/s)
A seleccionar pacote anteriormente não seleccionado dkms.
(Lendo banco de dados ... 284952 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../dkms_2.2.0.3-2ubuntu3_all.deb ...
A descompactar dkms (2.2.0.3-2ubuntu3) ...
A processar 'triggers' para man-db (2.7.0.2-5) ...
Configurando dkms (2.2.0.3-2ubuntu3) ...
root@AG:~# curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1596 100 1596 0 0 342 0 0:00:04 0:00:04 --:--:-- 385
root@AG:~# cd /usr/lib/vmware/modules/source
root@AG:/usr/lib/vmware/modules/source# tar -xf vmnet.tar
root@AG:/usr/lib/vmware/modules/source# patch -p0 -i /tmp/vmnet-3.19.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/driver.c vmnet-only/driver.c
|--- vmnet-only.a/driver.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/driver.c 2015-02-09 15:40:10.916640592 -0500
--------------------------
File to patch: patch -p0 -i /tmp/vmnet-3.19.patch
patch -p0 -i /tmp/vmnet-3.19.patch: No such file or directory
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/userif.c vmnet-only/userif.c
|--- vmnet-only.a/userif.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/userif.c 2015-02-09 15:41:02.150847338 -0500
--------------------------
File to patch: vmnet-3.19.patch
vmnet-3.19.patch: No such file or directory
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
root@AG:/usr/lib/vmware/modules/source# patch -p0 -i /tmp/vmnet-3.19.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/driver.c vmnet-only/driver.c
|--- vmnet-only.a/driver.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/driver.c 2015-02-09 15:40:10.916640592 -0500
--------------------------
File to patch: /tmp/vmnet-3.19.patch
patching file /tmp/vmnet-3.19.patch
Hunk #1 FAILED at 265.
Hunk #2 FAILED at 1191.
2 out of 2 hunks FAILED -- saving rejects to file /tmp/vmnet-3.19.patch.rej
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/userif.c vmnet-only/userif.c
|--- vmnet-only.a/userif.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/userif.c 2015-02-09 15:41:02.150847338 -0500
--------------------------
File to patch:
Skip this patch? [y] n
File to patch: patch -p0 -i /tmp/vmnet-3.19.patch
patch -p0 -i /tmp/vmnet-3.19.patch: No such file or directory
Skip this patch? [y] n
File to patch: ---
---: No such file or directory
Skip this patch? [y] n
File to patch: mv vmnet.tar vmnet.tar.SAVED
mv vmnet.tar vmnet.tar.SAVED: No such file or directory
Skip this patch? [y] n
File to patch: '/tmp/vmnet-3.19.patch'
'/tmp/vmnet-3.19.patch' : No such file or directory
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
root@AG:/usr/lib/vmware/modules/source# mv vmnet.tar vmnet.tar.SAVED
root@AG:/usr/lib/vmware/modules/source# tar -cf vmnet.tar vmnet-only
tar: vmnet-only: Não é possível executar a ação: stat: Arquivo ou diretório não encontrado
tar: Saindo com estado de falha devido a erros anteriores
root@AG:/usr/lib/vmware/modules/source# rm -r vmnet-only
rm: não foi possível remover “vmnet-only”: Arquivo ou diretório não encontrado
root@AG:/usr/lib/vmware/modules/source# vmware-modconfig --console --install-allStopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: Entering directory '/tmp/modconfig-v2ywTz/vmmon-only'
Using 2.6.x kernel build system.
/usr/bin/make -C /lib/modules/3.19.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-23-generic'
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.h:33:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.c:31:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-v2ywTz/vmmon-only/./include/compat_kernel.h:23,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.c:27:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:46:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/wait.h:6,
from include/linux/fs.h:6,
from include/linux/highmem.h:4,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:25:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:1342:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.c:82:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from /tmp/modconfig-v2ywTz/vmmon-only/./include/compat_page.h:23,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.c:32:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:46:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/wait.h:6,
from include/linux/fs.h:6,
from include/linux/highmem.h:4,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:25:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/hashFunc.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/task.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.c:40:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/sched.h:17,
from /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.c:31:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.c:33:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.c:30:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
LD [M] /tmp/modconfig-v2ywTz/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-v2ywTz/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-v2ywTz/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-23-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-v2ywTz/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-v2ywTz/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-v2ywTz/vmmon-only'
make: *** /tmp/modconfig-v2ywTz/vmnet-only: Arquivo ou diretório não encontrado. Pare.
Unable to install all modules. See log for details.

root@AG:/usr/lib/vmware/modules/source#

[12] Comentário enviado por Mc.Eagle em 08/08/2015 - 20:54h


[11] Comentário enviado por ukgimenes em 08/08/2015 - 00:05h


[10] Comentário enviado por ukgimenes em 07/08/2015 - 23:36h


[8] Comentário enviado por Mc.Eagle em 07/08/2015 - 11:22h


[7] Comentário enviado por ukgimenes em 07/08/2015 - 11:14h

nao funcionou aqui


Qual a sua versão do SO e do VM?

SO ubuntu 15.04 VM 6.

vou postar a brincadeira aqui, eu nao sei o que colocar na hora que ele pede o patch da uma olhada desde o inicio. Obrigado

andre@AG:~$ sudo -i
[sudo] password for andre:
root@AG:~# apt-get install dkms
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Utilize 'apt-get autoremove' para os remover.
Os NOVOS pacotes a seguir serão instalados:
dkms
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 65,5 kB de arquivos.
Depois desta operação, 351 kB adicionais de espaço em disco serão usados.
Obter:1 http://br.archive.ubuntu.com/ubuntu/ vivid/main dkms all 2.2.0.3-2ubuntu3 [65,5 kB]
Baixados 65,5 kB em 10s (6.222 B/s)
A seleccionar pacote anteriormente não seleccionado dkms.
(Lendo banco de dados ... 284952 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../dkms_2.2.0.3-2ubuntu3_all.deb ...
A descompactar dkms (2.2.0.3-2ubuntu3) ...
A processar 'triggers' para man-db (2.7.0.2-5) ...
Configurando dkms (2.2.0.3-2ubuntu3) ...
root@AG:~# curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1596 100 1596 0 0 342 0 0:00:04 0:00:04 --:--:-- 385
root@AG:~# cd /usr/lib/vmware/modules/source
root@AG:/usr/lib/vmware/modules/source# tar -xf vmnet.tar
root@AG:/usr/lib/vmware/modules/source# patch -p0 -i /tmp/vmnet-3.19.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/driver.c vmnet-only/driver.c
|--- vmnet-only.a/driver.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/driver.c 2015-02-09 15:40:10.916640592 -0500
--------------------------
File to patch: patch -p0 -i /tmp/vmnet-3.19.patch
patch -p0 -i /tmp/vmnet-3.19.patch: No such file or directory
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/userif.c vmnet-only/userif.c
|--- vmnet-only.a/userif.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/userif.c 2015-02-09 15:41:02.150847338 -0500
--------------------------
File to patch: vmnet-3.19.patch
vmnet-3.19.patch: No such file or directory
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
root@AG:/usr/lib/vmware/modules/source# patch -p0 -i /tmp/vmnet-3.19.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/driver.c vmnet-only/driver.c
|--- vmnet-only.a/driver.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/driver.c 2015-02-09 15:40:10.916640592 -0500
--------------------------
File to patch: /tmp/vmnet-3.19.patch
patching file /tmp/vmnet-3.19.patch
Hunk #1 FAILED at 265.
Hunk #2 FAILED at 1191.
2 out of 2 hunks FAILED -- saving rejects to file /tmp/vmnet-3.19.patch.rej
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/userif.c vmnet-only/userif.c
|--- vmnet-only.a/userif.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/userif.c 2015-02-09 15:41:02.150847338 -0500
--------------------------
File to patch:
Skip this patch? [y] n
File to patch: patch -p0 -i /tmp/vmnet-3.19.patch
patch -p0 -i /tmp/vmnet-3.19.patch: No such file or directory
Skip this patch? [y] n
File to patch: ---
---: No such file or directory
Skip this patch? [y] n
File to patch: mv vmnet.tar vmnet.tar.SAVED
mv vmnet.tar vmnet.tar.SAVED: No such file or directory
Skip this patch? [y] n
File to patch: '/tmp/vmnet-3.19.patch'
'/tmp/vmnet-3.19.patch' : No such file or directory
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
root@AG:/usr/lib/vmware/modules/source# mv vmnet.tar vmnet.tar.SAVED
root@AG:/usr/lib/vmware/modules/source# tar -cf vmnet.tar vmnet-only
tar: vmnet-only: Não é possível executar a ação: stat: Arquivo ou diretório não encontrado
tar: Saindo com estado de falha devido a erros anteriores
root@AG:/usr/lib/vmware/modules/source# rm -r vmnet-only
rm: não foi possível remover “vmnet-only”: Arquivo ou diretório não encontrado
root@AG:/usr/lib/vmware/modules/source# vmware-modconfig --console --install-allStopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: Entering directory '/tmp/modconfig-v2ywTz/vmmon-only'
Using 2.6.x kernel build system.
/usr/bin/make -C /lib/modules/3.19.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-23-generic'
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.h:33:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.c:31:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-v2ywTz/vmmon-only/./include/compat_kernel.h:23,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.c:27:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:46:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/wait.h:6,
from include/linux/fs.h:6,
from include/linux/highmem.h:4,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:25:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:1342:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.c:82:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from /tmp/modconfig-v2ywTz/vmmon-only/./include/compat_page.h:23,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.c:32:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:46:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/wait.h:6,
from include/linux/fs.h:6,
from include/linux/highmem.h:4,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:25:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/hashFunc.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/task.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.c:40:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/sched.h:17,
from /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.c:31:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.c:33:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.c:30:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
LD [M] /tmp/modconfig-v2ywTz/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-v2ywTz/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-v2ywTz/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-23-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-v2ywTz/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-v2ywTz/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-v2ywTz/vmmon-only'
make: *** /tmp/modconfig-v2ywTz/vmnet-only: Arquivo ou diretório não encontrado. Pare.
Unable to install all modules. See log for details.

root@AG:/usr/lib/vmware/modules/source#


Analisando o comentário do nosso amigo edipo.magrelo lá em cima, acredito que o problema seja a versão da sua VMPlayer, no caso a versão 6. Recomendo que atualize a versão (não esqueça de salvar as suas máquinas virtuais para não perdê-las) e creio que tudo dará certo. Força e Honra! ;-)

[13] Comentário enviado por ukgimenes em 15/08/2015 - 00:11h


[12] Comentário enviado por Mc.Eagle em 08/08/2015 - 20:54h


[11] Comentário enviado por ukgimenes em 08/08/2015 - 00:05h


[10] Comentário enviado por ukgimenes em 07/08/2015 - 23:36h


[8] Comentário enviado por Mc.Eagle em 07/08/2015 - 11:22h


[7] Comentário enviado por ukgimenes em 07/08/2015 - 11:14h

nao funcionou aqui


Qual a sua versão do SO e do VM?

SO ubuntu 15.04 VM 6.

vou postar a brincadeira aqui, eu nao sei o que colocar na hora que ele pede o patch da uma olhada desde o inicio. Obrigado

andre@AG:~$ sudo -i
[sudo] password for andre:
root@AG:~# apt-get install dkms
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Utilize 'apt-get autoremove' para os remover.
Os NOVOS pacotes a seguir serão instalados:
dkms
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 65,5 kB de arquivos.
Depois desta operação, 351 kB adicionais de espaço em disco serão usados.
Obter:1 http://br.archive.ubuntu.com/ubuntu/ vivid/main dkms all 2.2.0.3-2ubuntu3 [65,5 kB]
Baixados 65,5 kB em 10s (6.222 B/s)
A seleccionar pacote anteriormente não seleccionado dkms.
(Lendo banco de dados ... 284952 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../dkms_2.2.0.3-2ubuntu3_all.deb ...
A descompactar dkms (2.2.0.3-2ubuntu3) ...
A processar 'triggers' para man-db (2.7.0.2-5) ...
Configurando dkms (2.2.0.3-2ubuntu3) ...
root@AG:~# curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1596 100 1596 0 0 342 0 0:00:04 0:00:04 --:--:-- 385
root@AG:~# cd /usr/lib/vmware/modules/source
root@AG:/usr/lib/vmware/modules/source# tar -xf vmnet.tar
root@AG:/usr/lib/vmware/modules/source# patch -p0 -i /tmp/vmnet-3.19.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/driver.c vmnet-only/driver.c
|--- vmnet-only.a/driver.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/driver.c 2015-02-09 15:40:10.916640592 -0500
--------------------------
File to patch: patch -p0 -i /tmp/vmnet-3.19.patch
patch -p0 -i /tmp/vmnet-3.19.patch: No such file or directory
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/userif.c vmnet-only/userif.c
|--- vmnet-only.a/userif.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/userif.c 2015-02-09 15:41:02.150847338 -0500
--------------------------
File to patch: vmnet-3.19.patch
vmnet-3.19.patch: No such file or directory
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
root@AG:/usr/lib/vmware/modules/source# patch -p0 -i /tmp/vmnet-3.19.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/driver.c vmnet-only/driver.c
|--- vmnet-only.a/driver.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/driver.c 2015-02-09 15:40:10.916640592 -0500
--------------------------
File to patch: /tmp/vmnet-3.19.patch
patching file /tmp/vmnet-3.19.patch
Hunk #1 FAILED at 265.
Hunk #2 FAILED at 1191.
2 out of 2 hunks FAILED -- saving rejects to file /tmp/vmnet-3.19.patch.rej
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/userif.c vmnet-only/userif.c
|--- vmnet-only.a/userif.c 2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/userif.c 2015-02-09 15:41:02.150847338 -0500
--------------------------
File to patch:
Skip this patch? [y] n
File to patch: patch -p0 -i /tmp/vmnet-3.19.patch
patch -p0 -i /tmp/vmnet-3.19.patch: No such file or directory
Skip this patch? [y] n
File to patch: ---
---: No such file or directory
Skip this patch? [y] n
File to patch: mv vmnet.tar vmnet.tar.SAVED
mv vmnet.tar vmnet.tar.SAVED: No such file or directory
Skip this patch? [y] n
File to patch: '/tmp/vmnet-3.19.patch'
'/tmp/vmnet-3.19.patch' : No such file or directory
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
root@AG:/usr/lib/vmware/modules/source# mv vmnet.tar vmnet.tar.SAVED
root@AG:/usr/lib/vmware/modules/source# tar -cf vmnet.tar vmnet-only
tar: vmnet-only: Não é possível executar a ação: stat: Arquivo ou diretório não encontrado
tar: Saindo com estado de falha devido a erros anteriores
root@AG:/usr/lib/vmware/modules/source# rm -r vmnet-only
rm: não foi possível remover “vmnet-only”: Arquivo ou diretório não encontrado
root@AG:/usr/lib/vmware/modules/source# vmware-modconfig --console --install-allStopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: Entering directory '/tmp/modconfig-v2ywTz/vmmon-only'
Using 2.6.x kernel build system.
/usr/bin/make -C /lib/modules/3.19.0-23-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-23-generic'
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.h:33:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.c:31:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-v2ywTz/vmmon-only/./include/compat_kernel.h:23,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driverLog.c:27:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:46:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/wait.h:6,
from include/linux/fs.h:6,
from include/linux/highmem.h:4,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:25:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:1342:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.c:82:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from /tmp/modconfig-v2ywTz/vmmon-only/./include/compat_page.h:23,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/hostif.c:32:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:46:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/wait.h:6,
from include/linux/fs.h:6,
from include/linux/highmem.h:4,
from /tmp/modconfig-v2ywTz/vmmon-only/linux/driver.c:25:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/hashFunc.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/task.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.c:40:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from include/linux/sched.h:17,
from /tmp/modconfig-v2ywTz/vmmon-only/common/vmx86.c:31:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/modconfig-v2ywTz/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.c:33:
/tmp/modconfig-v2ywTz/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-v2ywTz/vmmon-only/vmcore/moduleloop.c:30:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
LD [M] /tmp/modconfig-v2ywTz/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-v2ywTz/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-v2ywTz/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-23-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-v2ywTz/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-v2ywTz/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-v2ywTz/vmmon-only'
make: *** /tmp/modconfig-v2ywTz/vmnet-only: Arquivo ou diretório não encontrado. Pare.
Unable to install all modules. See log for details.

root@AG:/usr/lib/vmware/modules/source#


Analisando o comentário do nosso amigo edipo.magrelo lá em cima, acredito que o problema seja a versão da sua VMPlayer, no caso a versão 6. Recomendo que atualize a versão (não esqueça de salvar as suas máquinas virtuais para não perdê-las) e creio que tudo dará certo. Força e Honra! ;-)


Valeu, vou tentar se der certo posto aqui, abraço

[14] Comentário enviado por Mc.Eagle em 15/08/2015 - 21:31h


[13] Comentário enviado por ukgimenes em 15/08/2015 - 00:11h

Valeu, vou tentar se der certo posto aqui, abraço


Okay se der certo, por gentileza poste mesmo.

[15] Comentário enviado por rondygirao em 02/09/2015 - 22:41h

Não estou conseguindo baixar o patch, dar essa mensagem..


"rl: (7) Failed to connect to pastie.org port 80: A rede está fora de alcance"

Alguem tem esse patch em algum outro canto ?



[16] Comentário enviado por Mc.Eagle em 03/09/2015 - 08:31h


[15] Comentário enviado por rondygirao em 02/09/2015 - 22:41h

Não estou conseguindo baixar o patch, dar essa mensagem..


"rl: (7) Failed to connect to pastie.org port 80: A rede está fora de alcance"

Alguem tem esse patch em algum outro canto ?




Amigo eu testei hoje o link: http://pastie.org/9934018 e está plenamente operacional, creio que o problema esteja na sua conexão.
Sds. Fernando "Eagle" de Sousa.



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts