Which Linux distro are you using? Fedora Workstation
Which release version? 42
Which kernel are you using? 6.16.8-200.fc42.x86_64
Which BIOS version are you using? 3.3.0
Which Framework Laptop 13 model are you using? AMD Ryzen™ AI 300 Series
Hello,
I am trying to run VMWare, as I’ve been told it’s the preferred way to run Kali VMs for ethical hacking certifications. At first I got the latest version, 17.6.4, and after tackling the first error by installing kernel-devel I got another one when the software was trying to compile the kernel modules: Unable to install all modules. See log for details. (Exit code 1).
make: *** No rule to make target ‘vmmon-only/vmmon.ko’, needed by ‘install’. Stop.
I am pretty exhausted from the process so far and couldn’t get a straight answer about that last one, so I hope someone here has managed to get this to work and can advise.
I hate to be that guy to question software choices instead of actually helping you accomplish what you’re asking for, but here I am wondering if there really is a use for VMWare over QEMU/KVM. Unless you need to be able to move your VMs over to other machines with different operating systems, I feel like QEMU/KVM would be a perfect alternative, and I’ve found it less hacky to setup. Really worth exploring if it could be used, unless learning material contains other software suites and you’d like to follow the learning material.
KVM is a hypervisor that’s already built into the kernel/what the kernel comes with, so no need to recompile anything for it to work with the latest kernel. Virt-manager (GUI client to interface with QEMU/KVM) works just as easily as VMWare workstation does. But of course, if there’s a specific reason to use VMWare over QEMU/KVM ignore this message.
Well, the best reason I have is I want to try all the virtualization platforms available to me and determine which ones work best.
I am currently using the QEMU/KVM setup on multiple machines both with virt-mamager and gnome-boxes. But on Boxes on my 13, VMs sometimes crash at boot and require a few tries to get to the login screen. It’s smooth sailing from there, but that’s another reason I want to have a secondary solution on this machine, as a backup.
Figured I am supposed to run make alone first then sudo make install. The script does its thing, after which I am able to open VMWare and create a machine, however when trying to run a machine I get:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
So the patch seemed to just skip the module installation but did not fix it…
The output of sudo vmware-modconfig --console --install-all:
[AppLoader] GLib does not have GSettings support.
Stopping vmware (via systemctl): [ OK ]
make: Entering directory '/tmp/modconfig-3V2zHy/vmmon-only'
Using kernel build system.
/sbin/make -C /lib/modules/6.16.8-200.fc42.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/kernels/6.16.8-200.fc42.x86_64'
make[2]: Entering directory '/tmp/modconfig-3V2zHy/vmmon-only'
CC [M] linux/driver.o
CC [M] linux/driverLog.o
CC [M] linux/hostif.o
CC [M] common/apic.o
CC [M] common/comport.o
CC [M] common/cpuid.o
CC [M] common/crosspage.o
CC [M] common/memtrack.o
CC [M] common/moduleloop.o
linux/driver.c:21:10: fatal error: driver-config.h: No such file or directory
21 | #include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
CC [M] common/phystrack.o
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: linux/driver.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CC [M] common/sharedAreaVmmon.o
linux/hostif.c:30:10: fatal error: driver-config.h: No such file or directory
30 | #include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
linux/driverLog.c:26:10: fatal error: driver-config.h: No such file or directory
26 | #include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from common/comport.c:40:
common/comport.h:25:10: fatal error: includeCheck.h: No such file or directory
25 | #include "includeCheck.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
common/apic.c:20:10: fatal error: vm_basic_defs.h: No such file or directory
20 | #include "vm_basic_defs.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: linux/hostif.o] Error 1
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: linux/driverLog.o] Error 1
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: common/comport.o] Error 1
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: common/apic.o] Error 1
common/cpuid.c:22:13: fatal error: driver-config.h: No such file or directory
22 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: common/cpuid.o] Error 1
common/crosspage.c:50:13: fatal error: driver-config.h: No such file or directory
50 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
common/memtrack.c:79:13: fatal error: driver-config.h: No such file or directory
79 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
common/moduleloop.c:30:13: fatal error: driver-config.h: No such file or directory
30 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: common/crosspage.o] Error 1
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: common/memtrack.o] Error 1
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: common/moduleloop.o] Error 1
common/phystrack.c:38:13: fatal error: driver-config.h: No such file or directory
38 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
common/sharedAreaVmmon.c:27:13: fatal error: driver-config.h: No such file or directory
27 | # include "driver-config.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: common/phystrack.o] Error 1
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:287: common/sharedAreaVmmon.o] Error 1
make[3]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/Makefile:2033: .] Error 2
make[2]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/tmp/modconfig-3V2zHy/vmmon-only'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/kernels/6.16.8-200.fc42.x86_64'
make: *** [Makefile:117: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-3V2zHy/vmmon-only'
make: Entering directory '/tmp/modconfig-3V2zHy/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/6.16.8-200.fc42.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/kernels/6.16.8-200.fc42.x86_64'
make[2]: Entering directory '/tmp/modconfig-3V2zHy/vmnet-only'
CC [M] driver.o
CC [M] hub.o
CC [M] userif.o
CC [M] netif.o
CC [M] bridge.o
CC [M] procfs.o
CC [M] smac_compat.o
CC [M] smac.o
CC [M] vnetEvent.o
CC [M] vnetUserListener.o
LD [M] vmnet.o
vmnet.o: warning: objtool: VNetCsumAndCopyToUser+0x32: call to csum_partial_copy_nocheck() with UACCESS enabled
vmnet.o: error: objtool: init_module(): Magic init_module() function name is deprecated, use module_init(fn) instead
make[4]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/scripts/Makefile.build:502: vmnet.o] Error 255
make[4]: *** Deleting file 'vmnet.o'
make[3]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/Makefile:2033: .] Error 2
make[2]: *** [/usr/src/kernels/6.16.8-200.fc42.x86_64/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/tmp/modconfig-3V2zHy/vmnet-only'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/kernels/6.16.8-200.fc42.x86_64'
make: *** [Makefile:117: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-3V2zHy/vmnet-only'
Unable to install all modules. See log for details.