Comments

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

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.