Comments

VMware – 15.0.3 Released, Still Broken with Kernel 5.0.. — 11 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

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.