Building of vmnet module fails in newer kernel versions. For me it failed in kernel version 6.4.10-arch1-1. (Yes I use Archlinux)
I compiled with:
vmware-modconfig --console --install-all
I got:
/tmp/modconfig-7XKYCP/vmnet-only/bridge.c: In function ‘VNetBridgeSendLargePacket’:
/tmp/modconfig-7XKYCP/vmnet-only/bridge.c:1413:11: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘tcp_gso_segment’? [-Werror=implicit-function-declaration]
1413 | segs = skb_gso_segment(skb, 0);
| ^~~~~~~~~~~~~~~
| tcp_gso_segment
/tmp/modconfig-7XKYCP/vmnet-only/bridge.c:1413:9: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1413 | segs = skb_gso_segment(skb, 0);
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:252: /tmp/modconfig-7XKYCP/vmnet-only/bridge.o] Error 1
make[1]: *** [Makefile:2032: /tmp/modconfig-7XKYCP/vmnet-only] Error 2
make: *** [Makefile:117: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-7XKYCP/vmnet-only'
Unable to install all modules. See log for details.
I figured out that in Linux kernel commit https://github.com/torvalds/linux/commit/d457a0e329b0bfd3a1450e0b1a18cd2b47a25a08 there was a change.
They moved code (including the function skb_gso_segment) from one "header" to another (<linux/inetdevice.h> to <net/gso.h>).
Commit message: "Move declarations into include/net/gso.h and code into net/core/gso.c"
In bridge.c one needs to add #include <net/gso.h>
How? I bet You are lazy... Assuming You have installed the .bundle and just want to compile... Try this:
# Cd to te dir where the vmware modules are.
cd /usr/lib/vmware/modules/source
# Unpack vmnet.
tar -xvf vmnet.tar
# Add the missing include (code is just there now)
sed -i '46 a#include <net/gso.h>' vmnet-only/bridge.c
# Backup original vmnet.tar
mv vmnet.tar vmnet.tar.original
# Pack the patched vmnet.
tar -cf vmnet.tar vmnet-only
Now if you are running
vmware-modconfig --console --install-all
again everything should work.
Since it is a real pain to let You vmware guys know of a bug. I at least try to help people here. I couldn't figure a way to send You this...
Hope this helps 😀
Thanks a lot, I was having the same on Mint running the latest Liquorix kernel.
Thank you! This worked for me, running Fedora 38.
thanks
I was facing same issue
still not work on my fedora with 6.4.10 kernel with the following error message :
Skipping BTF generation for /home/agun76/software/vmware-host-modules-workstation-17.0.2/vmmon-only/vmmon.ko due to unavailability of vmlinux
make[2]: Leaving directory '/usr/src/kernels/6.4.10-200.fc38.x86_64'
make -C $PWD SRCROOT=$PWD/. \
...
..
Skipping BTF generation for /home/agun76/software/vmware-host-modules-workstation-17.0.2/vmnet-only/vmnet.ko due to unavailability of vmlinux
make[2]: Leaving directory '/usr/src/kernels/6.4.10-200.fc38.x86_64'
...
I already copy all the latest vmmon-only and vmnet-only from kubecek github and make sure the followng line :
#include <net/gso.h>
already available in file : vmnet-only/bridge.c
any idea ?
I also couldn't get it to build under Fedora 6.4.11. I don't know if it should have worked at all, as the machine I was testing on was actually a VMWare guest, so there was no VMWare workstation installed at all, I downloaded the sources as described above.
You might wanna read that:
Long story short:
They changed the location of the file 'vmlinux.xz'
try
ln -sf /usr/lib/modules/$(uname -r)/vmlinux.xz /boot/
Thanks for the response, but in my system (fedora 38 with kernel 6.4.10) file : vmlinux.xz, is not exist in /usr/lib/modules/$(uname -r)/.
i didn't see either in my previous kernel directory.
thanks
@agun76, dont copy individual files from https://github.com/mkubecek/vmware-host-modules
Clone the repo, checkout the right branch and pull, then "make ; sudo make install".
Thanks @rakotomandimby for the response. actually I did it before, and I try to upgrade to the latest kernel 6.4.11, get the source and make it. but the result is the same :
[agun76@fedora vmware-host-modules]$ wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-17.0.2.tar.gz
--2023-08-22 07:53:15-- https://github.com/mkubecek/vmware-host-modules/archive/workstation-17.0.2.tar.gz
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/mkubecek/vmware-host-modules/tar.gz/refs/heads/workstation-17.0.2 [following]
--2023-08-22 07:53:16-- https://codeload.github.com/mkubecek/vmware-host-modules/tar.gz/refs/heads/workstation-17.0.2
Resolving codeload.github.com (codeload.github.com)... 20.205.243.165
Connecting to codeload.github.com (codeload.github.com)|20.205.243.165|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: 'workstation-17.0.2.tar.gz'
workstation-17.0.2.tar.gz [ <=> ] 470.78K 1.47MB/s in 0.3s
[agun76@fedora vmware-host-modules]$ tar -xzf workstation-17.0.2.tar.gz
[agun76@fedora vmware-host-modules]$ cd vmware-host-modules-workstation-17.0.2/
[agun76@fedora vmware-host-modules-workstation-17.0.2]$ make
make -C vmmon-only
make[1]: Entering directory '/home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only'
Using kernel build system.
make -C /lib/modules/6.4.11-200.fc38.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/src/kernels/6.4.11-200.fc38.x86_64'
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/linux/driver.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/linux/driverLog.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/linux/hostif.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/apic.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/comport.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/cpuid.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/crosspage.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/memtrack.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/moduleloop.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/phystrack.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/sharedAreaVmmon.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/statVarsVmmon.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/task.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/common/vmx86.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/bootstrap/bootstrap.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/bootstrap/monLoader.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/bootstrap/monLoaderVmmon.o
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/bootstrap/vmmblob.o
LD [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/vmmon.o
MODPOST /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/Module.symvers
CC [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/vmmon.mod.o
LD [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/vmmon.ko
BTF [M] /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/vmmon.ko
Skipping BTF generation for /home/agun76/software/vmware-host-modules/vmware-host-modules-workstation-17.0.2/vmmon-only/vmmon.ko due to unavailability of vmlinux
make[2]: Leaving directory '/usr/src/kernels/6.4.11-200.fc38.x86_64'
make -C $PWD SRCROOT=$PWD/. \
I have the same problem. I tried "sed -i '46 a#include <net/gso.h>' vmnet-only/bridge.c && tar -cf vmnet.tar vmnet-only" but it still did not work.
Can You provide more details?
of course I have all of those packages installed since already used kubecek patch since previous kernel (before 6.4.10). but it fail since 6.4.10 (now I'm use 6.4.11).
[agun76@fedora ~]$ rpm -qa | grep kernel-devel
kernel-devel-6.4.9-200.fc38.x86_64
kernel-devel-6.4.10-200.fc38.x86_64
kernel-devel-6.4.11-200.fc38.x86_64
kernel-devel-matched-6.4.11-200.fc38.x86_64
[agun76@fedora ~]$ rpm -qa | grep kernel-headers
kernel-headers-6.4.4-200.fc38.x86_64
[agun76@fedora ~]$ rpm -qa | grep linux-firmware
linux-firmware-whence-20230804-153.fc38.noarch
linux-firmware-20230804-153.fc38.noarch
thanks
Thanks! Fixed the issue for me on (recently updated) Fedora Workstation 38
% uname -a
Linux Feddy808 6.4.12-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 23 17:46:49 UTC 2023 x86_64 GNU/Linux
% cat /etc/redhat-release
Fedora release 38 (Thirty Eight)
having same issue and i cannot overcome.
after some commands, VMware shows that it needs to install some modules and it shows only vmmon.
vmnet was intalled.
when i execute following commnad:
sudo vmware-modconfig --console --install-all
i got:
[AppLoader] GLib does not have GSettings support.
make: Entering directory '/tmp/modconfig-M6DyYO/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/6.5.2-1-default/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-6.5.2-1-obj/x86_64/default'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (SUSE Linux) 13.2.1 20230803 [revision cc279d6c64562f05019e1d12d0d825f9391b5553]
You are using: gcc (SUSE Linux) 13.2.1 20230912 [revision b96e66fd4ef3e36983969fb8cdd1956f551a074b]
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/crosspage.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/moduleloop.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/sharedAreaVmmon.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/statVarsVmmon.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/task.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/bootstrap/bootstrap.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/bootstrap/monLoader.o
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/bootstrap/monLoaderVmmon.o
/tmp/modconfig-M6DyYO/vmmon-only/bootstrap/monLoader.c: In function ‘MonLoader_Process’:
/tmp/modconfig-M6DyYO/vmmon-only/bootstrap/monLoader.c:794:24: warning: the comparison will always evaluate as ‘false’ for the address of ‘entries’ will never be NULL [-Waddress]
794 | if (header->entries == 0 || header->count == 0) {
| ^~
In file included from /tmp/modconfig-M6DyYO/vmmon-only/bootstrap/monLoader.c:57:
/tmp/modconfig-M6DyYO/vmmon-only/./include/monLoader.h:239:19: note: ‘entries’ declared here
239 | MonLoaderEntry entries[];
| ^~~~~~~
CC [M] /tmp/modconfig-M6DyYO/vmmon-only/bootstrap/vmmblob.o
In file included from /tmp/modconfig-M6DyYO/vmmon-only/./include/cpu_types.h:29,
from /tmp/modconfig-M6DyYO/vmmon-only/./include/modulecall.h:33,
from /tmp/modconfig-M6DyYO/vmmon-only/common/moduleloop.c:33:
/tmp/modconfig-M6DyYO/vmmon-only/./include/vm_basic_defs.h:779: warning: "DO_ONCE" redefined
779 | #define DO_ONCE(code) \
|
In file included from /usr/src/linux-6.5.2-1/include/linux/prandom.h:12,
from /usr/src/linux-6.5.2-1/include/linux/random.h:153,
from /usr/src/linux-6.5.2-1/include/linux/nodemask.h:97,
from /usr/src/linux-6.5.2-1/include/linux/sched.h:23,
from /tmp/modconfig-M6DyYO/vmmon-only/common/moduleloop.c:31:
/usr/src/linux-6.5.2-1/include/linux/once.h:46: note: this is the location of the previous definition
46 | #define DO_ONCE(func, ...) \
|
In file included from /tmp/modconfig-M6DyYO/vmmon-only/./include/cpu_types.h:29,
from /tmp/modconfig-M6DyYO/vmmon-only/./include/modulecall.h:33,
from /tmp/modconfig-M6DyYO/vmmon-only/common/vmx86.h:33,
from /tmp/modconfig-M6DyYO/vmmon-only/common/vmx86.c:38:
/tmp/modconfig-M6DyYO/vmmon-only/./include/vm_basic_defs.h:779: warning: "DO_ONCE" redefined
779 | #define DO_ONCE(code) \
|
In file included from /usr/src/linux-6.5.2-1/include/linux/prandom.h:12,
from /usr/src/linux-6.5.2-1/include/linux/random.h:153,
from /usr/src/linux-6.5.2-1/include/linux/nodemask.h:97,
from /usr/src/linux-6.5.2-1/include/linux/sched.h:23,
from /tmp/modconfig-M6DyYO/vmmon-only/common/vmx86.c:31:
/usr/src/linux-6.5.2-1/include/linux/once.h:46: note: this is the location of the previous definition
46 | #define DO_ONCE(func, ...) \
|
In file included from /tmp/modconfig-M6DyYO/vmmon-only/./include/cpu_types.h:29,
from /tmp/modconfig-M6DyYO/vmmon-only/./include/modulecall.h:33,
from /tmp/modconfig-M6DyYO/vmmon-only/linux/hostif.c:58:
/tmp/modconfig-M6DyYO/vmmon-only/./include/vm_basic_defs.h:779: warning: "DO_ONCE" redefined
779 | #define DO_ONCE(code) \
|
In file included from /usr/src/linux-6.5.2-1/include/linux/prandom.h:12,
from /usr/src/linux-6.5.2-1/include/linux/random.h:153,
from /usr/src/linux-6.5.2-1/include/linux/nodemask.h:97,
from /usr/src/linux-6.5.2-1/include/linux/sched.h:23,
from /usr/src/linux-6.5.2-1/include/linux/binfmts.h:5,
from /tmp/modconfig-M6DyYO/vmmon-only/linux/hostif.c:31:
/usr/src/linux-6.5.2-1/include/linux/once.h:46: note: this is the location of the previous definition
46 | #define DO_ONCE(func, ...) \
|
In file included from /tmp/modconfig-M6DyYO/vmmon-only/./include/cpu_types.h:29,
from /tmp/modconfig-M6DyYO/vmmon-only/./include/modulecall.h:33,
from /tmp/modconfig-M6DyYO/vmmon-only/./common/vmx86.h:33,
from /tmp/modconfig-M6DyYO/vmmon-only/linux/driver.h:32,
from /tmp/modconfig-M6DyYO/vmmon-only/linux/driver.c:47:
/tmp/modconfig-M6DyYO/vmmon-only/./include/vm_basic_defs.h:779: warning: "DO_ONCE" redefined
779 | #define DO_ONCE(code) \
|
In file included from /usr/src/linux-6.5.2-1/include/linux/prandom.h:12,
from /usr/src/linux-6.5.2-1/include/linux/random.h:153,
from /usr/src/linux-6.5.2-1/include/linux/nodemask.h:97,
from /usr/src/linux-6.5.2-1/include/linux/list_lru.h:12,
from /usr/src/linux-6.5.2-1/include/linux/fs.h:13,
from /usr/src/linux-6.5.2-1/include/linux/highmem.h:5,
from /tmp/modconfig-M6DyYO/vmmon-only/linux/driver.c:25:
/usr/src/linux-6.5.2-1/include/linux/once.h:46: note: this is the location of the previous definition
46 | #define DO_ONCE(func, ...) \
|
LD [M] /tmp/modconfig-M6DyYO/vmmon-only/vmmon.o
/tmp/modconfig-M6DyYO/vmmon-only/vmmon.o: warning: objtool: CrossPage_CodePage+0x207: 'naked' return found in RETHUNK build
MODPOST /tmp/modconfig-M6DyYO/vmmon-only/Module.symvers
ERROR: modpost: "__pte_offset_map" [/tmp/modconfig-M6DyYO/vmmon-only/vmmon.ko] undefined!
make[3]: *** [/usr/src/linux-6.5.2-1/scripts/Makefile.modpost:150: /tmp/modconfig-M6DyYO/vmmon-only/Module.symvers] Error 1
make[2]: *** [/usr/src/linux-6.5.2-1/Makefile:2001: modpost] Error 2
make[1]: *** [../../../linux-6.5.2-1/Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.5.2-1-obj/x86_64/default'
make: *** [Makefile:117: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-M6DyYO/vmmon-only'
make: Entering directory '/tmp/modconfig-M6DyYO/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/6.5.2-1-default/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-6.5.2-1-obj/x86_64/default'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (SUSE Linux) 13.2.1 20230803 [revision cc279d6c64562f05019e1d12d0d825f9391b5553]
You are using: gcc (SUSE Linux) 13.2.1 20230912 [revision b96e66fd4ef3e36983969fb8cdd1956f551a074b]
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/driver.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/hub.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/userif.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/netif.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/bridge.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/procfs.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/smac.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/vnetEvent.o
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/vnetUserListener.o
LD [M] /tmp/modconfig-M6DyYO/vmnet-only/vmnet.o
/tmp/modconfig-M6DyYO/vmnet-only/vmnet.o: warning: objtool: VNetCsumAndCopyToUser+0x28: call to csum_partial_copy_nocheck() with UACCESS enabled
/tmp/modconfig-M6DyYO/vmnet-only/vmnet.o: warning: objtool: init_module(): not an indirect call target
/tmp/modconfig-M6DyYO/vmnet-only/vmnet.o: warning: objtool: cleanup_module(): not an indirect call target
MODPOST /tmp/modconfig-M6DyYO/vmnet-only/Module.symvers
CC [M] /tmp/modconfig-M6DyYO/vmnet-only/vmnet.mod.o
LD [M] /tmp/modconfig-M6DyYO/vmnet-only/vmnet.ko
BTF [M] /tmp/modconfig-M6DyYO/vmnet-only/vmnet.ko
Skipping BTF generation for /tmp/modconfig-M6DyYO/vmnet-only/vmnet.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-6.5.2-1-obj/x86_64/default'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-M6DyYO/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-M6DyYO/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-M6DyYO/vmnet-only'
Unable to install all modules. See log for details.
any help here??
I am getting exactly the same error on
# uname -a
Linux ... 6.5.15-2-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 6.5-1ubuntu1~jammy (2023-09-15) x86_64 x86_64 x86_64 GNU/Linux
(Linux Mint 21.2).
It seemed it worked initially, but when starting the VM, the error popped out
[are@work-st source]$ cat /etc/redhat-release
Fedora release 38 (Thirty Eight)
[are@work-st source]$ uname -a
Linux work-st 6.4.15-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 7 00:25:01 UTC 2023 x86_64 GNU/Linux
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
sudo systemctl status vmware.service
[sudo] password for are:
× vmware.service - VMware host virtualization and network services for Workstation
Loaded: loaded (/usr/lib/systemd/system/vmware.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since Sun 2023-09-17 08:10:29 BST; 7min ago
Process: 29915 ExecStart=/usr/lib/vmware/scripts/init/vmware start (code=exited, status=203/EXEC)
CPU: 1ms
Sep 17 08:10:29 work-st (vmware)[29915]: vmware.service: Failed to locate executable /usr/lib/vmware/scripts/init/vmware: No such file or directory
Sep 17 08:10:29 work-st (vmware)[29915]: vmware.service: Failed at step EXEC spawning /usr/lib/vmware/scripts/init/vmware: No such file or directory
Sep 17 08:10:29 work-st systemd[1]: Starting vmware.service - VMware host virtualization and network services for Workstation...
Sep 17 08:10:29 work-st systemd[1]: vmware.service: Control process exited, code=exited, status=203/EXEC
Sep 17 08:10:29 work-st systemd[1]: vmware.service: Failed with result 'exit-code'.
Sep 17 08:10:29 work-st systemd[1]: Failed to start vmware.service - VMware host virtualization and network services for Workstation.
[are@work-st source]$ sudo systemctl status vmware.service
[sudo] password for are:
× vmware.service - VMware host virtualization and network services for Workstation
Loaded: loaded (/usr/lib/systemd/system/vmware.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Sep 17 08:10:29 work-st systemd[1]: vmware.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit vmware.service has entered the 'failed' state with result 'exit-code'.
Sep 17 08:10:29 work-st systemd[1]: Failed to start vmware.service - VMware host virtualization and network services for Workstation.
░░ Subject: A start job for unit vmware.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit vmware.service has finished with a failure.
░░
░░ The job identifier is 5145 and the job result is failed.
I have lost a number of months for how long I can't use VMware workstation.
Apply the solution from https://communities.vmware.com/t5/Workstation-2023-Tech-Preview/Linux-Kernel-6-5-rc-vmmon-compile-fa... ; modules then compile. Restart the vmware service; you will probably still have another error (non-fatal) about /usr/sbin/vmware-authdlauncher not starting; I "solved" this by moving this file to /usr/sbin/vmware-authdlauncher.exe and placing
#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libssl.so.1.1:/usr/lib/vmware/lib/libcrypto.so.1.1
exec /usr/sbin/vmware-authdlauncher.exe $@
into /usr/sbin/vmware-authdlauncher . Workstation 17.0.2 now runs just fine under
Linux ... 6.5.15-2-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 6.5-1ubuntu1~jammy (2023-09-15) x86_64 x86_64 x86_64 GNU/Linux