Open torehl opened 6 months ago
[ 10.068955] ------------[ cut here ]------------
[ 10.068955] UBSAN: array-index-out-of-bounds in /home/torel/workspace/VMware-Workstations/vmware-host-modules-works
tation-17.5.1/vmmon-only/common/vmx86.c:3652:38
[ 10.068957] index 1 is out of range for type 'MSRReply [*]'
[ 10.068957] CPU: 11 PID: 1216 Comm: modprobe Tainted: P OE 6.8.8-200.fc39.x86_64 #1
[ 10.068959] Hardware name: Dell Inc. Precision 5530/0GN6M8, BIOS 1.36.0 02/17/2024
[ 10.068959] Call Trace:
[ 10.068960] <TASK>
[ 10.068961] dump_stack_lvl+0x64/0x80
[ 10.068964] __ubsan_handle_out_of_bounds+0x95/0xd0
[ 10.068967] Vmx86GenFindCommonIntelVTCap+0x785/0x14d0 [vmmon]
[ 10.068977] Vmx86_CheckMSRUniformity+0x6a1/0x710 [vmmon]
[ 10.068986] ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon]
[ 10.068995] LinuxDriverInit+0x58/0x1a0 [vmmon]
[ 10.069002] ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon]
[ 10.069010] do_one_initcall+0x58/0x320
[ 10.069013] do_init_module+0x60/0x240
[ 10.069016] init_module_from_file+0x86/0xc0
[ 10.069020] idempotent_init_module+0x120/0x2b0
[ 10.069023] __x64_sys_finit_module+0x5e/0xb0
[ 10.069026] do_syscall_64+0x83/0x170
[ 10.069029] ? mas_store_prealloc+0x56/0xd0
[ 10.069031] ? vma_set_page_prot+0x62/0xc0
[ 10.069034] ? mmap_region+0x51b/0x9b0
[ 10.069038] ? vm_mmap_pgoff+0x125/0x1a0
[ 10.069040] ? do_syscall_64+0x90/0x170
[ 10.069043] ? ksys_mmap_pgoff+0xf2/0x230
[ 10.069045] ? syscall_exit_to_user_mode+0x83/0x230
[ 10.069047] ? do_syscall_64+0x90/0x170
[ 10.069049] ? syscall_exit_to_user_mode+0x83/0x230
[ 10.069051] ? do_syscall_64+0x90/0x170
[ 10.069053] ? exc_page_fault+0x7f/0x180
[ 10.069055] entry_SYSCALL_64_after_hwframe+0x78/0x80
[ 10.069057] RIP: 0033:0x7faf7dd3185d
[ 10.069061] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4
d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a3 45 0c 00 f7 d8 64 89 01 48
[ 10.069062] RSP: 002b:00007ffc8bbfe568 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 10.069063] RAX: ffffffffffffffda RBX: 000055adbab0fc60 RCX: 00007faf7dd3185d
[ 10.069064] RDX: 0000000000000000 RSI: 000055adba444fc9 RDI: 0000000000000003
[ 10.069065] RBP: 00007ffc8bbfe620 R08: 0000000000000000 R09: 0000000000000002
[ 10.069066] R10: 0000000000000003 R11: 0000000000000246 R12: 000055adba444fc9
[ 10.069067] R13: 0000000000040000 R14: 000055adbab0fc00 R15: 0000000000000000
[ 10.069070] </TASK>
[ 10.069070] ---[ end trace ]---
[ 10.069213] /dev/vmmon[1216]: Module vmmon: registered as misc device
[ 10.069215] /dev/vmmon[1216]: Using tsc_khz as TSC frequency: 2904006
[ 10.069217] /dev/vmmon[1216]: Module vmmon: initialized
[ 10.106545] Guest personality initialized and is inactive
[ 10.106599] VMCI host device registered (name=vmci, major=10, minor=116)
Any ideas?
How you installed the vmware-modules?
I can confirm everything works perfectly with 6.8.7-200.fc39
and Workstation 17.5.1.
Guess I'll skip the kernel update for now.
How you installed the vmware-modules?
Yes. As I said, and as confirmed by @priiduneemre it works perfectly on 6.8.7, while I'm getting the above kernel oops on 6.8.8. Haven't seen any ill effects on 6.8.8-200.fc39 though.
index 0 is out of range in ... vmx86.c:3652:38
?
vmx86.c:
3651 if (query->msrNum == msrNum) {
3652 return query->logicalCPUs[cpu].msrVal;
3653 }
38
means index [cpu]
Ok, index 0 in an array is invalid? Why?
Because at vmmon-only/include/x86msr.h, line 95 we have:
67 typedef struct MSRQuery {
68 uint32 msrNum; // IN
69 uint32 numLogicalCPUs; // IN/OUT
70 MSRReply logicalCPUs[0]; // OUT
71 } MSRQuery;
In typical C this means an expandable array. But UBSAN did not like it. Maybe we need to add a pragma to tell it about?
BTW: This is probably just a warning, I don't think it is crashing anything.
I'll test this patch at home:
diff --git i/vmmon-only/include/x86msr.h w/vmmon-only/include/x86msr.h
index f67a0e1..74eaae0 100644
--- i/vmmon-only/include/x86msr.h
+++ w/vmmon-only/include/x86msr.h
@@ -67,7 +67,7 @@ typedef struct MSRReply {
typedef struct MSRQuery {
uint32 msrNum; // IN
uint32 numLogicalCPUs; // IN/OUT
- MSRReply logicalCPUs[0]; // OUT
+ MSRReply logicalCPUs[]; // OUT
} MSRQuery;
#pragma pack(pop)
Suggested by looking at https://gist.github.com/joanbm/9cd5fda1dcfab9a67b42cc6195b7b269
Hi, running on bare linux Fedora as of now as following
Fedora Linux 40 (Workstation Edition) 6.8.8-300.fc40.x86_64 Product: VMware® Workstation 17 Pro Version: 17.5.1 build-23298084
when i update to the 6.8.8 i also encountered some issue, instead of build and install it i had to replace the original tarballs and then build and install it.
Hello, Appreciate all the work being done here.
I confirm the same error on the following configuration:
Fedora Linux 40 6.8.8-300.fc40.x86_64, Workstation 17 Pro Version: 17.5.1 build-23298084
VM seems to run fine regardless of the error in dmesg, but after shutting a VM down CPU load goes to almost 100%, which can be stopped with "modprobe -r vmmon".
kernel-6.8.7-300.fc40.x86_64 was fine with modules from this repo.
I confirm Fedora Linux 40, kernels 6.8.8 and 6.8.9 are affected. Worked fine prior to 6.8.8.
https://discussion.fedoraproject.org/t/fedora-40-amd-gpu-kernel-6-8-8-issue-anyone-else/116646
I add the following output for this kernel: Linux clr-3a9b24c3451f4ded968a21702b4bc5de 6.8.9-1432.native #1 SMP Mon May 6 12:48:36 PDT 2024 x86_64 GNU/Linux
make -C vmmon-only
make[1]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make -C /lib/modules/6.8.9-1432.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/6.8.9-1432.native/build'
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/linux/driver.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/linux/driverLog.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/linux/hostif.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/apic.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/comport.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/cpuid.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/crosspage.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/memtrack.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/moduleloop.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/phystrack.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/sharedAreaVmmon.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/statVarsVmmon.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/task.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/vmx86.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/bootstrap/bootstrap.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/bootstrap/monLoader.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/bootstrap/monLoaderVmmon.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/bootstrap/vmmblob.o
LD [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/vmmon.o
MODPOST /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/Module.symvers
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/vmmon.mod.o
LD [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/vmmon.ko
BTF [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/vmmon.ko
make[2]: Leaving directory '/usr/lib/modules/6.8.9-1432.native/build'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[2]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make[2]: 'postbuild' is up to date.
make[2]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make[1]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make -C vmnet-only
make[1]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
make -C /lib/modules/6.8.9-1432.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/6.8.9-1432.native/build'
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/driver.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/hub.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/userif.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/netif.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/procfs.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/smac_compat.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/smac.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vnetEvent.o
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vnetUserListener.o
LD [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnet.o
MODPOST /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/Module.symvers
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnet.mod.o
LD [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnet.ko
BTF [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnet.ko
make[2]: Leaving directory '/usr/lib/modules/6.8.9-1432.native/build'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[2]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
make[2]: 'postbuild' is up to date.
make[2]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make[1]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
install -D -t /lib/modules/6.8.9-1432.native/misc vmmon-only/vmmon.ko vmnet-only/vmnet.ko
strip --strip-debug /lib/modules/6.8.9-1432.native/misc/vmmon.ko /lib/modules/6.8.9-1432.native/misc/vmnet.ko
if test -z ""; then /sbin/depmod -a 6.8.9-1432.native; fi
[AppLoader] GLib does not have GSettings support.
make: Entering directory '/tmp/modconfig-uPS9pU/vmmon-only'
Using kernel build system.
/sbin/make -C /lib/modules/6.8.9-1432.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/6.8.9-1432.native/build'
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/crosspage.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/moduleloop.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/sharedAreaVmmon.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/statVarsVmmon.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/task.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/bootstrap/bootstrap.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/bootstrap/monLoader.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/bootstrap/monLoaderVmmon.o
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/bootstrap/vmmblob.o
/tmp/modconfig-uPS9pU/vmmon-only/common/vmx86.c:700:1: warning: no previous prototype for ‘Vmx86FreeVMDriver’ [-Wmissing-prototypes]
700 | Vmx86FreeVMDriver(VMDriver *vm)
| ^~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/common/vmx86.c:733:1: warning: no previous prototype for ‘Vmx86AllocVMDriver’ [-Wmissing-prototypes]
733 | Vmx86AllocVMDriver(uint32 numVCPUs)
| ^~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes]
548 | TaskGetFlatWriteableDataSegment(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/hostif.c:2926:1: warning: no previous prototype for ‘HostIFCheckTrackedMPN’ [-Wmissing-prototypes]
2926 | HostIFCheckTrackedMPN(VMDriver *vm, // IN: The VM instance
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/hostif.c:3046:1: warning: no previous prototype for ‘HostIFWritePhysicalWork’ [-Wmissing-prototypes]
3046 | HostIFWritePhysicalWork(MA ma, // MA to be written to
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/hostif.c:3205:1: warning: no previous prototype for ‘HostIFStartTimer’ [-Wmissing-prototypes]
3205 | HostIFStartTimer(Bool rateChanged, //IN: Did rate change?
| ^~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/driver.c:271:1: warning: no previous prototype for ‘LinuxDriverInit’ [-Wmissing-prototypes]
271 | LinuxDriverInit(void)
| ^~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/driver.c:339:1: warning: no previous prototype for ‘LinuxDriverExit’ [-Wmissing-prototypes]
339 | LinuxDriverExit(void)
| ^~~~~~~~~~~~~~~
LD [M] /tmp/modconfig-uPS9pU/vmmon-only/vmmon.o
/tmp/modconfig-uPS9pU/vmmon-only/vmmon.o: warning: objtool: CrossPage_CodePage+0x207: 'naked' return found in RETHUNK build
MODPOST /tmp/modconfig-uPS9pU/vmmon-only/Module.symvers
CC [M] /tmp/modconfig-uPS9pU/vmmon-only/vmmon.mod.o
LD [M] /tmp/modconfig-uPS9pU/vmmon-only/vmmon.ko
BTF [M] /tmp/modconfig-uPS9pU/vmmon-only/vmmon.ko
Skipping BTF generation for /tmp/modconfig-uPS9pU/vmmon-only/vmmon.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/lib/modules/6.8.9-1432.native/build'
/sbin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-uPS9pU/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-uPS9pU/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-uPS9pU/vmmon-only'
make: Entering directory '/tmp/modconfig-uPS9pU/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/6.8.9-1432.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/6.8.9-1432.native/build'
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/driver.o
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/hub.o
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/userif.o
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/netif.o
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/bridge.o
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/procfs.o
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/smac.o
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/vnetEvent.o
/tmp/modconfig-uPS9pU/vmnet-only/userif.c:1091:1: warning: no previous prototype for ‘VNetUserIf_Create’ [-Wmissing-prototypes]
1091 | VNetUserIf_Create(VNetPort **ret) // OUT
| ^~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmnet-only/netif.c:173:1: warning: no previous prototype for ‘VNetNetIf_Create’ [-Wmissing-prototypes]
173 | VNetNetIf_Create(char *devName, // IN:
| ^~~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/vnetUserListener.o
/tmp/modconfig-uPS9pU/vmnet-only/bridge.c:258:1: warning: no previous prototype for ‘VNetBridge_Create’ [-Wmissing-prototypes]
258 | VNetBridge_Create(const char *devName, // IN: name of device (e.g., "eth0")
| ^~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmnet-only/bridge.c:1411:1: warning: no previous prototype for ‘VNetBridgeSendLargePacket’ [-Wmissing-prototypes]
1411 | VNetBridgeSendLargePacket(struct sk_buff *skb, // IN: packet to split
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmnet-only/vnetUserListener.c:87:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes]
87 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask
| ^~~~~~~~~~~~~~~~~~~~~~~
LD [M] /tmp/modconfig-uPS9pU/vmnet-only/vmnet.o
/tmp/modconfig-uPS9pU/vmnet-only/vmnet.o: warning: objtool: VNetCsumCopyDatagram+0x57: call to csum_partial_copy_nocheck() with UACCESS enabled
/tmp/modconfig-uPS9pU/vmnet-only/vmnet.o: warning: objtool: init_module(): not an indirect call target
/tmp/modconfig-uPS9pU/vmnet-only/vmnet.o: warning: objtool: cleanup_module(): not an indirect call target
MODPOST /tmp/modconfig-uPS9pU/vmnet-only/Module.symvers
CC [M] /tmp/modconfig-uPS9pU/vmnet-only/vmnet.mod.o
LD [M] /tmp/modconfig-uPS9pU/vmnet-only/vmnet.ko
BTF [M] /tmp/modconfig-uPS9pU/vmnet-only/vmnet.ko
Skipping BTF generation for /tmp/modconfig-uPS9pU/vmnet-only/vmnet.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/lib/modules/6.8.9-1432.native/build'
/sbin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-uPS9pU/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-uPS9pU/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-uPS9pU/vmnet-only'
Job for vmware.service failed because a timeout was exceeded.
See "systemctl status vmware.service" and "journalctl -xeu vmware.service" for details.
Unable to start services
× vmware.service - VMware host virtualization and network services for Workstation
Loaded: loaded (/usr/lib/systemd/system/vmware.service; enabled; preset: disabled)
Active: failed (Result: timeout) since Tue 2024-05-14 00:06:39 CEST; 18min ago
Process: 4786 ExecStart=/usr/lib/vmware/scripts/init/vmware start (code=killed, signal=TERM)
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de systemd[1]: Starting vmware.service...
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]: Starting VMware services:
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]: Virtual machine monitor - done
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]: Virtual machine communication interface - done
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]: VM communication interface socket family - done
May 14 00:06:39 clr-3a9b24c3451f4ded968a21702b4bc5de systemd[1]: vmware.service: start operation timed out. Terminating.
May 14 00:06:39 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]: Virtual ethernet
May 14 00:06:39 clr-3a9b24c3451f4ded968a21702b4bc5de systemd[1]: vmware.service: Failed with result 'timeout'.
May 14 00:06:39 clr-3a9b24c3451f4ded968a21702b4bc5de systemd[1]: Failed to start vmware.service.
I have similar messages in any kernel greater than 6.5.12 and it does cause problems. Either VMs lockup or part of the host locks up.
I was able to fix the warnings by deleting the zero in these two locations
./vmmon-only/include/x86cpuid.h
typedef struct CPUIDQuery { uint32 eax; // IN uint32 ecx; // IN uint32 numLogicalCPUs; // IN/OUT CPUIDReply logicalCPUs[0]; // OUT } CPUIDQuery;
./vmmon-only/include/x86msr.h
typedef struct MSRQuery { uint32 msrNum; // IN uint32 numLogicalCPUs; // IN/OUT MSRReply logicalCPUs[0]; // OUT } MSRQuery;
However if I boot to kernel 6.8.9 and bring up a VM in workstation 17.5.2 the host has lockup problems with these messages.
[ 103.805075] /dev/vmmon[4226]: PTSC: initialized at 3499998000 Hz using TSC, TSCs are synchronized.
[ 103.878484] /dev/vmmon[4226]: Monitor IPI vector: 0
[ 103.878489] /dev/vmmon[4226]: HV IPI vector: 0
[ 103.879895] ------------[ cut here ]------------
[ 103.879898] WARNING: CPU: 6 PID: 4226 at kernel/rcu/tree_plugin.h:734 rcu_sched_clock_irq+0x89d/0x12d0
[ 103.879904] Modules linked in: uinput snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 rfkill ip_set nf_tables nfnetlink vmnet(O) sunrpc qrtr ppdev parport_pc parport vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel intel_rapl_msr snd_intel_dspcfg snd_usb_audio intel_rapl_common snd_intel_sdw_acpi binfmt_misc edac_mce_amd snd_hda_codec snd_usbmidi_lib snd_ump snd_hda_core kvm_amd snd_rawmidi uvcvideo snd_hwdep vfat fat snd_seq uvc snd_seq_device videobuf2_vmalloc videobuf2_memops kvm videobuf2_v4l2 snd_pcm videobuf2_common irqbypass snd_timer videodev wmi_bmof snd rapl pcspkr i2c_piix4 acpi_cpufreq mc soundcore k10temp joydev gpio_amdpt gpio_generic loop zram amdgpu video amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec r8169 crct10dif_pclmul
[ 103.879987] gpu_sched crc32_pclmul drm_suballoc_helper crc32c_intel realtek polyval_clmulni drm_buddy polyval_generic nvme ghash_clmulni_intel drm_display_helper sha512_ssse3 nvme_core sha256_ssse3 ccp sha1_ssse3 cec sp5100_tco nvme_auth wmi ip6_tables ip_tables fuse i2c_dev
[ 103.880011] CPU: 6 PID: 4226 Comm: vmware-vmx Tainted: G O 6.8.9-200.fc39.x86_64 #1
[ 103.880014] Hardware name: Micro-Star International Co., Ltd. MS-7C91/MAG B550 TOMAHAWK (MS-7C91), BIOS A.G0 03/12/2024
[ 103.880016] RIP: 0010:rcu_sched_clock_irq+0x89d/0x12d0
[ 103.880019] Code: 25 6c bd e3 44 ff ff ff 7f e9 c9 fe ff ff 8b 87 38 08 00 00 85 c0 0f 84 7a f8 ff ff eb b2 c6 87 39 08 00 00 01 e9 6c f8 ff ff <0f> 0b e9 0d f8 ff ff 0f b6 05 65 31 16 03 84 c0 74 05 e8 dc 38 ff
[ 103.880021] RSP: 0018:ffffb0be003c4dd8 EFLAGS: 00010086
[ 103.880023] RAX: ffff97940bb08000 RBX: 0000000000000000 RCX: 00000000000f1144
[ 103.880025] RDX: 00000000ffffffa6 RSI: ffffffffbcab0f47 RDI: ffff97940bb08000
[ 103.880027] RBP: 0000000000000000 R08: ffff97b29e521730 R09: 0000000000000000
[ 103.880028] R10: 0000000000000000 R11: ffffb0be003c4ff8 R12: ffff97b29e525040
[ 103.880030] R13: ffffb0be04c93578 R14: 0000000000000016 R15: ffff97b29e524b00
[ 103.880032] FS: 00007fc888ad9c00(0000) GS:ffff97b29e500000(0000) knlGS:0000000000000000
[ 103.880034] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 103.880036] CR2: 00007fc878ef0000 CR3: 00000001c336c000 CR4: 0000000000350ef0
[ 103.880037] Call Trace:
[ 103.880040]
My kernel (Fedora 40) just updated to 6.9.1, and I'm still getting the dev_base_lock error - won't compile. Any suggestions? Attempting to install 17.5.1 (uname -r = 6.9.1-200.fc40.x86_64). Further, 17.5.2 won't let me check it out via git checkout
make -C vmmon-only make[1]: Entering directory '/tmp/patch-vmware/vmware-host-modules/vmmon-only' Using kernel build system. make -C /lib/modules/6.9.1-200.fc40.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/kernels/6.9.1-200.fc40.x86_64' make[2]: Leaving directory '/usr/src/kernels/6.9.1-200.fc40.x86_64' make -C $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= postbuild make[2]: Entering directory '/tmp/patch-vmware/vmware-host-modules/vmmon-only' make[2]: 'postbuild' is up to date. make[2]: Leaving directory '/tmp/patch-vmware/vmware-host-modules/vmmon-only' cp -f vmmon.ko ./../vmmon.o make[1]: Leaving directory '/tmp/patch-vmware/vmware-host-modules/vmmon-only' make -C vmnet-only make[1]: Entering directory '/tmp/patch-vmware/vmware-host-modules/vmnet-only' Using kernel build system. make -C /lib/modules/6.9.1-200.fc40.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/kernels/6.9.1-200.fc40.x86_64' CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.o In file included from ./include/linux/spinlock.h:305, from ./include/linux/sched.h:2138, from /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c:25: /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’: /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 587 | dev_lock_list(); | ^~~~~~~~~~~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 587 | dev_lock_list(); | ^~~~~~~~~~~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeUp’: /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c:902:4: note: in expansion of macro ‘dev_lock_list’ 902 | dev_lock_list(); | ^~~~~~~~~~~~~ make[4]: *** [scripts/Makefile.build:244: /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.o] Error 1 make[3]: *** [/usr/src/kernels/6.9.1-200.fc40.x86_64/Makefile:1931: /tmp/patch-vmware/vmware-host-modules/vmnet-only] Error 2 make[2]: *** [Makefile:252: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/kernels/6.9.1-200.fc40.x86_64' make[1]: *** [Makefile:117: vmnet.ko] Error 2 make[1]: Leaving directory '/tmp/patch-vmware/vmware-host-modules/vmnet-only' make: *** [Makefile:21: vmnet-only] Error 2
Fixed my issue by disabling anything not needed in firmware setup and using these kernel modules https://github.com/mkubecek/vmware-host-modules/
I get UBSAN: array-index-out-of-bounds messages but no lockups and successfully upgraded to Fedora 40 on the host.
It's works fine in Linux cr-lan 6.8.10-1434.native #1 SMP Fri May 17 04:09:08 PDT 2024 x86_64 GNU/Linux
The virtual network editor works. The network in the VM works.
But It does not compile in 6.9.1
make -C vmmon-only
make[1]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
Using kernel build system.
make -C /lib/modules/6.9.1-1436.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/6.9.1-1436.native/build'
make[2]: Leaving directory '/usr/lib/modules/6.9.1-1436.native/build'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[2]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make[2]: 'postbuild' is up to date.
make[2]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make[1]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make -C vmnet-only
make[1]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
Using kernel build system.
make -C /lib/modules/6.9.1-1436.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/6.9.1-1436.native/build'
CC [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.o
In file included from ./include/linux/spinlock.h:305,
from ./include/linux/sched.h:2138,
from /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c:25:
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’?
44 | #define dev_lock_list() read_lock(&dev_base_lock)
| ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
56 | #define read_lock(lock) _raw_read_lock(lock)
| ^~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’
587 | dev_lock_list();
| ^~~~~~~~~~~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in
44 | #define dev_lock_list() read_lock(&dev_base_lock)
| ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
56 | #define read_lock(lock) _raw_read_lock(lock)
| ^~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’
587 | dev_lock_list();
| ^~~~~~~~~~~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeUp’:
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’?
44 | #define dev_lock_list() read_lock(&dev_base_lock)
| ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
56 | #define read_lock(lock) _raw_read_lock(lock)
| ^~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c:902:4: note: in expansion of macro ‘dev_lock_list’
902 | dev_lock_list();
| ^~~~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:244: /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.o] Error 1
make[3]: *** [/usr/lib/modules/6.9.1-1436.native/build/Makefile:1919: /home/sincorchetes/Documents/vmware-host-modules/vmnet-only] Error 2
make[2]: *** [Makefile:240: __sub-make] Error 2
make[2]: Leaving directory '/usr/lib/modules/6.9.1-1436.native/build'
make[1]: *** [Makefile:117: vmnet.ko] Error 2
make[1]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
make: *** [Makefile:21: vmnet-only] Error 2
Interesting, I can successfully make vmmon-only, but not vmnet-only...has everything to do with *_lock
2024-05-27T00:36:30.163Z In(05) host-13706 Log for VMware Workstation pid=13706 version=17.5.1 build=build-23298084 option=Release 2024-05-27T00:36:30.163Z In(05) host-13706 The host is x86_64. 2024-05-27T00:36:30.163Z In(05) host-13706 Host codepage=UTF-8 encoding=UTF-8 2024-05-27T00:36:30.163Z In(05) host-13706 Host is Linux 6.9.1-666.rog.fc40.x86_64 Fedora Linux 40 (Workstation Edition) 40 Fedora Linux 40 (Workstation Edition) cpe:/o:fedoraproject:fedora:40 2024-05-27T00:36:30.163Z In(05) host-13706 Host offset from UTC is -06:00. 2024-05-27T00:36:30.163Z In(05) host-13706 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. 2024-05-27T00:36:30.163Z In(05) host-13706 DictionaryLoad: Cannot open file "/home/mklouda/.vmware/config": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 [msg.dictionary.load.openFailed] Cannot open file "/home/mklouda/.vmware/config": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 PREF Optional preferences file not found at /home/mklouda/.vmware/config. Using default values. 2024-05-27T00:36:30.163Z In(05) host-13706 DictionaryLoad: Cannot open file "/home/mklouda/.vmware/preferences": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 [msg.dictionary.load.openFailed] Cannot open file "/home/mklouda/.vmware/preferences": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 PREF Optional preferences file not found at /home/mklouda/.vmware/preferences. Using default values. 2024-05-27T00:36:30.181Z Wa(03) host-13706 Logging to /tmp/vmware-mklouda/vmware-13706.log 2024-05-27T00:36:30.202Z In(05) host-13706 Obtaining info using the running kernel. 2024-05-27T00:36:30.202Z In(05) host-13706 Created new pathsHash. 2024-05-27T00:36:30.202Z In(05) host-13706 Setting header path for 6.9.1-666.rog.fc40.x86_64 to "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include". 2024-05-27T00:36:30.202Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.202Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:30.202Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:30.202Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:30.209Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.209Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:30.540Z In(05) host-13706 found symbol version file /lib/modules/6.9.1-666.rog.fc40.x86_64/build/Module.symvers 2024-05-27T00:36:30.540Z In(05) host-13706 Reading symbol versions from /lib/modules/6.9.1-666.rog.fc40.x86_64/build/Module.symvers. 2024-05-27T00:36:30.554Z In(05) host-13706 Read 26929 symbol versions 2024-05-27T00:36:30.554Z In(05) host-13706 Reading in info for the vmmon module. 2024-05-27T00:36:30.554Z In(05) host-13706 Reading in info for the vmnet module. 2024-05-27T00:36:30.554Z In(05) host-13706 Invoking modinfo on "vmmon". 2024-05-27T00:36:30.560Z In(05) host-13706 "/sbin/modinfo" exited with status 256. 2024-05-27T00:36:30.560Z In(05) host-13706 Invoking modinfo on "vmnet". 2024-05-27T00:36:30.564Z In(05) host-13706 "/sbin/modinfo" exited with status 256. 2024-05-27T00:36:30.575Z In(05) host-13706 to be installed: vmmon status: 0 2024-05-27T00:36:30.575Z In(05) host-13706 to be installed: vmnet status: 0 2024-05-27T00:36:30.587Z In(05) host-13706 Obtaining info using the running kernel. 2024-05-27T00:36:30.587Z In(05) host-13706 Setting header path for 6.9.1-666.rog.fc40.x86_64 to "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include". 2024-05-27T00:36:30.587Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.587Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:30.587Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:30.587Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:30.595Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.595Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:30.922Z In(05) host-13706 found symbol version file /lib/modules/6.9.1-666.rog.fc40.x86_64/build/Module.symvers 2024-05-27T00:36:30.922Z In(05) host-13706 Reading symbol versions from /lib/modules/6.9.1-666.rog.fc40.x86_64/build/Module.symvers. 2024-05-27T00:36:30.936Z In(05) host-13706 Read 26929 symbol versions 2024-05-27T00:36:30.940Z In(05) host-13706 Kernel header path retrieved from FileEntry: /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include 2024-05-27T00:36:30.940Z In(05) host-13706 Update kernel header path to /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include 2024-05-27T00:36:30.940Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.940Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:30.940Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:30.940Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:30.948Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.948Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:30.949Z In(05) host-13706 Found compiler at "/usr/bin/gcc" 2024-05-27T00:36:30.952Z In(05) host-13706 Got gcc version "14". 2024-05-27T00:36:30.952Z In(05) host-13706 The GCC version matches the kernel GCC minor version like a glove. 2024-05-27T00:36:30.954Z In(05) host-13706 Got gcc version "14". 2024-05-27T00:36:30.954Z In(05) host-13706 The GCC version matches the kernel GCC minor version like a glove. 2024-05-27T00:36:30.956Z In(05) host-13706 Trying to find a suitable PBM set for kernel "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.956Z In(05) host-13706 No matching PBM set was found for kernel "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.956Z In(05) host-13706 The GCC version matches the kernel GCC minor version like a glove. 2024-05-27T00:36:30.956Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.956Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:30.956Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:30.956Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:30.963Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.963Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:32.129Z In(05) host-13706 The GCC version matches the kernel GCC minor version like a glove. 2024-05-27T00:36:32.129Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:32.129Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:32.129Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:32.129Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:32.137Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:32.137Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:32.138Z In(05) host-13706 Using temp dir "/tmp". 2024-05-27T00:36:37.756Z In(05) host-13706 Stopping vmware (via systemctl): [ OK ] 2024-05-27T00:36:37.756Z In(05) host-13706 make: Entering directory '/tmp/modconfig-kI1BOR/vmmon-only' 2024-05-27T00:36:37.756Z In(05) host-13706 /usr/bin/make -C /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2024-05-27T00:36:37.756Z In(05) host-13706 MODULEBUILDDIR= modules 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: Entering directory '/usr/src/kernels/6.9.1-666.rog.fc40.x86_64' 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/linux/driver.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/linux/driverLog.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/comport.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/apic.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/cpuid.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/crosspage.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/memtrack.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/moduleloop.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/phystrack.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/sharedAreaVmmon.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/statVarsVmmon.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/task.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/bootstrap/bootstrap.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/bootstrap/monLoader.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/bootstrap/monLoaderVmmon.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/bootstrap/vmmblob.o 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: Leaving directory '/usr/src/kernels/6.9.1-666.rog.fc40.x86_64' 2024-05-27T00:36:37.756Z In(05) host-13706 make: Leaving directory '/tmp/modconfig-kI1BOR/vmmon-only' 2024-05-27T00:36:37.756Z In(05) host-13706 make: Entering directory '/tmp/modconfig-kI1BOR/vmnet-only' 2024-05-27T00:36:37.756Z In(05) host-13706 /usr/bin/make -C /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2024-05-27T00:36:37.756Z In(05) host-13706 MODULEBUILDDIR= modules 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: Entering directory '/usr/src/kernels/6.9.1-666.rog.fc40.x86_64' 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/driver.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/hub.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/userif.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/bridge.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/netif.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/procfs.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/smac_compat.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/smac.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/vnetEvent.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/vnetUserListener.o 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: Leaving directory '/usr/src/kernels/6.9.1-666.rog.fc40.x86_64' 2024-05-27T00:36:37.756Z In(05) host-13706 make: Leaving directory '/tmp/modconfig-kI1BOR/vmnet-only' 2024-05-27T00:36:37.756Z In(05) host-13706 [AppLoader] GLib does not have GSettings support. 2024-05-27T00:36:37.756Z In(05) host-13706 Using kernel build system. 2024-05-27T00:36:37.756Z In(05) host-13706 In file included from /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.c:52: 2024-05-27T00:36:37.756Z In(05) host-13706 ./arch/x86/include/asm/timex.h: In function ‘random_get_entropy’: 2024-05-27T00:36:37.756Z In(05) host-13706 ./arch/x86/include/asm/timex.h:12:24: error: implicit declaration of function ‘random_get_entropy_fallback’; did you mean ‘random_get_entropy’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 12 | return random_get_entropy_fallback(); 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 | random_get_entropy 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 548 | TaskGetFlatWriteableDataSegment(void) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.c: At top level: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.c:700:1: warning: no previous prototype for ‘Vmx86FreeVMDriver’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 700 | Vmx86FreeVMDriver(VMDriver *vm) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.c:733:1: warning: no previous prototype for ‘Vmx86AllocVMDriver’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 733 | Vmx86AllocVMDriver(uint32 numVCPUs) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** [scripts/Makefile.build:244: /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.o] Error 1 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** Waiting for unfinished jobs.... 2024-05-27T00:36:37.756Z In(05) host-13706 In file included from /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c:76: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h: In function ‘PgtblVa2MPNLocked’: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:60:8: error: implicit declaration of function ‘pgd_large’; did you mean ‘pgd_page’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 60 | if (pgd_large(*pgd)) { 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 | pgd_page 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/driver.c:271:1: warning: no previous prototype for ‘LinuxDriverInit’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 271 | LinuxDriverInit(void) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/driver.c:339:1: warning: no previous prototype for ‘LinuxDriverExit’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 339 | LinuxDriverExit(void) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 In file included from /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:25: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/compat_pgtable.h:39:45: error: implicit declaration of function ‘p4d_large’; did you mean ‘p4d_page’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 39 | # define compat_p4d_large(p4d) p4d_large(p4d) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:70:8: note: in expansion of macro ‘compat_p4d_large’ 2024-05-27T00:36:37.756Z In(05) host-13706 70 | if (compat_p4d_large(*p4d)) { 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:78:11: error: implicit declaration of function ‘pud_large’; did you mean ‘pud_page’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 78 | if (pud_large(*pud)) { 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 | pud_page 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:86:14: error: implicit declaration of function ‘pmd_large’; did you mean ‘pmd_page’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 86 | if (pmd_large(*pmd)) { 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 | pmd_page 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c: At top level: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c:2926:1: warning: no previous prototype for ‘HostIFCheckTrackedMPN’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 2926 | HostIFCheckTrackedMPN(VMDriver *vm, // IN: The VM instance 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c:3046:1: warning: no previous prototype for ‘HostIFWritePhysicalWork’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 3046 | HostIFWritePhysicalWork(MA ma, // MA to be written to 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c:3205:1: warning: no previous prototype for ‘HostIFStartTimer’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 3205 | HostIFStartTimer(Bool rateChanged, //IN: Did rate change? 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** [scripts/Makefile.build:244: /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.o] Error 1 2024-05-27T00:36:37.756Z In(05) host-13706 make[2]: *** [/usr/src/kernels/6.9.1-666.rog.fc40.x86_64/Makefile:1931: /tmp/modconfig-kI1BOR/vmmon-only] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: *** [Makefile:252: __sub-make] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 make: *** [Makefile:117: vmmon.ko] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 Using kernel build system. 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/userif.c:1091:1: warning: no previous prototype for ‘VNetUserIf_Create’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 1091 | VNetUserIf_Create(VNetPort **ret) // OUT 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/netif.c:173:1: warning: no previous prototype for ‘VNetNetIf_Create’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 173 | VNetNetIf_Create(char *devName, // IN: 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/vnetUserListener.c:87:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 87 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:258:1: warning: no previous prototype for ‘VNetBridge_Create’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 258 | VNetBridge_Create(const char *devName, // IN: name of device (e.g., "eth0") 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 In file included from ./include/linux/spinlock.h:305, 2024-05-27T00:36:37.756Z In(05) host-13706 from ./include/linux/sched.h:2138, 2024-05-27T00:36:37.756Z In(05) host-13706 from /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:25: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 2024-05-27T00:36:37.756Z In(05) host-13706 44 | #define dev_lock_list() read_lock(&dev_base_lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 2024-05-27T00:36:37.756Z In(05) host-13706 56 | #define read_lock(lock) _raw_read_lock(lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 2024-05-27T00:36:37.756Z In(05) host-13706 587 | dev_lock_list(); 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in 2024-05-27T00:36:37.756Z In(05) host-13706 44 | #define dev_lock_list() read_lock(&dev_base_lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 2024-05-27T00:36:37.756Z In(05) host-13706 56 | #define read_lock(lock) _raw_read_lock(lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 2024-05-27T00:36:37.756Z In(05) host-13706 587 | dev_lock_list(); 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c: In function ‘VNetBridgeUp’: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 2024-05-27T00:36:37.756Z In(05) host-13706 44 | #define dev_lock_list() read_lock(&dev_base_lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 2024-05-27T00:36:37.756Z In(05) host-13706 56 | #define read_lock(lock) _raw_read_lock(lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:900:4: note: in expansion of macro ‘dev_lock_list’ 2024-05-27T00:36:37.756Z In(05) host-13706 900 | dev_lock_list(); 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c: At top level: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:1411:1: warning: no previous prototype for ‘VNetBridgeSendLargePacket’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 1411 | VNetBridgeSendLargePacket(struct sk_buff *skb, // IN: packet to split 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** [scripts/Makefile.build:244: /tmp/modconfig-kI1BOR/vmnet-only/bridge.o] Error 1 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** Waiting for unfinished jobs.... 2024-05-27T00:36:37.756Z In(05) host-13706 make[2]: *** [/usr/src/kernels/6.9.1-666.rog.fc40.x86_64/Makefile:1931: /tmp/modconfig-kI1BOR/vmnet-only] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: *** [Makefile:252: __sub-make] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 make: *** [Makefile:117: vmnet.ko] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 Unable to install all modules. See log for details. 2024-05-27T00:36:37.756Z In(05) host-13706
The above two fixes from @dioni21 work fine for me on kernels > 6.8.7. I am running VMware Workstation 17.5.2 with 6.8.10-200.fc39 without any issues.
`$ diff -autrB vmware-host-modules-workstation-17.5.1 vmware-host-modules-workstation-17.5.1-torel Only in vmware-host-modules-workstation-17.5.1-torel/vmmon-only/common: vmx86.c.ORIG diff -autrB vmware-host-modules-workstation-17.5.1/vmmon-only/include/x86cpuid.h vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include/x86cpuid.h --- vmware-host-modules-workstation-17.5.1/vmmon-only/include/x86cpuid.h 2024-01-12 08:30:33.000000000 +0100 +++ vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include/x86cpuid.h 2024-05-24 16:26:49.025131089 +0200 @@ -92,7 +92,8 @@ uint32 eax; // IN uint32 ecx; // IN uint32 numLogicalCPUs; // IN/OUT
Only in vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include: x86cpuid.h.ORIG diff -autrB vmware-host-modules-workstation-17.5.1/vmmon-only/include/x86msr.h vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include/x86msr.h --- vmware-host-modules-workstation-17.5.1/vmmon-only/include/x86msr.h 2024-01-12 08:30:33.000000000 +0100 +++ vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include/x86msr.h 2024-05-24 16:27:11.336121943 +0200 @@ -67,7 +67,8 @@ typedef struct MSRQuery { uint32 msrNum; // IN uint32 numLogicalCPUs; // IN/OUT
Only in vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include: x86msr.h.ORIG Only in vmware-host-modules-workstation-17.5.1-torel/vmmon-only: vmmon.mod Only in vmware-host-modules-workstation-17.5.1-torel/vmnet-only: vmnet.mod `
Patch works fine with the latest kernel, 6.8.11-200.fc39.x86_64.
Still no luck on my end. Seems like all of the above patches are fixing vmmon, and I can complete make on that module. However, vmnet is NOT completing without the dev_base_lock error. Has anyone found a fix for that?
dev_base_lock is defined in this file for me.
/usr/src/kernels/$(uname -r)/include/linux/netdevice.h
dev_base_lock has been removed as of kernel 6.9
dev_base_lock has been removed as of kernel 6.9
Yes, you are on the way.
The 17.5.1 module still tries to compile against it, so how do I solve for it?
The 17.5.1 module still tries to compile against it, so how do I solve for it?
At this moment try to use 6.8.n kernel version.
The 17.5.1 module still tries to compile against it, so how do I solve for it?
At this moment try to use 6.8.n kernel version.
Sadly not an option right now - I'm running the Asus ROG 6.9 kernel for a thousand other fixes. :)
The 17.5.1 module still tries to compile against it, so how do I solve for it?
At this moment try to use 6.8.n kernel version.
Sadly not an option right now - I'm running the Asus ROG 6.9 kernel for a thousand other fixes. :)
So, you only have to wait to fix it then...
The 17.5.1 module still tries to compile against it, so how do I solve for it?
At this moment try to use 6.8.n kernel version.
Sadly not an option right now - I'm running the Asus ROG 6.9 kernel for a thousand other fixes. :)
So, you only have to wait to fix it then...
And wait I will - this is a great community, thanks for the answers.
FYI these modules worked on 6.9.1 https://github.com/nan0desu/vmware-host-modules/tree/tmp/workstation-17.5.2-k6.9.1
Works for me with today's kernel upgrade to Fedora W40. Thanks
FYI these modules worked on 6.9.1 https://github.com/nan0desu/vmware-host-modules/tree/tmp/workstation-17.5.2-k6.9.1
Great. Thank you!
I have a kernel crash that looks like your errors. The difference is i use VMware 17.6.0 and kernel 6.8.0-41-generic, i'm on Mint 22 based on Ubuntu 24.04 according to the vmware release notes, 24.04 should be supported.
`[28720.724660] ------------[ cut here ]------------
[28720.724664] UBSAN: array-index-out-of-bounds in /tmp/modconfig-D93pF0/vmmon-only/linux/hostif.c:2825:22
[28720.724667] index 0 is out of range for type 'CPUIDReply []'
[28720.724669] CPU: 2 PID: 88851 Comm: vmware-vmx Tainted: P OE 6.8.0-41-generic #41-Ubuntu
[28720.724671] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28720.724672] Call Trace:
[28720.724673]
[29247.035083] task:P2P_DISCOVER state:D stack:0 pid:3948 tgid:3098 ppid:1 flags:0x00000002
[29247.035085] Call Trace:
[29247.035086]
I have a kernel crash that looks like your errors. The difference is i use VMware 17.6.0 and kernel 6.8.0-41-generic, i'm on Mint 22 based on Ubuntu 24.04 according to the vmware release notes, 24.04 should be supported.
Same here. My system hangs after it's been idle for a while (cannot get past the lock screen, network drops, etc.). Not sure if it's related, but it started happening when I upgraded to 17.6.
Same crash with the last kernel update 6.8.0-44
Same crash with 6.8.0-45. What the similarity with Version Mismatch error? I haven´t this error in the stack trace.
I am on 22.04 and 24.04 with a 6.8.0 kernel and after this update, I have to disable vmware service on startup. It will freeze the machine and crash and cannot even reboot remotely so I guess that's pretty bad.
I was on ubuntu 24.04 6.8 as well and having the same issues (machine freeze, error in the dmesg, cannot reboot etc.).
Solved installing kernel 6.1 with https://github.com/bkw777/mainline.
Works perfectly with 6.8.7-200.fc39. VMware Wkst 17.5.1 still works.