Comments

Kernel – 5.2 Released – No Surprises.. — 2 Comments

  1. make -C vmmon-only
    make[1]: Entering directory ‘/home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only’
    Using kernel build system.
    make -C /lib/modules/5.2.1-1-MANJARO/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[2]: Entering directory ‘/usr/lib/modules/5.2.1-1-MANJARO/build’
    Makefile:213: ================= WARNING ================
    Makefile:214: ‘SUBDIRS’ will be removed after Linux 5.3
    Makefile:215: Please use ‘M=’ or ‘KBUILD_EXTMOD’ instead
    Makefile:216: ==========================================
    CC [M] /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.o
    In file included from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/./common/vmx86.h:32,
    from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.h:32,
    from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:47:
    /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/./include/x86msr.h:132: warning: “MSR_MISC_FEATURES_ENABLES” redefined
    132 | #define MSR_MISC_FEATURES_ENABLES 0x140
    |
    In file included from ./arch/x86/include/asm/nospec-branch.h:11,
    from ./arch/x86/include/asm/paravirt_types.h:46,
    from ./arch/x86/include/asm/ptrace.h:94,
    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:78,
    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 /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:25:
    ./arch/x86/include/asm/msr-index.h:669: note: this is the location of the previous definition
    669 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
    |
    In file included from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/./common/vmx86.h:32,
    from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.h:32,
    from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:47:
    /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/./include/x86msr.h:468: warning: “MSR_K7_HWCR_SMMLOCK” redefined
    468 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment
    |
    In file included from ./arch/x86/include/asm/nospec-branch.h:11,
    from ./arch/x86/include/asm/paravirt_types.h:46,
    from ./arch/x86/include/asm/ptrace.h:94,
    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:78,
    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 /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:25:
    ./arch/x86/include/asm/msr-index.h:478: note: this is the location of the previous definition
    478 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
    |
    In file included from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/./include/vm_asm_x86.h:41,
    from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/./include/vm_asm_x86_64.h:40,
    from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/./include/vm_asm.h:46,
    from /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:49:
    /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/./include/x86_basic_defs.h:78: warning: “CR3_PCID_MASK” redefined
    78 | #define CR3_PCID_MASK 0xFFF
    |
    In file included from ./arch/x86/include/asm/processor.h:5,
    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:78,
    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 /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:25:
    ./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
    39 | #define CR3_PCID_MASK 0xFFFull
    |
    /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:109:19: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
    109 | .fault = LinuxDriverFault
    | ^~~~~~~~~~~~~~~~
    /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:109:19: note: (near initialization for ‘vmuser_mops.fault’)
    /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.c:986:1: warning: always_inline function might not be inlinable [-Wattributes]
    986 | LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max – TSC min
    | ^~~~~~~~~~~~~~~~~~~~~~~
    cc1: some warnings being treated as errors
    make[3]: *** [scripts/Makefile.build:279: /home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only/linux/driver.o] Error 1
    make[2]: *** [Makefile:1595: _module_/home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only] Error 2
    make[2]: Leaving directory ‘/usr/lib/modules/5.2.1-1-MANJARO/build’
    make[1]: *** [Makefile:110: vmmon.ko] Error 2
    make[1]: Leaving directory ‘/home/xuer/Downloads/vmware-host-modules-w15.1.0/vmmon-only’
    make: *** [Makefile:21: vmmon-only] Error 2

  2. Unfortunatly 390.116 seems broken even the previously patched one.
    Any clue if there will be another patch for 390.116?

Leave a Reply to Roland Garonde Cancel 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.