Hi everyone, I have a problem with VMWare WorkStation 14 after updating Ubuntu kernel. My VMWare Workstation unables to start services after running VMWare Kernel ModuleUpdater. I have tried googling some attemps to fix it. But It doesnt work! Such as: run vmware-modconfig --console --install-all, reinstall many times,...
Its details below:
(vmware-modconfig:20018): IBUS-WARNING **: The owner of /home/haniz/.config/ibus/bus is not root!
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
make: Entering directory '/tmp/modconfig-gRGyZO/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.15.0-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-24-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /tmp/modconfig-gRGyZO/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-gRGyZO/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-gRGyZO/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-gRGyZO/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-gRGyZO/vmmon-only/common/vmx86.o
In file included from /tmp/modconfig-gRGyZO/vmmon-only/./common/vmx86.h:32:0,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/driver.h:32,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c:47:
/tmp/modconfig-gRGyZO/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140
^
In file included from ./arch/x86/include/asm/nospec-branch.h:9:0,
from ./arch/x86/include/asm/paravirt_types.h:46,
from ./arch/x86/include/asm/ptrace.h:92,
from ./arch/x86/include/asm/math_emu.h:5,
from ./arch/x86/include/asm/processor.h:12,
from ./arch/x86/include/asm/cpufeature.h:5,
from ./arch/x86/include/asm/thread_info.h:53,
from ./include/linux/thread_info.h:38,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:81,
from ./include/linux/spinlock.h:51,
from ./include/linux/wait.h:9,
from ./include/linux/wait_bit.h:8,
from ./include/linux/fs.h:6,
from ./include/linux/highmem.h:5,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:599:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140
^
In file included from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm.h:43:0,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-gRGyZO/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140
^
In file included from ./arch/x86/include/asm/nospec-branch.h:9:0,
from ./arch/x86/include/asm/paravirt.h:10,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/binfmts.h:5,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:599:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140
^
In file included from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-gRGyZO/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF
^
In file included from ./arch/x86/include/asm/irqflags.h:5:0,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/binfmts.h:5,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull
^
In file included from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c:49:
/tmp/modconfig-gRGyZO/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF
^
In file included from ./arch/x86/include/asm/processor.h:5:0,
from ./arch/x86/include/asm/cpufeature.h:5,
from ./arch/x86/include/asm/thread_info.h:53,
from ./include/linux/thread_info.h:38,
from ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:81,
from ./include/linux/spinlock.h:51,
from ./include/linux/wait.h:9,
from ./include/linux/wait_bit.h:8,
from ./include/linux/fs.h:6,
from ./include/linux/highmem.h:5,
from /tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull
^
/tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c: In function ‘LinuxDriverInitTSCkHz’:
/tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c:254:22: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
tscTimer.function = LinuxDriverEstimateTSCkHzDeferred;
^
/tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c:256:12: error: ‘struct timer_list’ has no member named ‘data’
tscTimer.data = 0;
^
/tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c: In function ‘init_module’:
/tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c:338:4: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(&tscTimer);
^
At top level:
/tmp/modconfig-gRGyZO/vmmon-only/linux/driver.c:981: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
CC [M] /tmp/modconfig-gRGyZO/vmmon-only/common/cpuid.o
scripts/Makefile.build:332: recipe for target '/tmp/modconfig-gRGyZO/vmmon-only/linux/driver.o' failed
make[2]: *** [/tmp/modconfig-gRGyZO/vmmon-only/linux/driver.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’:
/tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c:1519:31: error: implicit declaration of function ‘global_page_state’ [-Werror=implicit-function-declaration]
unsigned int lockedPages = global_page_state(NR_PAGETABLE) +
^
/tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c: In function ‘HostIF_InitUptime’:
/tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c:1753:4: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(&uptimeState.timer);
^
/tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.c:1754:31: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
uptimeState.timer.function = HostIFUptimeResyncMono;
^
In file included from /tmp/modconfig-gRGyZO/vmmon-only/common/vmx86.h:32:0,
from /tmp/modconfig-gRGyZO/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-gRGyZO/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140
^
In file included from ./arch/x86/include/asm/nospec-branch.h:9:0,
from ./arch/x86/include/asm/paravirt.h:10,
from ./arch/x86/include/asm/irqflags.h:65,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from /tmp/modconfig-gRGyZO/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:599:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140
^
In file included from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-gRGyZO/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-gRGyZO/vmmon-only/common/vmx86.c:46:
/tmp/modconfig-gRGyZO/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF
^
In file included from ./arch/x86/include/asm/irqflags.h:5:0,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from /tmp/modconfig-gRGyZO/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.o' failed
make[2]: *** [/tmp/modconfig-gRGyZO/vmmon-only/linux/hostif.o] Error 1
Makefile:1552: recipe for target '_module_/tmp/modconfig-gRGyZO/vmmon-only' failed
make[1]: *** [_module_/tmp/modconfig-gRGyZO/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-24-generic'
Makefile:110: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-gRGyZO/vmmon-only'
Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet done
VMware Authentication Daemon done
My machine details:
Static hostname: Cons
Icon name: computer-laptop
Chassis: laptop
Machine ID: d36ff7dc217a46d4a831cb4214bf344d
Boot ID: da2c51c866ca4d2d84a3e81e564d3891
Operating System: Ubuntu 16.04.4 LTS
Kernel: Linux 4.15.0-24-generic
Architecture: x86-64
Are there anyway to fix it? Please tell me!
Thank for your reading!