mangodeupp
(usa Outra)
Enviado em 16/04/2015 - 07:57h
gustavovalerio escreveu:
A mensagem diz que alguns módulos devem ser compilados no kernel antes de iniciar o VmWare...
Tenta isso no terminal:
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install build-essential gcc
sudo vmware-modconfig --console --install-all
Ninguém é sábio o suficiente que não possa aprender,
nem ignorante o suficiente que não possa ensinar. -- Autor Desconhecido
deu esse erro aí acho que o kernel 4.0 lowlatency não deve ser compatível...
anderson@anderson-APMCP61-D3 ~ $ sudo apt-get install linux-headers-$(uname -r)
[sudo] password for anderson:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
linux-headers-4.0.0-040000-lowlatency já é a versão mais nova.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
anderson@anderson-APMCP61-D3 ~ $ sudo apt-get install build-essential gcc
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
build-essential já é a versão mais nova.
gcc já é a versão mais nova.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
anderson@anderson-APMCP61-D3 ~ $ sudo vmware-modconfig --console --install-all
Stopping 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
Using 2.6.x kernel build system.
make: Entrando no diretório `/tmp/modconfig-TjAdNn/vmmon-only'
/usr/bin/make -C /lib/modules/4.0.0-040000-lowlatency/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entrando no diretório `/usr/src/linux-headers-4.0.0-040000-lowlatency'
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/common/hashFunc.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/common/task.o
CC [M] /tmp/modconfig-TjAdNn/vmmon-only/common/vmx86.o
In file included from /tmp/modconfig-TjAdNn/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-TjAdNn/vmmon-only/common/vmx86.c:40:
/tmp/modconfig-TjAdNn/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#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-TjAdNn/vmmon-only/common/vmx86.c:31:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-TjAdNn/vmmon-only/linux/driverLog.h:33:0,
from /tmp/modconfig-TjAdNn/vmmon-only/linux/driverLog.c:31:
/tmp/modconfig-TjAdNn/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-TjAdNn/vmmon-only/./include/compat_kernel.h:23,
from /tmp/modconfig-TjAdNn/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-TjAdNn/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/modconfig-TjAdNn/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-TjAdNn/vmmon-only/vmcore/moduleloop.c:33:
/tmp/modconfig-TjAdNn/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-TjAdNn/vmmon-only/vmcore/moduleloop.c:30:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-TjAdNn/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-TjAdNn/vmmon-only/linux/driver.c:46:
/tmp/modconfig-TjAdNn/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#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-TjAdNn/vmmon-only/linux/driver.c:25:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-TjAdNn/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-TjAdNn/vmmon-only/linux/hostif.c:82:
/tmp/modconfig-TjAdNn/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#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-TjAdNn/vmmon-only/./include/compat_page.h:23,
from /tmp/modconfig-TjAdNn/vmmon-only/linux/hostif.c:32:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/tmp/modconfig-TjAdNn/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-TjAdNn/vmmon-only/./include/vmware.h:39:0,
from /tmp/modconfig-TjAdNn/vmmon-only/linux/driver.c:46:
/tmp/modconfig-TjAdNn/vmmon-only/./include/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#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-TjAdNn/vmmon-only/linux/driver.c:25:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
LD [M] /tmp/modconfig-TjAdNn/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-TjAdNn/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-TjAdNn/vmmon-only/vmmon.ko
make[1]: Saindo do diretório `/usr/src/linux-headers-4.0.0-040000-lowlatency'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entrando no diretório `/tmp/modconfig-TjAdNn/vmmon-only'
make[1]: `postbuild' está atualizado.
make[1]: Saindo do diretório `/tmp/modconfig-TjAdNn/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Saindo do diretório `/tmp/modconfig-TjAdNn/vmmon-only'
Using 2.6.x kernel build system.
make: Entrando no diretório `/tmp/modconfig-TjAdNn/vmnet-only'
/usr/bin/make -C /lib/modules/4.0.0-040000-lowlatency/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entrando no diretório `/usr/src/linux-headers-4.0.0-040000-lowlatency'
CC [M] /tmp/modconfig-TjAdNn/vmnet-only/driver.o
CC [M] /tmp/modconfig-TjAdNn/vmnet-only/hub.o
CC [M] /tmp/modconfig-TjAdNn/vmnet-only/userif.o
CC [M] /tmp/modconfig-TjAdNn/vmnet-only/netif.o
In file included from /tmp/modconfig-TjAdNn/vmnet-only/monitorAction_exported.h:31:0,
from /tmp/modconfig-TjAdNn/vmnet-only/vnet.h:29,
from /tmp/modconfig-TjAdNn/vmnet-only/vnetInt.h:24,
from /tmp/modconfig-TjAdNn/vmnet-only/hub.c:43:
/tmp/modconfig-TjAdNn/vmnet-only/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-TjAdNn/vmnet-only/hub.c:23:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /tmp/modconfig-TjAdNn/vmnet-only/monitorAction_exported.h:31:0,
from /tmp/modconfig-TjAdNn/vmnet-only/vnet.h:29,
from /tmp/modconfig-TjAdNn/vmnet-only/vnetInt.h:24,
from /tmp/modconfig-TjAdNn/vmnet-only/driver.c:51:
/tmp/modconfig-TjAdNn/vmnet-only/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-TjAdNn/vmnet-only/driver.c:23:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/tmp/modconfig-TjAdNn/vmnet-only/hub.c: In function ‘VNetHubFindHubByID’:
/tmp/modconfig-TjAdNn/vmnet-only/hub.c:132:49: warning: argument to ‘sizeof’ in ‘memcmp’ call is the same expression as the first source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memcmp(idNum, currHub->id.pvnID, sizeof idNum))) {
^
/tmp/modconfig-TjAdNn/vmnet-only/hub.c: In function ‘VNetHubAlloc’:
/tmp/modconfig-TjAdNn/vmnet-only/hub.c:315:36: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘uint8 *’ as the destination; expected ‘uint8’ or an explicit length [-Wsizeof-pointer-memaccess]
memcpy(hub->id.pvnID, id, sizeof id);
^
In file included from /tmp/modconfig-TjAdNn/vmnet-only/monitorAction_exported.h:31:0,
from /tmp/modconfig-TjAdNn/vmnet-only/vnet.h:29,
from /tmp/modconfig-TjAdNn/vmnet-only/vnetInt.h:24,
from /tmp/modconfig-TjAdNn/vmnet-only/netif.c:42:
/tmp/modconfig-TjAdNn/vmnet-only/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from include/linux/kernel.h:13:0,
from /tmp/modconfig-TjAdNn/vmnet-only/netif.c:23:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/tmp/modconfig-TjAdNn/vmnet-only/driver.c: In function ‘VNetFileOpUnlockedIoctl’:
/tmp/modconfig-TjAdNn/vmnet-only/driver.c:1238:20: error: ‘struct file’ has no member named ‘f_dentry’
if (filp && filp->f_dentry) {
^
/tmp/modconfig-TjAdNn/vmnet-only/driver.c:1239:19: error: ‘struct file’ has no member named ‘f_dentry’
inode = filp->f_dentry->d_inode;
^
In file included from /tmp/modconfig-TjAdNn/vmnet-only/monitorAction_exported.h:31:0,
from /tmp/modconfig-TjAdNn/vmnet-only/vnet.h:29,
from /tmp/modconfig-TjAdNn/vmnet-only/vnetInt.h:24,
from /tmp/modconfig-TjAdNn/vmnet-only/userif.c:45:
/tmp/modconfig-TjAdNn/vmnet-only/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#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-TjAdNn/vmnet-only/userif.c:26:
include/linux/printk.h:103:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/tmp/modconfig-TjAdNn/vmnet-only/userif.c: In function ‘VNetCopyDatagram’:
/tmp/modconfig-TjAdNn/vmnet-only/userif.c:470:4: error: implicit declaration of function ‘skb_copy_datagram_iovec’ [-Werror=implicit-function-declaration]
return skb_copy_datagram_iovec(skb, 0, &iov, len);
^
make[2]: ** [/tmp/modconfig-TjAdNn/vmnet-only/driver.o] Erro 1
make[2]: ** Esperando que outros processos terminem.
cc1: some warnings being treated as errors
make[2]: ** [/tmp/modconfig-TjAdNn/vmnet-only/userif.o] Erro 1
In file included from include/linux/pci.h:35:0,
from /tmp/modconfig-TjAdNn/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-TjAdNn/vmnet-only/netif.c:43:
include/linux/pci_ids.h:2251:0: warning: "PCI_VENDOR_ID_VMWARE" redefined [enabled by default]
#define PCI_VENDOR_ID_VMWARE 0x15ad
^
In file included from /tmp/modconfig-TjAdNn/vmnet-only/net.h:38:0,
from /tmp/modconfig-TjAdNn/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-TjAdNn/vmnet-only/netif.c:42:
/tmp/modconfig-TjAdNn/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
^
/tmp/modconfig-TjAdNn/vmnet-only/netif.c: In function ‘VNetNetIf_Create’:
/tmp/modconfig-TjAdNn/vmnet-only/netif.c:152:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
^
/tmp/modconfig-TjAdNn/vmnet-only/netif.c:152:10: error: ‘alloc_netdev’ undeclared (first use in this function)
dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
^
/tmp/modconfig-TjAdNn/vmnet-only/netif.c:152:10: note: each undeclared identifier is reported only once for each function it appears in
/tmp/modconfig-TjAdNn/vmnet-only/netif.c: At top level:
/tmp/modconfig-TjAdNn/vmnet-only/netif.c:85:1: warning: ‘VNetNetIfSetup’ defined but not used [-Wunused-function]
VNetNetIfSetup(struct net_device *dev) // IN:
^
make[2]: ** [/tmp/modconfig-TjAdNn/vmnet-only/netif.o] Erro 1
make[1]: ** [_module_/tmp/modconfig-TjAdNn/vmnet-only] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-4.0.0-040000-lowlatency'
make: ** [vmnet.ko] Erro 2
make: Saindo do diretório `/tmp/modconfig-TjAdNn/vmnet-only'
Unable to install all modules. See log for details.