VMWare Workstation Setup Issues

I recently switched my main gaming rig over to Manjaro, but the video editing software I use won’t install using WINE due to the requirement of .NET Framework 4.0. Plus couple of the games I like to play will only run in Windows due to the Anti-Cheat bullshit. Also, I don’t want to dual boot.

Anywho, I am trying to get VMWare Workstation up and running. I have it installed, but when I run the vmware-modconfig --console --install-all command, I get the dreaded “Unable to install all modules. See log /tmp/vmware-root/-vmware25245.log (Exit Code 1)”

I am running Manjaro version 19.0.2 with kernal 5.4.23-1-MANJARO. Down below I have included the log file associated with the problem I am encountering. Any help would be awesome!

2020-03-11T02:44:37.227-04:00| modconfig| I125: Log for VMware Workstation pid=1512 version=15.5.1 build=build-15018445 option=Release
2020-03-11T02:44:37.227-04:00| modconfig| I125: The process is 64-bit.
2020-03-11T02:44:37.227-04:00| modconfig| I125: Host codepage=UTF-8 encoding=UTF-8
2020-03-11T02:44:37.227-04:00| modconfig| I125: Host is Linux 5.4.23-1-MANJARO Manjaro Linux
2020-03-11T02:44:37.227-04:00| modconfig| I125: DictionaryLoad: Cannot open file “/usr/lib/vmware/settings”: No such file or directory.
2020-03-11T02:44:37.227-04:00| modconfig| I125: [msg.dictionary.load.openFailed] Cannot open file “/usr/lib/vmware/settings”: No such file or directory.
2020-03-11T02:44:37.227-04:00| modconfig| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2020-03-11T02:44:37.227-04:00| modconfig| I125: DictionaryLoad: Cannot open file “/root/.vmware/config”: No such file or directory.
2020-03-11T02:44:37.227-04:00| modconfig| I125: [msg.dictionary.load.openFailed] Cannot open file “/root/.vmware/config”: No such file or directory.
2020-03-11T02:44:37.227-04:00| modconfig| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2020-03-11T02:44:37.227-04:00| modconfig| I125: DictionaryLoad: Cannot open file “/root/.vmware/preferences”: No such file or directory.
2020-03-11T02:44:37.227-04:00| modconfig| I125: [msg.dictionary.load.openFailed] Cannot open file “/root/.vmware/preferences”: No such file or directory.
2020-03-11T02:44:37.227-04:00| modconfig| I125: PREF Optional preferences file not found at /root/.vmware/preferences. Using default values.
2020-03-11T02:44:37.249-04:00| modconfig| I125: Initialized! Lets do this thing…
2020-03-11T02:44:37.249-04:00| modconfig| I125: Obtaining info using the running kernel.
2020-03-11T02:44:37.249-04:00| modconfig| I125: Created new pathsHash.
2020-03-11T02:44:37.249-04:00| modconfig| I125: Setting header path for 5.4.23-1-MANJARO to “/lib/modules/5.4.23-1-MANJARO/build/include”.
2020-03-11T02:44:37.249-04:00| modconfig| I125: Validating path “/lib/modules/5.4.23-1-MANJARO/build/include” for kernel release “5.4.23-1-MANJARO”.
2020-03-11T02:44:37.249-04:00| modconfig| I125: using /sbin/gcc for preprocess check
2020-03-11T02:44:37.256-04:00| modconfig| I125: Preprocessed UTS_RELEASE, got value “5.4.23-1-MANJARO”.
2020-03-11T02:44:37.256-04:00| modconfig| I125: The header path “/lib/modules/5.4.23-1-MANJARO/build/include” for the kernel “5.4.23-1-MANJARO” is valid. Whoohoo!
2020-03-11T02:44:37.363-04:00| modconfig| I125: found symbol version file /lib/modules/5.4.23-1-MANJARO/build/Module.symvers
2020-03-11T02:44:37.363-04:00| modconfig| I125: Reading symbol versions from /lib/modules/5.4.23-1-MANJARO/build/Module.symvers.
2020-03-11T02:44:37.378-04:00| modconfig| I125: Read 23925 symbol versions
2020-03-11T02:44:37.378-04:00| modconfig| I125: Reading in info for the vmmon module.
2020-03-11T02:44:37.378-04:00| modconfig| I125: Reading in info for the vmnet module.
2020-03-11T02:44:37.378-04:00| modconfig| I125: Reading in info for the vmci module.
2020-03-11T02:44:37.378-04:00| modconfig| I125: Reading in info for the vsock module.
2020-03-11T02:44:37.378-04:00| modconfig| I125: Setting vsock to depend on vmci.
2020-03-11T02:44:37.388-04:00| modconfig| I125: Trying to find a suitable PBM set for kernel “5.4.23-1-MANJARO”.
2020-03-11T02:44:37.388-04:00| modconfig| I125: No matching PBM set was found for kernel “5.4.23-1-MANJARO”.
2020-03-11T02:44:37.388-04:00| modconfig| I125: Found compiler at “/sbin/gcc”
2020-03-11T02:44:37.391-04:00| modconfig| I125: Got gcc version “9.2.1”.
2020-03-11T02:44:37.391-04:00| modconfig| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-03-11T02:44:37.391-04:00| modconfig| I125: Using temp dir “/tmp”.
2020-03-11T02:44:37.527-04:00| modconfig| I125: Setting destination path for vmmon to “/lib/modules/5.4.23-1-MANJARO/misc/vmmon.ko”.
2020-03-11T02:44:37.528-04:00| modconfig| I125: Extracting the vmmon source from “/usr/lib/vmware/modules/source/vmmon.tar”.
2020-03-11T02:44:37.535-04:00| modconfig| I125: Successfully extracted the vmmon source.
2020-03-11T02:44:37.535-04:00| modconfig| I125: Building module with command “/sbin/make -j4 -C /tmp/modconfig-gFTr8y/vmmon-only auto-build HEADER_DIR=/lib/modules/5.4.23-1-MANJARO/build/include CC=/sbin/gcc IS_GCC_3=no”
2020-03-10T22:44:53.369-04:00| modconfig| I125: Successfully built vmmon. Module is currently at “/tmp/modconfig-gFTr8y/vmmon.o”.
2020-03-10T22:44:53.369-04:00| modconfig| I125: Found the vmmon symvers file at “/tmp/modconfig-gFTr8y/vmmon-only/Module.symvers”.
2020-03-10T22:44:53.369-04:00| modconfig| I125: Installing vmmon from /tmp/modconfig-gFTr8y/vmmon.o to /lib/modules/5.4.23-1-MANJARO/misc/vmmon.ko.
2020-03-10T22:44:53.370-04:00| modconfig| I125: Registering file “/lib/modules/5.4.23-1-MANJARO/misc/vmmon.ko”.
2020-03-10T22:44:53.551-04:00| modconfig| I125: “/usr/lib/vmware-installer/3.0.0/vmware-installer” exited with status 0.
2020-03-10T22:44:53.551-04:00| modconfig| I125: Registering file “/usr/lib/vmware/symvers/vmmon-5.4.23-1-MANJARO”.
2020-03-10T22:44:53.657-04:00| modconfig| I125: “/usr/lib/vmware-installer/3.0.0/vmware-installer” exited with status 0.
2020-03-10T22:44:53.657-04:00| modconfig| I125: Setting destination path for vmnet to “/lib/modules/5.4.23-1-MANJARO/misc/vmnet.ko”.
2020-03-10T22:44:53.657-04:00| modconfig| I125: Extracting the vmnet source from “/usr/lib/vmware/modules/source/vmnet.tar”.
2020-03-10T22:44:53.661-04:00| modconfig| I125: Successfully extracted the vmnet source.
2020-03-10T22:44:53.661-04:00| modconfig| I125: Building module with command “/sbin/make -j4 -C /tmp/modconfig-gFTr8y/vmnet-only auto-build HEADER_DIR=/lib/modules/5.4.23-1-MANJARO/build/include CC=/sbin/gcc IS_GCC_3=no”
2020-03-10T22:44:55.223-04:00| modconfig| W115: Failed to build vmnet. Failed to execute the build command.
2020-03-10T22:44:55.228-04:00| modconfig| I125: We are now shutdown. Ready to die!

Did you install it though pacman or AUR?

Got the dependencies?

correct dependencies:

fuse2 - for vmware-vmblock-fuse
gtkmm - for the GUI
linux-headers - for module compilation
ncurses5-compat-libsAUR - needed by the --console installer
libcanberra - for event sounds
pcsclite

Loaded modules?

# modprobe -a vmw_vmci vmmon

It was a mixture of using pacman and AUR for all of the dependencies. What would be the best route to go? The one I had to go AUR with was ncurses5-compat-lib

When I run the modprobe -a vmw_vmci vmmon I get this in return

WARNING: Module vmmon not found in directory /lib/modules/5.4.23-1-MANJARO

Try running the previous command.

Which command? I’ve run a couple of different ones not relating to VMWare.

New update. Got VMMON to load. I try running the modconfig again, and here is the full log

[davidson@davidson-ms7850 ~]$ sudo 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-MgktHs/vmmon-only’
Using kernel build system.
/sbin/make -C /lib/modules/5.4.23-1-MANJARO/build/include/… M=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory ‘/usr/lib/modules/5.4.23-1-MANJARO/build’
CC [M] /tmp/modconfig-MgktHs/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/memtrack.o
In file included from /tmp/modconfig-MgktHs/vmmon-only/./common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/linux/driver.h:33,
from /tmp/modconfig-MgktHs/vmmon-only/linux/driver.c:47:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:134: warning: “MSR_MISC_FEATURES_ENABLES” redefined
134 | #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 /tmp/modconfig-MgktHs/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:702: note: this is the location of the previous definition
702 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/./common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/linux/driver.h:33,
from /tmp/modconfig-MgktHs/vmmon-only/linux/driver.c:47:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:474: warning: “MSR_K7_HWCR_SMMLOCK” redefined
474 | #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 /tmp/modconfig-MgktHs/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-MgktHs/vmmon-only/./common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/linux/driver.h:33,
from /tmp/modconfig-MgktHs/vmmon-only/linux/driver.c:47:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:633: warning: “MSR_TSX_FORCE_ABORT” redefined
633 | #define MSR_TSX_FORCE_ABORT 0x0000010f
|
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 /tmp/modconfig-MgktHs/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:711: note: this is the location of the previous definition
711 | #define MSR_TSX_FORCE_ABORT 0x0000010F
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/./include/vm_asm.h:43,
from /tmp/modconfig-MgktHs/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:134: warning: “MSR_MISC_FEATURES_ENABLES” redefined
134 | #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-MgktHs/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:702: note: this is the location of the previous definition
702 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/./include/vm_asm.h:43,
from /tmp/modconfig-MgktHs/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:474: warning: “MSR_K7_HWCR_SMMLOCK” redefined
474 | #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-MgktHs/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-MgktHs/vmmon-only/./include/vm_asm.h:43,
from /tmp/modconfig-MgktHs/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:633: warning: “MSR_TSX_FORCE_ABORT” redefined
633 | #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-MgktHs/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:711: note: this is the location of the previous definition
711 | #define MSR_TSX_FORCE_ABORT 0x0000010F
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/./include/vm_asm_x86.h:41,
from /tmp/modconfig-MgktHs/vmmon-only/./include/vm_asm.h:44,
from /tmp/modconfig-MgktHs/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-MgktHs/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-MgktHs/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-MgktHs/vmmon-only/./include/vm_asm_x86.h:41,
from /tmp/modconfig-MgktHs/vmmon-only/./include/vm_asm.h:44,
from /tmp/modconfig-MgktHs/vmmon-only/linux/driver.c:49:
/tmp/modconfig-MgktHs/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-MgktHs/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-MgktHs/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/modconfig-MgktHs/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-MgktHs/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
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-MgktHs/vmmon-only/common/memtrack.o: warning: objtool: .text.__x86_indirect_thunk_rbx+0x0: unsupported intra-function call
/tmp/modconfig-MgktHs/vmmon-only/common/memtrack.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/sharedAreaVmmon.o
/tmp/modconfig-MgktHs/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-MgktHs/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-MgktHs/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/statVarsVmmon.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/task.o
/tmp/modconfig-MgktHs/vmmon-only/linux/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-MgktHs/vmmon-only/linux/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
CC [M] /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.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-MgktHs/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-MgktHs/vmmon-only/./include/vm_asm_x86.h:41,
from /tmp/modconfig-MgktHs/vmmon-only/./include/vm_asm.h:44,
from /tmp/modconfig-MgktHs/vmmon-only/common/task.c:53:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86_basic_defs.h:78: note: this is the location of the previous definition
78 | #define CR3_PCID_MASK 0xFFF
|
CC [M] /tmp/modconfig-MgktHs/vmmon-only/vmcore/moduleloop.o
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 ./arch/x86/include/asm/mmu.h:5,
from ./arch/x86/include/asm/desc.h:7,
from /tmp/modconfig-MgktHs/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-MgktHs/vmmon-only/common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/common/task.c:51:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:474: note: this is the location of the previous definition
474 | #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 ./arch/x86/include/asm/mmu.h:5,
from ./arch/x86/include/asm/desc.h:7,
from /tmp/modconfig-MgktHs/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:702: warning: “MSR_MISC_FEATURES_ENABLES” redefined
702 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/common/task.c:51:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:134: note: this is the location of the previous definition
134 | #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 ./arch/x86/include/asm/mmu.h:5,
from ./arch/x86/include/asm/desc.h:7,
from /tmp/modconfig-MgktHs/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:711: warning: “MSR_TSX_FORCE_ABORT” redefined
711 | #define MSR_TSX_FORCE_ABORT 0x0000010F
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/common/task.c:51:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:633: note: this is the location of the previous definition
633 | #define MSR_TSX_FORCE_ABORT 0x0000010f
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:134: warning: “MSR_MISC_FEATURES_ENABLES” redefined
134 | #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-MgktHs/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:702: note: this is the location of the previous definition
702 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:474: warning: “MSR_K7_HWCR_SMMLOCK” redefined
474 | #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-MgktHs/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-MgktHs/vmmon-only/common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:633: warning: “MSR_TSX_FORCE_ABORT” redefined
633 | #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-MgktHs/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:711: note: this is the location of the previous definition
711 | #define MSR_TSX_FORCE_ABORT 0x0000010F
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/./include/vm_asm_x86.h:41,
from /tmp/modconfig-MgktHs/vmmon-only/./include/vm_asm.h:44,
from /tmp/modconfig-MgktHs/vmmon-only/common/vmx86.c:45:
/tmp/modconfig-MgktHs/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-MgktHs/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
|
/tmp/modconfig-MgktHs/vmmon-only/linux/hostif.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-MgktHs/vmmon-only/linux/hostif.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
In file included from /tmp/modconfig-MgktHs/vmmon-only/./common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:134: warning: “MSR_MISC_FEATURES_ENABLES” redefined
134 | #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-MgktHs/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:702: note: this is the location of the previous definition
702 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
|
In file included from /tmp/modconfig-MgktHs/vmmon-only/./common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:474: warning: “MSR_K7_HWCR_SMMLOCK” redefined
474 | #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-MgktHs/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-MgktHs/vmmon-only/./common/vmx86.h:32,
from /tmp/modconfig-MgktHs/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-MgktHs/vmmon-only/./include/x86msr.h:633: warning: “MSR_TSX_FORCE_ABORT” redefined
633 | #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-MgktHs/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:711: note: this is the location of the previous definition
711 | #define MSR_TSX_FORCE_ABORT 0x0000010F
|
CC [M] /tmp/modconfig-MgktHs/vmmon-only/bootstrap/bootstrap.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/bootstrap/monLoader.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/bootstrap/monLoaderVmmon.o
CC [M] /tmp/modconfig-MgktHs/vmmon-only/bootstrap/vmmblob.o
/tmp/modconfig-MgktHs/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x524: indirect call found in RETPOLINE build
/tmp/modconfig-MgktHs/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
LD [M] /tmp/modconfig-MgktHs/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /tmp/modconfig-MgktHs/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-MgktHs/vmmon-only/vmmon.ko
make[1]: Leaving directory ‘/usr/lib/modules/5.4.23-1-MANJARO/build’
/sbin/make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]: Entering directory ‘/tmp/modconfig-MgktHs/vmmon-only’
make[1]: ‘postbuild’ is up to date.
make[1]: Leaving directory ‘/tmp/modconfig-MgktHs/vmmon-only’
cp -f vmmon.ko ./…/vmmon.o
make: Leaving directory ‘/tmp/modconfig-MgktHs/vmmon-only’
make: Entering directory ‘/tmp/modconfig-MgktHs/vmnet-only’
Using kernel build system.
/sbin/make -C /lib/modules/5.4.23-1-MANJARO/build/include/… M=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory ‘/usr/lib/modules/5.4.23-1-MANJARO/build’
CC [M] /tmp/modconfig-MgktHs/vmnet-only/driver.o
CC [M] /tmp/modconfig-MgktHs/vmnet-only/hub.o
CC [M] /tmp/modconfig-MgktHs/vmnet-only/userif.o
CC [M] /tmp/modconfig-MgktHs/vmnet-only/netif.o
In file included from ./include/linux/pci.h:43,
from /tmp/modconfig-MgktHs/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-MgktHs/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-MgktHs/vmnet-only/net.h:38,
from /tmp/modconfig-MgktHs/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-MgktHs/vmnet-only/netif.c:43:
/tmp/modconfig-MgktHs/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-MgktHs/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-MgktHs/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-MgktHs/vmnet-only/net.h:38,
from /tmp/modconfig-MgktHs/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-MgktHs/vmnet-only/netif.c:43:
/tmp/modconfig-MgktHs/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-MgktHs/vmnet-only/userif.c: In function ‘VNetCsumCopyDatagram’:
/tmp/modconfig-MgktHs/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-MgktHs/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-MgktHs/vmnet-only/userif.c:84:36: note: in definition of macro ‘compat_kmap’
84 | # define compat_kmap(page) kmap((page).p)
| ^~~~
/tmp/modconfig-MgktHs/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-MgktHs/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-MgktHs/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-MgktHs/vmnet-only/userif.c:85:40: note: in definition of macro ‘compat_kunmap’
85 | # define compat_kunmap(page) kunmap((page).p)
| ^~~~
/tmp/modconfig-MgktHs/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:266: /tmp/modconfig-MgktHs/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs…
/tmp/modconfig-MgktHs/vmnet-only/hub.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-MgktHs/vmnet-only/hub.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-MgktHs/vmnet-only/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-MgktHs/vmnet-only/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
make[1]: *** [Makefile:1652: /tmp/modconfig-MgktHs/vmnet-only] Error 2
make[1]: Leaving directory ‘/usr/lib/modules/5.4.23-1-MANJARO/build’
make: *** [Makefile:117: vmnet.ko] Error 2
make: Leaving directory ‘/tmp/modconfig-MgktHs/vmnet-only’
Unable to install all modules. See log for details.