Vmnet-only troubles (VMware 15.5) on CL

Kernel: 5.4.12-893.native
CL: 32140

Failure installation of vmnet-only module.

Log
root@clr-1fc1c0bf41bb45ceb2acf44ba9aa1098/home/ethan # vmware-modconfig --console --install-all
[AppLoader] GLib does not have GSettings support.
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-yyc7N0/vmmon-only'
Using kernel build system.
/sbin/make -C /lib/modules/5.4.12-893.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/5.4.12-893.native/build'
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/statVarsVmmon.o
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-yyc7N0/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/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-yyc7N0/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:472: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  472 | #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/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-yyc7N0/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:631: warning: "MSR_TSX_FORCE_ABORT" redefined
  631 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-yyc7N0/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.o
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-yyc7N0/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/irqflags.h:5,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-yyc7N0/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.h:33,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:47:
/tmp/modconfig-yyc7N0/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/msr.h:5,
                 from ./arch/x86/include/asm/processor.h:21,
                 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 /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.h:33,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:47:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:472: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  472 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/msr.h:5,
                 from ./arch/x86/include/asm/processor.h:21,
                 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 /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.h:33,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:47:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:631: warning: "MSR_TSX_FORCE_ABORT" redefined
  631 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/msr.h:5,
                 from ./arch/x86/include/asm/processor.h:21,
                 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 /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:49:
/tmp/modconfig-yyc7N0/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 /tmp/modconfig-yyc7N0/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
      | 
/tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:1536:5: warning: "VMX86_DEVEL" is not defined, evaluates to 0 [-Wundef]
 1536 | #if VMX86_DEVEL
      |     ^~~~~~~~~~~
At top level:
/tmp/modconfig-yyc7N0/vmmon-only/linux/driver.c:961:1: warning: always_inline function might not be inlinable [-Wattributes]
  961 | LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
      | ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/sharedAreaVmmon.o
In file included from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-yyc7N0/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/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:472: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  472 | #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/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:631: warning: "MSR_TSX_FORCE_ABORT" redefined
  631 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.c:45:
/tmp/modconfig-yyc7N0/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/irqflags.h:5,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/common/phystrack.o
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 ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/task.c:71:
./arch/x86/include/asm/processor-flags.h:39: warning: "CR3_PCID_MASK" redefined
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-yyc7N0/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/task.c:53:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86_basic_defs.h:78: note: this is the location of the previous definition
   78 | #define CR3_PCID_MASK  0xFFF
      | 
In file included from ./arch/x86/include/asm/msr.h:5,
                 from ./arch/x86/include/asm/processor.h:21,
                 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 ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:512: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/task.c:51:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:472: note: this is the location of the previous definition
  472 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/msr.h:5,
                 from ./arch/x86/include/asm/processor.h:21,
                 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 ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:700: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/task.c:51:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:132: note: this is the location of the previous definition
  132 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/msr.h:5,
                 from ./arch/x86/include/asm/processor.h:21,
                 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 ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:709: warning: "MSR_TSX_FORCE_ABORT" redefined
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/common/task.c:51:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:631: note: this is the location of the previous definition
  631 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/vmcore/moduleloop.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/bootstrap/monLoaderVmmon.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/bootstrap/monLoader.o
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-yyc7N0/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/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-yyc7N0/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:472: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  472 | #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/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-yyc7N0/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-yyc7N0/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-yyc7N0/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-yyc7N0/vmmon-only/./include/x86msr.h:631: warning: "MSR_TSX_FORCE_ABORT" redefined
  631 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-yyc7N0/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/bootstrap/vmmblob.o
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/bootstrap/bootstrap.o
  LD [M]  /tmp/modconfig-yyc7N0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC [M]  /tmp/modconfig-yyc7N0/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-yyc7N0/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/lib/modules/5.4.12-893.native/build'
/sbin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-yyc7N0/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-yyc7N0/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-yyc7N0/vmmon-only'
make: Entering directory '/tmp/modconfig-yyc7N0/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/5.4.12-893.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/5.4.12-893.native/build'
  CC [M]  /tmp/modconfig-yyc7N0/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-yyc7N0/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-yyc7N0/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-yyc7N0/vmnet-only/netif.o
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-yyc7N0/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-yyc7N0/vmnet-only/netif.c:44:
./include/linux/pci_ids.h:2284: warning: "PCI_VENDOR_ID_VMWARE" redefined
 2284 | #define PCI_VENDOR_ID_VMWARE  0x15ad
      | 
In file included from /tmp/modconfig-yyc7N0/vmnet-only/net.h:38,
                 from /tmp/modconfig-yyc7N0/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-yyc7N0/vmnet-only/netif.c:43:
/tmp/modconfig-yyc7N0/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition
   56 | #define PCI_VENDOR_ID_VMWARE                    0x15AD
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-yyc7N0/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-yyc7N0/vmnet-only/netif.c:44:
./include/linux/pci_ids.h:2285: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 2285 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
      | 
In file included from /tmp/modconfig-yyc7N0/vmnet-only/net.h:38,
                 from /tmp/modconfig-yyc7N0/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-yyc7N0/vmnet-only/netif.c:43:
/tmp/modconfig-yyc7N0/vmnet-only/vm_device_version.h:74: note: this is the location of the previous definition
   74 | #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
      | 
/tmp/modconfig-yyc7N0/vmnet-only/userif.c: In function ‘VNetCsumCopyDatagram’:
/tmp/modconfig-yyc7N0/vmnet-only/userif.c:571:15: error: ‘skb_frag_t’ {aka ‘const struct bio_vec’} has no member named ‘size’
  571 |       if (frag->size > 0) {
      |               ^~
/tmp/modconfig-yyc7N0/vmnet-only/userif.c:575:29: error: ‘skb_frag_t’ {aka ‘const struct bio_vec’} has no member named ‘page’; did you mean ‘bv_page’?
  575 |   vaddr = compat_kmap(frag->page);
      |                             ^~~~
/tmp/modconfig-yyc7N0/vmnet-only/userif.c:84:36: note: in definition of macro ‘compat_kmap’
   84 | #   define compat_kmap(page) kmap((page).p)
      |                                    ^~~~
/tmp/modconfig-yyc7N0/vmnet-only/userif.c:576:49: error: ‘skb_frag_t’ {aka ‘const struct bio_vec’} has no member named ‘page_offset’; did you mean ‘bv_offset’?
  576 |   tmpCsum = csum_and_copy_to_user(vaddr + frag->page_offset,
      |                                                 ^~~~~~~~~~~
      |                                                 bv_offset
/tmp/modconfig-yyc7N0/vmnet-only/userif.c:577:17: error: ‘skb_frag_t’ {aka ‘const struct bio_vec’} has no member named ‘size’
  577 |       curr, frag->size, 0, &err);
      |                 ^~
/tmp/modconfig-yyc7N0/vmnet-only/userif.c:578:23: error: ‘skb_frag_t’ {aka ‘const struct bio_vec’} has no member named ‘page’; did you mean ‘bv_page’?
  578 |   compat_kunmap(frag->page);
      |                       ^~~~
/tmp/modconfig-yyc7N0/vmnet-only/userif.c:85:40: note: in definition of macro ‘compat_kunmap’
   85 | #   define compat_kunmap(page) kunmap((page).p)
      |                                        ^~~~
/tmp/modconfig-yyc7N0/vmnet-only/userif.c:584:15: error: ‘skb_frag_t’ {aka ‘const struct bio_vec’} has no member named ‘size’
  584 |   curr += frag->size;
      |               ^~
make[2]: *** [scripts/Makefile.build:265: /tmp/modconfig-yyc7N0/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1652: /tmp/modconfig-yyc7N0/vmnet-only] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.4.12-893.native/build'
make: *** [Makefile:117: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-yyc7N0/vmnet-only'
Unable to install all modules.  See log for details.

This is an incompatibility with the latest kernel version and the modules distributed in this version of VMware that is not unique to Clear Linux. Unfortunately, there is a history of this type of issue with the VMware modules and Linux kernel compatibility because they are out of tree; it’s a cat and mouse game.

I suggest using the LTS kernel to reduce the frequency these modules need to be rebuilt. If you want to use this kernel version you’ll have to wait for VMware to distribute updated modules or find a patched version online and build them yourself.

There are 3 different ways documented to get it working, depending on the weather one of them usually always works in CL.

A month passed and I gained strength to start trying it.
After changed original “vmmon.tar” and “vmnet.tar” to patched in “/usr/lib/vmware/modules/source/” location I see this dmesg:

Loading of unsigned module is rejected

Kernel: 5.5.4-910.native
VMware: 15.5.0

How hard is it to get around this?

You just need to disable kernel module signing using the steps here: https://docs.01.org/clearlinux/latest/guides/kernel/kernel-modules.html#load-kernel-module or install one of the DKMS bundles which will do it for you.

1 Like