Leap 16.1 and VMware Workstation 26.0.1

Has anyone gotten VMware Workstation to work on Leap 16.1?

I’ve downloaded the *.bundle and installed, but the kernel modules fail to compile/install.

Thank you

So post all you get incl. the complete commandline in Code-Tags.

Command to build the modules:

user@suse-dev:~> sudo vmware-modconfig --console --install-all
[sudo] password for user:
[AppLoader] GLib does not have GSettings support.
Unable to install all modules. See log for details.

user@suse-dev:~>

Attempted to resolve version.h path with:
Alternative: Generated Header Path

If you installed the headers but the compilation script still complains about version.h specifically, it may be looking in an older directory layout. In modern kernels, version.h is often located at /lib/modules/$(uname -r)/build/include/generated/uapi/linux/version.h.

If your compiler script is hardcoded to the old path, you can fix it instantly by creating a symlink:

bash

sudo ln -s /lib/modules/$(uname -r)/build/include/generated/uapi/linux/version.h /lib/modules/$(uname -r)/build/include/linux/version.h

Logs generated:

2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Log for VMware Workstation pid=14926 version=26.0.1 build=25688693 option=Release
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The host is x86_64.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Host codepage=UTF-8 encoding=UTF-8
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Host is Linux 6.12.0-160100.8-default openSUSE Leap 16.1 16.1 openSUSE Leap 16.1 cpe:/o:opensuse:leap:16.1
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Host offset from UTC is -08:00.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] DictionaryLoad: Cannot open file “/usr/lib/vmware/settings”: No such file or directory.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] [msg.dictionary.load.openFailed] Cannot open file “/usr/lib/vmware/settings”: No such file or directory.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] DictionaryLoad: Cannot open file “/home/user/.vmware/config”: No such file or directory.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] [msg.dictionary.load.openFailed] Cannot open file “/home/user/.vmware/config”: No such file or directory.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] PREF Optional preferences file not found at /home/user/.vmware/config. Using default values.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] DictionaryLoad: Cannot open file “/home/user/.vmware/preferences”: No such file or directory.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] [msg.dictionary.load.openFailed] Cannot open file “/home/user/.vmware/preferences”: No such file or directory.
2026-11-04T20:48:17.931Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] PREF Optional preferences file not found at /home/user/.vmware/preferences. Using default values.
2026-11-04T20:48:17.932Z -WARNING vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Logging to /tmp/vmware-user/vmware-14926.log
2026-11-04T20:48:17.934Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Obtaining info using the running kernel.
2026-11-04T20:48:17.934Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Created new pathsHash.
2026-11-04T20:48:17.934Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Setting header path for 6.12.0-160100.8-default to “/lib/modules/6.12.0-160100.8-default/build/include”.
2026-11-04T20:48:17.934Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Validating path “/lib/modules/6.12.0-160100.8-default/build/include” for kernel release “6.12.0-160100.8-default”.
2026-11-04T20:48:17.934Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] using /usr/bin/gcc-13 for preprocess check
2026-11-04T20:48:17.939Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Preprocessed UTS_RELEASE, got value “6.12.0-160100.8-default”.
2026-11-04T20:48:17.939Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The header path “/lib/modules/6.12.0-160100.8-default/build/include” for the kernel “6.12.0-160100.8-default” is valid. Whoohoo!
2026-11-04T20:48:18.055Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] found symbol version file /lib/modules/6.12.0-160100.8-default/build/Module.symvers
2026-11-04T20:48:18.055Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Reading symbol versions from /lib/modules/6.12.0-160100.8-default/build/Module.symvers.
2026-11-04T20:48:18.072Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Read 28734 symbol versions
2026-11-04T20:48:18.072Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Reading in info for the vmmon module.
2026-11-04T20:48:18.072Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Reading in info for the vmnet module.
2026-11-04T20:48:18.072Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Invoking modinfo on “vmmon”.
2026-11-04T20:48:18.075Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] “/sbin/modinfo” exited with status 256.
2026-11-04T20:48:18.075Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Invoking modinfo on “vmnet”.
2026-11-04T20:48:18.077Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] “/sbin/modinfo” exited with status 256.
2026-11-04T20:48:18.083Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] to be installed: vmmon status: 0
2026-11-04T20:48:18.083Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] to be installed: vmnet status: 0
2026-11-04T20:48:18.086Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Obtaining info using the running kernel.
2026-11-04T20:48:18.086Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Setting header path for 6.12.0-160100.8-default to “/lib/modules/6.12.0-160100.8-default/build/include”.
2026-11-04T20:48:18.086Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Validating path “/lib/modules/6.12.0-160100.8-default/build/include” for kernel release “6.12.0-160100.8-default”.
2026-11-04T20:48:18.086Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] using /usr/bin/gcc-13 for preprocess check
2026-11-04T20:48:18.092Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Preprocessed UTS_RELEASE, got value “6.12.0-160100.8-default”.
2026-11-04T20:48:18.092Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The header path “/lib/modules/6.12.0-160100.8-default/build/include” for the kernel “6.12.0-160100.8-default” is valid. Whoohoo!
2026-11-04T20:48:18.201Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] found symbol version file /lib/modules/6.12.0-160100.8-default/build/Module.symvers
2026-11-04T20:48:18.201Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Reading symbol versions from /lib/modules/6.12.0-160100.8-default/build/Module.symvers.
2026-11-04T20:48:18.218Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Read 28734 symbol versions
2026-11-04T20:48:18.222Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Kernel header path retrieved from FileEntry: /lib/modules/6.12.0-160100.8-default/build/include
2026-11-04T20:48:18.222Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Update kernel header path to /lib/modules/6.12.0-160100.8-default/build/include
2026-11-04T20:48:18.222Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Validating path “/lib/modules/6.12.0-160100.8-default/build/include” for kernel release “6.12.0-160100.8-default”.
2026-11-04T20:48:18.222Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] using /usr/bin/gcc-13 for preprocess check
2026-11-04T20:48:18.229Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Preprocessed UTS_RELEASE, got value “6.12.0-160100.8-default”.
2026-11-04T20:48:18.229Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The header path “/lib/modules/6.12.0-160100.8-default/build/include” for the kernel “6.12.0-160100.8-default” is valid. Whoohoo!
2026-11-04T20:48:18.229Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Found compiler at “/usr/bin/gcc”
2026-11-04T20:48:18.231Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Got gcc version “15”.
2026-11-04T20:48:18.231Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] GCC major version 15 does not match Kernel GCC major version 13.
2026-11-04T20:48:18.231Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Attempting to use a compiler at location “/usr/bin/gcc-13”.
2026-11-04T20:48:18.232Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Got gcc version “13”.
2026-11-04T20:48:18.232Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The GCC version matches the kernel GCC minor version like a glove.
2026-11-04T20:48:18.234Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Got gcc version “13”.
2026-11-04T20:48:18.234Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The GCC version matches the kernel GCC minor version like a glove.
2026-11-04T20:48:18.234Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Trying to find a suitable PBM set for kernel “6.12.0-160100.8-default”.
2026-11-04T20:48:18.234Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] No matching PBM set was found for kernel “6.12.0-160100.8-default”.
2026-11-04T20:48:18.234Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The GCC version matches the kernel GCC minor version like a glove.
2026-11-04T20:48:18.234Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Validating path “/lib/modules/6.12.0-160100.8-default/build/include” for kernel release “6.12.0-160100.8-default”.
2026-11-04T20:48:18.234Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] using /usr/bin/gcc-13 for preprocess check
2026-11-04T20:48:18.239Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Preprocessed UTS_RELEASE, got value “6.12.0-160100.8-default”.
2026-11-04T20:48:18.239Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The header path “/lib/modules/6.12.0-160100.8-default/build/include” for the kernel “6.12.0-160100.8-default” is valid. Whoohoo!
2026-11-04T20:48:25.098Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The GCC version matches the kernel GCC minor version like a glove.
2026-11-04T20:48:25.098Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Validating path “/lib/modules/6.12.0-160100.8-default/build/include” for kernel release “6.12.0-160100.8-default”.
2026-11-04T20:48:25.098Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] using /usr/bin/gcc-13 for preprocess check
2026-11-04T20:48:25.104Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Preprocessed UTS_RELEASE, got value “6.12.0-160100.8-default”.
2026-11-04T20:48:25.104Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] The header path “/lib/modules/6.12.0-160100.8-default/build/include” for the kernel “6.12.0-160100.8-default” is valid. Whoohoo!
2026-11-04T20:48:25.104Z -INFO vmware-modconfig 14926 [ws@4413 threadName=“host-14926”] Using temp dir “/tmp”.
2026-11-04T20:48:36.963Z -INFO vmware-modconfig 14971 [ws@4413 threadName=“host-14926”] [AppLoader] GLib does not have GSettings support.
2026-11-04T20:48:36.963Z -INFO vmware-modconfig 14971 [ws@4413 threadName=“host-14926”] Unable to install all modules. See log for details.
2026-11-04T20:48:36.963Z -INFO vmware-modconfig 14971 [ws@4413 threadName=“host-14926”]

Although now that I’m comparing my 16.0 system with my 16.1 system, the version.h path is /lib/modules/$(uname -r)/build/include/generated/uapi/linux for both and VMware Workstation 26.0.1 on Leap 16.0 can compile its modules but not on 16.1…

16.0: 6.12.0-160000.40-default
16.1: 6.12.0-160100.8-default

There is a problem in the vmmon module (source is in /usr/lib/vmware/modules/source/vmmon.tar) due to a backport of kernel function rdmsrq_safe.
With this quick and dirty patch it works for me:

--- vmmon-only/linux/hostif.c   2026-08-18 06:07:57.000000000 +0200
+++ vmmon-only-fix/linux/hostif.c       2026-11-04 21:48:57.348383830 +0100
@@ -92,7 +92,7 @@
 #endif
 
 /* rdmsrl_safe is renamed to rdmsrq_safe in 6.16. */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
 #define compat_rdmsrq_safe(msr, p) rdmsrq_safe((msr), (p))
 #else
 #define compat_rdmsrq_safe(msr, p) rdmsrl_safe((msr), (p))

Thanks for the info; can you instruct me on how to implement the fix? I’m not a C developer =)

If it is urgent save the quick patch above in a file vmmon-leap16_1.patch.
Then extract the vmmon sources, apply the patch and create a new vmmon.tar with:

tar xvf /usr/lib/vmware/modules/source/vmmon.tar
patch -p 0 < vmmon-leap16_1.patch
tar cvf vmmon.tar vmmon-only/

Then as root save the original vmmon.tar in /usr/lib/vmware/modules/source and replace it with the new vmmon.tar. Recompile the modules with

vmware-modconfig --console --install-all

Well, thank you for trying to help me. I tried that and I am still unable to compile the modules without error. Maybe I did something wrong. Maybe it’s just over my head.

I guess I’ll have to wait for Broadcom to fix their installer before I can update my systems to Leap 16.1… bummer.

Thank you so much for pointing me in the right direction. I wrote a bash script with a function to:

  • create a temp directory /tmp/dev
  • extract: tar -xvf /usr/lib/vmware/modules/source/vmmon.tar
  • edit in place: file=‘/tmp/dev/vmmon-only/linux/hostif.c’
    sed -i ‘s/KERNEL_VERSION(6, 16, 0)$/KERNEL_VERSION(6, 12, 0)/g’ $file
  • tar cvf vmmon.tar vmmon-only/
  • cp vmmon.tar /usr/lib/vmware/modules/source/

vmware-modconfig --console --install-all

I got it working thanks to your help!

ich habe es mit dieser Version hinbekommen:

BUILD_DIR=$(mktemp -d “$HOME/vmware-current.XXXXXX”) && cd “$BUILD_DIR” && tar -xf /usr/lib/vmware/modules/source/vmmon.tar && tar -xf /usr/lib/vmware/modules
/source/vmnet.tar && pwd

cd /root/vmware-current.CZZQLK (in diesem Fall)

cp -p vmmon-only/linux/hostif.c vmmon-only/linux/hostif.c.bak

ls -al vmmon-only/linux/hostif.c
vi vmmon-only/linux/hostif.c

die Zeile 3418 auskommentiert

/#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)/
und ersetzt durch
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)

dadurch wird der Aufruf
err = rdmsrq_safe(msr, &v);

auch beim 6.12.0-160100.8-rt Kernel von Leap 16.1 aktiviert und das Modul
vmmon.ko
korrekt erstellt:

make -C vmmon-only CC=/usr/bin/gcc-13 2>&1 | tee vmmon-build-neu.log

ls -lh /root/vmware-current.CZZQLK/vmmon-only/vmmon.ko
cp -an /usr/lib/vmware/modules/source/vmmon.tar /usr/lib/vmware/modules/source/vmmon.tar.original
tar -cf vmmon-patched.tar vmmon-only
cp vmmon-patched.tar /usr/lib/vmware/modules/source/vmmon.tarA
vmware-modconfig --console --install-all
vmware

und vmware läuft!
Dieter

Sorry leider ein paar copy&paste Fehler:

  • vmnet.tar wird nicht benötigt
  • cp vmmon-patched.tar /usr/lib/vmware/modules/source/vmmon.tar (ohne “A” am Ende)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.