[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! ;-)