Comments

VMware – 15.0.3 Released, Still Broken with Kernel 5.0.. — 16 Comments

  1. To be precise, both vmmon and vmnet sources are exactly the same in versions 15.0.1 through 15.0.3 (and also in 14.1.3 through 14.1.6). According to the Release Notes, 15.0.3 and 14.1.6 should only fix two security bugs affecting installations on windows hosts and upgrade some embedded libraries (which seems to be the only change affecting linux hosts). Sigh… and in ~30 hours, we can expect two new issues with 5.1-rc1 (both easy to handle, fortunately).

  2. dear sir
    i have installed vmware-workstation-15.0.3 on linux5, in opensuse (thumbleweed) distribution, and the instalation is failed:
    see comments files:
    “””
    “””
    localhost:/home/quantumfields/Downloads # vmware
    No protocol specified
    No protocol specified
    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 : on entre dans le répertoire « /tmp/modconfig-Tdp9v2/vmmon-only »
    Using kernel build system.
    /usr/bin/make -C /lib/modules/5.0.1-1-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1] : on entre dans le répertoire « /usr/src/linux-5.0.1-1-obj/x86_64/default »
    /usr/src/linux-5.0.1-1/Makefile:189: ================= WARNING ================
    /usr/src/linux-5.0.1-1/Makefile:190: ‘SUBDIRS’ will be removed after Linux 5.3
    /usr/src/linux-5.0.1-1/Makefile:191: Please use ‘M=’ or ‘KBUILD_EXTMOD’ instead
    /usr/src/linux-5.0.1-1/Makefile:192: ==========================================
    CC [M] /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.o
    CC [M] /tmp/modconfig-Tdp9v2/vmmon-only/linux/driverLog.o
    CC [M] /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.o
    CC [M] /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.o
    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.h:32,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.c:43:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86msr.h:130: warning: “MSR_MISC_FEATURES_ENABLES” redefined
    #define MSR_MISC_FEATURES_ENABLES 0x140

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/nospec-branch.h:11,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/paravirt.h:10,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/irqflags.h:68,
    from /usr/src/linux-5.0.1-1/include/linux/irqflags.h:16,
    from /usr/src/linux-5.0.1-1/include/linux/rcupdate.h:39,
    from /usr/src/linux-5.0.1-1/include/linux/rculist.h:11,
    from /usr/src/linux-5.0.1-1/include/linux/pid.h:5,
    from /usr/src/linux-5.0.1-1/include/linux/sched.h:14,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.c:31:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/msr-index.h:661: note: this is the location of the previous definition
    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.h:32,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.c:43:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86msr.h:466: warning: “MSR_K7_HWCR_SMMLOCK” redefined
    #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/nospec-branch.h:11,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/paravirt.h:10,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/irqflags.h:68,
    from /usr/src/linux-5.0.1-1/include/linux/irqflags.h:16,
    from /usr/src/linux-5.0.1-1/include/linux/rcupdate.h:39,
    from /usr/src/linux-5.0.1-1/include/linux/rculist.h:11,
    from /usr/src/linux-5.0.1-1/include/linux/pid.h:5,
    from /usr/src/linux-5.0.1-1/include/linux/sched.h:14,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.c:31:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/msr-index.h:470: note: this is the location of the previous definition
    #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm_x86.h:41,
    from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm_x86_64.h:40,
    from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm.h:46,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.c:46:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86_basic_defs.h:78: warning: “CR3_PCID_MASK” redefined
    #define CR3_PCID_MASK 0xFFF

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/irqflags.h:5,
    from /usr/src/linux-5.0.1-1/include/linux/irqflags.h:16,
    from /usr/src/linux-5.0.1-1/include/linux/rcupdate.h:39,
    from /usr/src/linux-5.0.1-1/include/linux/rculist.h:11,
    from /usr/src/linux-5.0.1-1/include/linux/pid.h:5,
    from /usr/src/linux-5.0.1-1/include/linux/sched.h:14,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.c:31:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
    #define CR3_PCID_MASK 0xFFFull

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/./common/vmx86.h:32,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.h:32,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.c:47:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86msr.h:130: warning: “MSR_MISC_FEATURES_ENABLES” redefined
    #define MSR_MISC_FEATURES_ENABLES 0x140

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/nospec-branch.h:11,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/paravirt_types.h:46,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/ptrace.h:94,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/math_emu.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor.h:12,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/cpufeature.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/thread_info.h:53,
    from /usr/src/linux-5.0.1-1/include/linux/thread_info.h:38,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/preempt.h:7,
    from /usr/src/linux-5.0.1-1/include/linux/preempt.h:78,
    from /usr/src/linux-5.0.1-1/include/linux/spinlock.h:51,
    from /usr/src/linux-5.0.1-1/include/linux/wait.h:9,
    from /usr/src/linux-5.0.1-1/include/linux/wait_bit.h:8,
    from /usr/src/linux-5.0.1-1/include/linux/fs.h:6,
    from /usr/src/linux-5.0.1-1/include/linux/highmem.h:5,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.c:25:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/msr-index.h:661: note: this is the location of the previous definition
    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/./common/vmx86.h:32,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.h:32,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.c:47:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86msr.h:466: warning: “MSR_K7_HWCR_SMMLOCK” redefined
    #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/nospec-branch.h:11,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/paravirt_types.h:46,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/ptrace.h:94,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/math_emu.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor.h:12,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/cpufeature.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/thread_info.h:53,
    from /usr/src/linux-5.0.1-1/include/linux/thread_info.h:38,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/preempt.h:7,
    from /usr/src/linux-5.0.1-1/include/linux/preempt.h:78,
    from /usr/src/linux-5.0.1-1/include/linux/spinlock.h:51,
    from /usr/src/linux-5.0.1-1/include/linux/wait.h:9,
    from /usr/src/linux-5.0.1-1/include/linux/wait_bit.h:8,
    from /usr/src/linux-5.0.1-1/include/linux/fs.h:6,
    from /usr/src/linux-5.0.1-1/include/linux/highmem.h:5,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.c:25:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/msr-index.h:470: note: this is the location of the previous definition
    #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm_x86.h:41,
    from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm_x86_64.h:40,
    from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm.h:46,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.c:49:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86_basic_defs.h:78: warning: “CR3_PCID_MASK” redefined
    #define CR3_PCID_MASK 0xFFF

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/cpufeature.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/thread_info.h:53,
    from /usr/src/linux-5.0.1-1/include/linux/thread_info.h:38,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/preempt.h:7,
    from /usr/src/linux-5.0.1-1/include/linux/preempt.h:78,
    from /usr/src/linux-5.0.1-1/include/linux/spinlock.h:51,
    from /usr/src/linux-5.0.1-1/include/linux/wait.h:9,
    from /usr/src/linux-5.0.1-1/include/linux/wait_bit.h:8,
    from /usr/src/linux-5.0.1-1/include/linux/fs.h:6,
    from /usr/src/linux-5.0.1-1/include/linux/highmem.h:5,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.c:25:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
    #define CR3_PCID_MASK 0xFFFull

    /tmp/modconfig-Tdp9v2/vmmon-only/linux/driver.c:986:1: warning: always_inline function might not be inlinable [-Wattributes]
    LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max – TSC min
    ^~~~~~~~~~~~~~~~~~~~~~~
    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm.h:43,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:60:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86msr.h:130: warning: “MSR_MISC_FEATURES_ENABLES” redefined
    #define MSR_MISC_FEATURES_ENABLES 0x140

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/nospec-branch.h:11,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/paravirt.h:10,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/irqflags.h:68,
    from /usr/src/linux-5.0.1-1/include/linux/irqflags.h:16,
    from /usr/src/linux-5.0.1-1/include/linux/rcupdate.h:39,
    from /usr/src/linux-5.0.1-1/include/linux/rculist.h:11,
    from /usr/src/linux-5.0.1-1/include/linux/pid.h:5,
    from /usr/src/linux-5.0.1-1/include/linux/sched.h:14,
    from /usr/src/linux-5.0.1-1/include/linux/binfmts.h:5,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:32:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/msr-index.h:661: note: this is the location of the previous definition
    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm.h:43,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:60:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86msr.h:466: warning: “MSR_K7_HWCR_SMMLOCK” redefined
    #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/nospec-branch.h:11,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/paravirt.h:10,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/irqflags.h:68,
    from /usr/src/linux-5.0.1-1/include/linux/irqflags.h:16,
    from /usr/src/linux-5.0.1-1/include/linux/rcupdate.h:39,
    from /usr/src/linux-5.0.1-1/include/linux/rculist.h:11,
    from /usr/src/linux-5.0.1-1/include/linux/pid.h:5,
    from /usr/src/linux-5.0.1-1/include/linux/sched.h:14,
    from /usr/src/linux-5.0.1-1/include/linux/binfmts.h:5,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:32:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/msr-index.h:470: note: this is the location of the previous definition
    #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm_x86.h:41,
    from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm_x86_64.h:40,
    from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm.h:46,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:60:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86_basic_defs.h:78: warning: “CR3_PCID_MASK” redefined
    #define CR3_PCID_MASK 0xFFF

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/irqflags.h:5,
    from /usr/src/linux-5.0.1-1/include/linux/irqflags.h:16,
    from /usr/src/linux-5.0.1-1/include/linux/rcupdate.h:39,
    from /usr/src/linux-5.0.1-1/include/linux/rculist.h:11,
    from /usr/src/linux-5.0.1-1/include/linux/pid.h:5,
    from /usr/src/linux-5.0.1-1/include/linux/sched.h:14,
    from /usr/src/linux-5.0.1-1/include/linux/binfmts.h:5,
    from /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:32:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
    #define CR3_PCID_MASK 0xFFFull

    CC [M] /tmp/modconfig-Tdp9v2/vmmon-only/common/task.o
    /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’:
    /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:1641:25: error: ‘totalram_pages’ redeclared as different kind of symbol
    extern unsigned long totalram_pages;
    ^~~~~~~~~~~~~~
    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:42:
    /usr/src/linux-5.0.1-1/include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here
    static inline unsigned long totalram_pages(void)
    ^~~~~~~~~~~~~~
    /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
    /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:1787:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
    do_gettimeofday(&tv);
    ^~~~~~~~~~~~~~~
    do_settimeofday64
    /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c: In function ‘HostIF_MapUserMem’:
    /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:3408:40: error: macro “access_ok” passed 3 arguments, but takes just 2
    if (!access_ok(VERIFY_WRITE, p, size)) {
    ^
    /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:3408:9: error: ‘access_ok’ undeclared (first use in this function)
    if (!access_ok(VERIFY_WRITE, p, size)) {
    ^~~~~~~~~
    /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.c:3408:9: note: each undeclared identifier is reported only once for each function it appears in
    cc1: some warnings being treated as errors
    make[4]: *** [/usr/src/linux-5.0.1-1/scripts/Makefile.build:278: /tmp/modconfig-Tdp9v2/vmmon-only/linux/hostif.o] Error 1
    make[4]: *** Attente des tâches non terminées….
    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/cpufeature.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/thread_info.h:53,
    from /usr/src/linux-5.0.1-1/include/linux/thread_info.h:38,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/preempt.h:7,
    from /usr/src/linux-5.0.1-1/include/linux/preempt.h:78,
    from /usr/src/linux-5.0.1-1/include/linux/spinlock.h:51,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/mmu.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/desc.h:7,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/task.c:70:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor-flags.h:39: warning: “CR3_PCID_MASK” redefined
    #define CR3_PCID_MASK 0xFFFull

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm_x86.h:41,
    from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm_x86_64.h:40,
    from /tmp/modconfig-Tdp9v2/vmmon-only/./include/vm_asm.h:46,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/task.c:53:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86_basic_defs.h:78: note: this is the location of the previous definition
    #define CR3_PCID_MASK 0xFFF

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/nospec-branch.h:11,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/paravirt_types.h:46,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/ptrace.h:94,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/math_emu.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor.h:12,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/cpufeature.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/thread_info.h:53,
    from /usr/src/linux-5.0.1-1/include/linux/thread_info.h:38,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/preempt.h:7,
    from /usr/src/linux-5.0.1-1/include/linux/preempt.h:78,
    from /usr/src/linux-5.0.1-1/include/linux/spinlock.h:51,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/mmu.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/desc.h:7,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/task.c:70:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/msr-index.h:470: warning: “MSR_K7_HWCR_SMMLOCK” redefined
    #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.h:32,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/task.c:51:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86msr.h:466: note: this is the location of the previous definition
    #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment

    In file included from /usr/src/linux-5.0.1-1/arch/x86/include/asm/nospec-branch.h:11,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/paravirt_types.h:46,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/ptrace.h:94,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/math_emu.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/processor.h:12,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/cpufeature.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/thread_info.h:53,
    from /usr/src/linux-5.0.1-1/include/linux/thread_info.h:38,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/preempt.h:7,
    from /usr/src/linux-5.0.1-1/include/linux/preempt.h:78,
    from /usr/src/linux-5.0.1-1/include/linux/spinlock.h:51,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/mmu.h:5,
    from /usr/src/linux-5.0.1-1/arch/x86/include/asm/desc.h:7,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/task.c:70:
    /usr/src/linux-5.0.1-1/arch/x86/include/asm/msr-index.h:661: warning: “MSR_MISC_FEATURES_ENABLES” redefined
    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    In file included from /tmp/modconfig-Tdp9v2/vmmon-only/common/vmx86.h:32,
    from /tmp/modconfig-Tdp9v2/vmmon-only/common/task.c:51:
    /tmp/modconfig-Tdp9v2/vmmon-only/./include/x86msr.h:130: note: this is the location of the previous definition
    #define MSR_MISC_FEATURES_ENABLES 0x140

    /tmp/modconfig-Tdp9v2/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x4c0: indirect call found in RETPOLINE build
    /tmp/modconfig-Tdp9v2/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
    make[3]: *** [/usr/src/linux-5.0.1-1/Makefile:1568: _module_/tmp/modconfig-Tdp9v2/vmmon-only] Error 2
    make[2]: *** [Makefile:152: sub-make] Error 2
    make[1]: *** [Makefile:15: __sub-make] Error 2
    make[1] : on quitte le répertoire « /usr/src/linux-5.0.1-1-obj/x86_64/default »
    make: *** [Makefile:110: vmmon.ko] Error 2
    make : on quitte le répertoire « /tmp/modconfig-Tdp9v2/vmmon-only »
    make : on entre dans le répertoire « /tmp/modconfig-Tdp9v2/vmnet-only »
    Using kernel build system.
    /usr/bin/make -C /lib/modules/5.0.1-1-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1] : on entre dans le répertoire « /usr/src/linux-5.0.1-1-obj/x86_64/default »
    /usr/src/linux-5.0.1-1/Makefile:189: ================= WARNING ================
    /usr/src/linux-5.0.1-1/Makefile:190: ‘SUBDIRS’ will be removed after Linux 5.3
    /usr/src/linux-5.0.1-1/Makefile:191: Please use ‘M=’ or ‘KBUILD_EXTMOD’ instead
    /usr/src/linux-5.0.1-1/Makefile:192: ==========================================
    CC [M] /tmp/modconfig-Tdp9v2/vmnet-only/driver.o
    CC [M] /tmp/modconfig-Tdp9v2/vmnet-only/hub.o
    CC [M] /tmp/modconfig-Tdp9v2/vmnet-only/userif.o
    CC [M] /tmp/modconfig-Tdp9v2/vmnet-only/netif.o
    /tmp/modconfig-Tdp9v2/vmnet-only/userif.c: In function ‘VNetUserIfMapPtr’:
    /tmp/modconfig-Tdp9v2/vmnet-only/userif.c:145:52: error: macro “access_ok” passed 3 arguments, but takes just 2
    if (!access_ok(VERIFY_WRITE, (void *)uAddr, size) ||
    ^
    /tmp/modconfig-Tdp9v2/vmnet-only/userif.c:145:9: error: ‘access_ok’ undeclared (first use in this function)
    if (!access_ok(VERIFY_WRITE, (void *)uAddr, size) ||
    ^~~~~~~~~
    /tmp/modconfig-Tdp9v2/vmnet-only/userif.c:145:9: note: each undeclared identifier is reported only once for each function it appears in
    make[4]: *** [/usr/src/linux-5.0.1-1/scripts/Makefile.build:278: /tmp/modconfig-Tdp9v2/vmnet-only/userif.o] Error 1
    make[4]: *** Attente des tâches non terminées….
    In file included from /usr/src/linux-5.0.1-1/include/linux/pci.h:37,
    from /tmp/modconfig-Tdp9v2/vmnet-only/compat_netdevice.h:27,
    from /tmp/modconfig-Tdp9v2/vmnet-only/netif.c:43:
    /usr/src/linux-5.0.1-1/include/linux/pci_ids.h:2278: warning: “PCI_VENDOR_ID_VMWARE” redefined
    #define PCI_VENDOR_ID_VMWARE 0x15ad

    In file included from /tmp/modconfig-Tdp9v2/vmnet-only/net.h:38,
    from /tmp/modconfig-Tdp9v2/vmnet-only/vnetInt.h:26,
    from /tmp/modconfig-Tdp9v2/vmnet-only/netif.c:42:
    /tmp/modconfig-Tdp9v2/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition
    #define PCI_VENDOR_ID_VMWARE 0x15AD

    In file included from /usr/src/linux-5.0.1-1/include/linux/pci.h:37,
    from /tmp/modconfig-Tdp9v2/vmnet-only/compat_netdevice.h:27,
    from /tmp/modconfig-Tdp9v2/vmnet-only/netif.c:43:
    /usr/src/linux-5.0.1-1/include/linux/pci_ids.h:2279: warning: “PCI_DEVICE_ID_VMWARE_VMXNET3” redefined
    #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

    In file included from /tmp/modconfig-Tdp9v2/vmnet-only/net.h:38,
    from /tmp/modconfig-Tdp9v2/vmnet-only/vnetInt.h:26,
    from /tmp/modconfig-Tdp9v2/vmnet-only/netif.c:42:
    /tmp/modconfig-Tdp9v2/vmnet-only/vm_device_version.h:73: note: this is the location of the previous definition
    #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

    make[3]: *** [/usr/src/linux-5.0.1-1/Makefile:1568: _module_/tmp/modconfig-Tdp9v2/vmnet-only] Error 2
    make[2]: *** [Makefile:152: sub-make] Error 2
    make[1]: *** [Makefile:15: __sub-make] Error 2
    make[1] : on quitte le répertoire « /usr/src/linux-5.0.1-1-obj/x86_64/default »
    make: *** [Makefile:110: vmnet.ko] Error 2
    make : on quitte le répertoire « /tmp/modconfig-Tdp9v2/vmnet-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 failed
    VMware Authentication Daemon done
    localhost:/home/quantumfields/Downloads #
    regards
    Abdelmalek Boumali

      • I’ve upgraded to kernel 5.0.3 and now vmware-workstation 15.0.2 fails to run. I’ve updated to vmware-workstation 15.0.3 and I’ve used the 15.0.3 patch, it works OK but now everytime I open vmware-workstation it complains that the modules need to be rebuilt, even if they are rebuilt successfully from the last run. Its annoying though as i have to enter my admin password for it to rebuild the modules every time i run vmware-workstation. Im running Fedora29 kernel 5.0.3. any ideas how to solve this? im trying to uninstall / reinstall vmware-workstation and the patches hope it works.

  3. vmware 14.1.1 here but I suspect the problem is the same with 15.x
    fedora 28
    kernel is 5.0.9-100.fc28.x86_64

    I downloaded https://github.com/mkubecek/vmware-host-modules/archive/workstation-14.1.1.tar.gz
    but when compiling with make I got few errors in hostif.c :
    Any help is welcomed as I am stucked. Anyone knows when vmware will officially support kernel 5.0.9+ ?

    make -C vmmon-only
    make[1]: Entering directory ‘/home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only’
    Using kernel build system.
    make -C /lib/modules/5.0.9-100.fc28.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[2]: Entering directory ‘/usr/src/kernels/5.0.9-100.fc28.x86_64’
    Makefile:207: ================= WARNING ================
    Makefile:208: ‘SUBDIRS’ will be removed after Linux 5.3
    Makefile:209: Please use ‘M=’ or ‘KBUILD_EXTMOD’ instead
    Makefile:210: ==========================================
    CC [M] /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/driver.o
    CC [M] /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.o
    /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’:
    /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c:1502:25: error: ‘totalram_pages’ redeclared as different kind of symbol
    extern unsigned long totalram_pages;
    ^~~~~~~~~~~~~~
    In file included from /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c:42:
    ./include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here
    static inline unsigned long totalram_pages(void)
    ^~~~~~~~~~~~~~
    /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
    /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c:1648:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
    do_gettimeofday(&tv);
    ^~~~~~~~~~~~~~~
    do_settimeofday64
    /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c: In function ‘HostIF_MapUserMem’:
    /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c:3203:40: error: macro “access_ok” passed 3 arguments, but takes just 2
    if (!access_ok(VERIFY_WRITE, p, size)) {
    ^
    /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c:3203:9: error: ‘access_ok’ undeclared (first use in this function)
    if (!access_ok(VERIFY_WRITE, p, size)) {
    ^~~~~~~~~
    /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.c:3203:9: note: each undeclared identifier is reported only once for each function it appears in
    cc1: some warnings being treated as errors
    make[3]: *** [scripts/Makefile.build:277: /home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only/linux/hostif.o] Error 1
    make[2]: *** [Makefile:1580: _module_/home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only] Error 2
    make[2]: Leaving directory ‘/usr/src/kernels/5.0.9-100.fc28.x86_64’
    make[1]: *** [Makefile:110: vmmon.ko] Error 2
    make[1]: Leaving directory ‘/home/jos/Temp/vmware/patch/vmware-host-modules-workstation-14.1.1/vmmon-only’
    make: *** [Makefile:21: vmmon-only] Error 2

    • thank you to all
      i wounder when i see this post how to get this work
      i follow your instructions
      and finally vmware work on manjaro with kerner 5.1.4-1-MANJARO
      but when i try to install windows 7 for eg , its not start and got this message

      Version mismatch with vmmon module: expecting 361.0, got 360.0.
      You have an incorrect version of the ‘vmmon’ kernel module.
      Try reinstalling VMware Workstation.

      how to resolve

  4. Version mismatch with vmmon module: expecting 361.0, got 360.0.
    You have an incorrect version of the ‘vmmon’ kernel module.
    Try reinstalling VMware Workstation.

  5. Hi…
    I was able to run and create a VM, but when I run I get the same error:
    Version mismatch with vmmon module: expecting 361.0, got 360.0.
    You have an incorrect version of the ‘vmmon’ kernel module.
    Try reinstalling VMware Player.

    Did anyone got it to run?

    thanks

    • for anyone got “Version mismatch with vmmon module: expecting 361.0, got 360.0.”

      what I did was uninstall but leave the configurations (as already have existing ones)

      To display the installed product (note the product name and xxx is the correct version you’ve downloaded)
      sudo bash VMware-Workstation-Full-15.1.0-xxx.x86_64.bundle -l
      Extracting VMware Installer…done.
      Product Name Product Version
      ==================== ====================
      vmware-workstation 15.1.0.xxx

      Uninstall using the command:
      sudo bash VMware-Workstation-Full-15.1.0-xxx.x86_64.bundle –uninstall-product vmware-workstation

      Reinstall back…
      sudo bash VMware-Workstation-Full-15.1.0-xxx.x86_64.bundle

      do the ff, based on the above comments:

      git clone -b workstation-15.1.0 https://github.com/mkubecek/vmware-host-modules.git
      cd vmware-host-modules
      tar -cf vmmon.tar vmmon-only
      tar -cf vmnet.tar vmnet-only
      sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
      sudo vmware-modconfig –console –install-all

      viola!
      vmware

  6. The above steps worked for Ubuntu 19.04 with kernel (5.2.8-050208-generic – installed via ukuu app) using VMware-Workstation-Full-15.1.0-13591040.x86_64.bundle

    git clone -b workstation-15.1.0 https://github.com/mkubecek/vmware-host-modules.git
    cd vmware-host-modules
    tar -cf vmmon.tar vmmon-only
    tar -cf vmnet.tar vmnet-only
    sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
    sudo vmware-modconfig –console –install-all

  7. I just upgraded my Ubuntu 18.04.3 system to kernel version 5.4. Attempting to start VMWare Player 15.5.1 gives me the message about recompiling VMMon and VMNet and both fail to compile. I have previously used your process to rectify the install issues and create a running VMWare Player instance. I’ve downloaded and modified your script to match my version of Player but still are having errors trying to rebuild the two VMWare modules. Here’s a snapshot of the messages (I can download all of them but only show the messages up to and including the first errors):

    [06:38:39 Scripts]$ ./VMWare_Fix.sh
    Cloning into ‘vmware-host-modules’…
    remote: Enumerating objects: 23, done.
    remote: Counting objects: 100% (23/23), done.
    remote: Compressing objects: 100% (23/23), done.
    remote: Total 1701 (delta 19), reused 1 (delta 0), pack-reused 1678
    Receiving objects: 100% (1701/1701), 887.90 KiB | 5.51 MiB/s, done.
    Resolving deltas: 100% (1401/1401), done.
    Branch ‘player-15.5.1’ set up to track remote branch ‘player-15.5.1’ from ‘origin’.
    Switched to a new branch ‘player-15.5.1’
    make -C vmmon-only
    make[1]: Entering directory ‘/tmp/patch-vmware/vmware-host-modules/vmmon-only’
    Using kernel build system.
    make -C /lib/modules/5.4.0-050400-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[2]: Entering directory ‘/usr/src/linux-headers-5.4.0-050400-generic’
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/linux/driver.o
    In file included from :0:0:
    ./arch/x86/include/asm/page_64.h: In function ‘clear_page’:
    ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’
    #define asm_inline asm __inline
    ^
    ./arch/x86/include/asm/alternative.h:256:2: note: in expansion of macro ‘asm_inline’
    asm_inline volatile (ALTERNATIVE_2(“call %P[old]”, “call %P[new1]”, feature1,\
    ^~~~~~~~~~
    ./arch/x86/include/asm/page_64.h:49:2: note: in expansion of macro ‘alternative_call_2’
    alternative_call_2(clear_page_orig,
    ^~~~~~~~~~~~~~~~~~

    Any suggestions on how I should proceed from here?

    Many thanks for your assistance here and for the work you’ve done to get us all past the VMWare issues in the past.

    Dave

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.