Enviado em 16/02/2017 - 19:52h
Olá pessoal, compilei agora pouco o kernel pré-lançado (o 4.9.10) e instalei no meu Slack. Funcionou tudo normal (como antes)
bash-4.4# vmware
Stopping VMware services:
VMware Authentication Daemon[ OK ]
VM communication interface socket family[ OK ]
Virtual machine communication interface[ OK ]
Virtual machine monitor[ OK ]
Blocking file system[ OK ]
make: Entering directory '/tmp/modconfig-N0PobA/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.9.10/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.9.10'
CC [M] /tmp/modconfig-N0PobA/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-N0PobA/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-N0PobA/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-N0PobA/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-N0PobA/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-N0PobA/vmmon-only/common/hashFunc.o
CC [M] /tmp/modconfig-N0PobA/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-N0PobA/vmmon-only/common/cpuid.o
/tmp/modconfig-N0PobA/vmmon-only/linux/hostif.c: In function ‘HostIFGetUserPages’:
/tmp/modconfig-N0PobA/vmmon-only/linux/hostif.c:1166:67: error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [-Werror=incompatible-pointer-types]
retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);
^
In file included from /tmp/modconfig-N0PobA/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-N0PobA/vmmon-only/linux/hostif.c:32:
./include/linux/mm.h:1280:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-N0PobA/vmmon-only/linux/hostif.c:1166:13: error: too many arguments to function ‘get_user_pages’
retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);
^
In file included from /tmp/modconfig-N0PobA/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-N0PobA/vmmon-only/linux/hostif.c:32:
./include/linux/mm.h:1280:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-N0PobA/vmmon-only/linux/driver.c:1283:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:293: /tmp/modconfig-N0PobA/vmmon-only/linux/hostif.o] Error 1
make[2]: ** Esperando que outros processos terminem.
make[1]: *** [Makefile:1490: _module_/tmp/modconfig-N0PobA/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-4.9.10'
make: *** [Makefile:120: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-N0PobA/vmmon-only'
make: Entering directory '/tmp/modconfig-N0PobA/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.9.10/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.9.10'
CC [M] /tmp/modconfig-N0PobA/vmnet-only/driver.o
CC [M] /tmp/modconfig-N0PobA/vmnet-only/hub.o
CC [M] /tmp/modconfig-N0PobA/vmnet-only/userif.o
CC [M] /tmp/modconfig-N0PobA/vmnet-only/netif.o
/tmp/modconfig-N0PobA/vmnet-only/userif.c: In function ‘UserifLockPage’:
/tmp/modconfig-N0PobA/vmnet-only/userif.c:117:43: error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [-Werror=incompatible-pointer-types]
retval = get_user_pages(addr, 1, 1, 0, &page, NULL);
^
In file included from ./include/linux/highmem.h:7:0,
from /tmp/modconfig-N0PobA/vmnet-only/userif.c:26:
./include/linux/mm.h:1280:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/tmp/modconfig-N0PobA/vmnet-only/userif.c:117:13: error: too many arguments to function ‘get_user_pages’
retval = get_user_pages(addr, 1, 1, 0, &page, NULL);
^
In file included from ./include/linux/highmem.h:7:0,
from /tmp/modconfig-N0PobA/vmnet-only/userif.c:26:
./include/linux/mm.h:1280:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:293: /tmp/modconfig-N0PobA/vmnet-only/userif.o] Error 1
make[2]: ** Esperando que outros processos terminem.
In file included from ./include/linux/pci.h:35:0,
from /tmp/modconfig-N0PobA/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-N0PobA/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2253:0: warning: "PCI_VENDOR_ID_VMWARE" re-definido
#define PCI_VENDOR_ID_VMWARE 0x15ad
^
In file included from /tmp/modconfig-N0PobA/vmnet-only/net.h:38:0,
from /tmp/modconfig-N0PobA/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-N0PobA/vmnet-only/netif.c:42:
/tmp/modconfig-N0PobA/vmnet-only/vm_device_version.h:56:0: note: essa é a localização da definição anterior
#define PCI_VENDOR_ID_VMWARE 0x15AD
^
/tmp/modconfig-N0PobA/vmnet-only/netif.c: In function ‘VNetNetIf_Create’:
/tmp/modconfig-N0PobA/vmnet-only/netif.c:153:64: error: macro "alloc_netdev" requer 4 argumentos, mas apenas 3 foram fornecidos
dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
^
/tmp/modconfig-N0PobA/vmnet-only/netif.c:153:10: error: ‘alloc_netdev’ undeclared (first use in this function)
dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
^
/tmp/modconfig-N0PobA/vmnet-only/netif.c:153:10: note: each undeclared identifier is reported only once for each function it appears in
/tmp/modconfig-N0PobA/vmnet-only/netif.c: At top level:
/tmp/modconfig-N0PobA/vmnet-only/netif.c:85:1: warning: ‘VNetNetIfSetup’ defined but not used [-Wunused-function]
VNetNetIfSetup(struct net_device *dev) // IN:
^
make[2]: *** [scripts/Makefile.build:293: /tmp/modconfig-N0PobA/vmnet-only/netif.o] Error 1
make[1]: *** [Makefile:1490: _module_/tmp/modconfig-N0PobA/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-4.9.10'
make: *** [Makefile:120: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-N0PobA/vmnet-only'
Starting VMware services:
Virtual machine monitor[FAILED]
Virtual machine communication interface[ OK ]
VM communication interface socket family[ OK ]
Blocking file system[ OK ]
Virtual ethernet[FAILED]
VMware Authentication Daemon[ OK ]