VMware – Simple Fix for 12.5.6 Runtime with Fedora 26

After further research, I have found a simple solution for the VMware 12.5.6 runtime, with Fedora 26, thanks to comments by ronengi and others on the Archlinux site ( https://aur.archlinux.org/packages/vmware-patch/ ).   This made sense, as the vmware-installer graphical interface still ran OK, despite the runtime vmware not doing so..

# cp -r /usr/lib/vmware-installer/2.1.0/lib/lib/libexpat.so.0 /usr/lib/vmware/lib
# cd /usr/lib/vmware/lib/libz.so.1
# mv -i libz.so.1 libz.so.1.old
# ln -s /usr/lib64/libz.so.1 .

Then just run the executable in the normal way  – # vmware

The kernel modules vmmon and vmnet still need to be manually compiled with gcc 7 and copied, as follows:

In the /usr/lib/vmware/modules/source directory, unTAR vmmon.tar and vmnet.tar, and then enter the resulting vmmon-only and vmnet-only directories and just type # make in each. Then create a /lib/modules/<kernel version>/misc directory, and copy vmmon.ko and vmnet.ko there, then # depmod -a.

I have still not found a solution for vmmon with Kernel 4.12-rc, but have reported the problem on the VMware forum..

Robert Gadsdon.   May 29, 2017


Comments

VMware – Simple Fix for 12.5.6 Runtime with Fedora 26 — 71 Comments

  1. Thanks for the simple guide,

    Work on openSUSE tumbleweed, gcc 7.1.1, kernel 4.11.3-1-default, vmware player 12.5.6 with simple modification:
    # ln -s /lib64/libz.so.1 .
    # /etc/init.d/vmware restart # run this script after depmod -a

    • Thanks! Great hint! This is also required for vmplayer-12.5.7 with openSUSE tumbleweed, gcc 7.1.1, kernel 4.12.8-1-default. Otherwise vmplayer will just exist without any output or error message.

  2. Fedora 26
    VMware Worstation 12.5.7

    Getting these errors –

    cd vmmon-only/
    [root@hp vmmon-only]# make
    Using standalone build system.
    In file included from ./autoconf/geninclude.c:20:0:
    ./include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
    # include
    ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    In file included from .././autoconf/geninclude.c:20:0:
    .././include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
    # include
    ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    Dependencies for driver.c
    In file included from .././linux/driver.c:20:0:
    .././include/driver-config.h:43:5: error: #error “No Module support in this kernel. Please configure with CONFIG_MODULES”
    # error “No Module support in this kernel. Please configure with CONFIG_MODULES”
    ^~~~~
    make[1]: *** [.././Makefile.normal:128: driver.d] Error 1
    make: *** [Makefile.normal:135: deps] Error 2

    • On a fresh installed Fedora 26 i had the same errors,
      # dnf groupinstall “Development tools”
      should work

    • I was going to mention that the kernel/module source/headers etc. seemed to be missing, but maybe you already spotted that..
      RG.

      • Could you please explain what do you mean with “kernel/module source/headers etc.”?

        I get that exact same error when using make in vmmon-only and vmnet-only, there is no “vmmon.ko” nor “vmnet.ko” after the compiling fails. I got it working with your guide before the last updates but now I can’t

        I have kernel-headers and kernel-dev installed, but I’m not a Linux Architect

        Thank you

  3. On 2017.07.11, I can report that this fix works for VMWare 12.5.7 on Fedora 26 kernel 4.11.8-300.fc26.x86_64 on a PC, so I don’t have any Nvidia Bumblebee issue to deal with as well.

    Thank you so much for all of your hard work. This really helps us users out who aren’t neck deep in system administration.

  4. Yeah…completely forgot to install headers, etc., and once I figured out I need to tar the files back up and reboot, Workstation worked just fine. Your website is permanently bookmarked! Thanks for sharing knowledge!

  5. RG, so I update my kernel. I assuming I need to (re)Make inside vmmon-only and vmnet-only again and copy *.ko files to /misc directory and run depmod -a again, right? I do this and VMware will start, but when starting up VM, get error /dev/vmmon. If I uninstall, VMware and reinstall and run all your documented steps, everything works fine. What step am I a missing? I appreciate the time on this n00b question.

  6. hello, i try in

    Fedora 26 kernel 4.11.10-300.fc26.x86_64
    EFI activate
    Vmware Workstation 12 Player 12.5.7 build-5813279

    VMware player load but when the virtual machine is loading show error Could not open /dev/vmmon: No such file or directory.

    # modprobe vmmon

    modprobe: FATAL: Module vmmon not found in directory /lib/modules/4.11.10-300.fc26.x86_64

    # modprobe vmnet

    modprobe: FATAL: Module vmnet not found in directory /lib/modules/4.11.10-300.fc26.x86_64

    I try to register to efi

    $ sudo /usr/src/kernels/`uname -r`/scripts/sign-file sha256 ./VMware.priv ./VMware.der $(modinfo -n vmmon)
    modinfo: ERROR: Module vmmon not found.

  7. The fix worked for me on Fedora 26 (4.11.10-300.fc26.x86_64) with VMWare 12.5.7. VMWare starts and loads the VM just fine. But open-vm-tools and open-vm-tools-desktop, which are installed, don’t seem to be working:

    [root@SANS-System-01 ~]# systemctl status vmtoolsd
    ● vmtoolsd.service – Service for virtual machines hosted on VMware
    Loaded: loaded (/usr/lib/systemd/system/vmtoolsd.service; enabled; vendor preset: enabled)
    Active: inactive (dead)
    Condition: start condition failed at Mon 2017-07-24 10:11:38 EDT; 3s ago
    └─ ConditionVirtualization=vmware was not met
    Docs: http://github.com/vmware/open-vm-tools

    Why is this failing? The guest VM also will not mount the cdrom to let me install VMWare tools.

  8. RG,

    Ever seen this? Trying to install VMware Workstation 12.5.7 on Fedora 26… (also a side note: notice the reference to 12.5.3 in the log files.)

    VMware 12.5.7 for Linux on Fedora 26 (fully patched) (kernel 4.11.11-300.fc26.x86_64)

    root@hp Downloads]# chmod +x VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle

    [root@hp Downloads]# ./VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle

    Extracting VMware Installer…done.

    No protocol specified

    No protocol specified

    User interface initialization failed. Exiting. Check the log for details.

    [root@hp Downloads]# cd /tmp/vmware-root/

    [root@hp vmware-root]# ls

    vmware-vmis-4811.log

    [root@hp vmware-root]# more vmware-vmis-4811.log

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: Log for VMware Workstation pid=4811 version=12.5.3 build=build-5087745 option=Release

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: The process is 64-bit.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: Host is Linux 4.11.11-300.fc26.x86_64 Fedora release 26 (Twenty Six)

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: DictionaryLoad: Cannot open file “/etc/vmware/config”: No such file or directory.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: PREF Optional preferences file not found at /etc/vmware/config. Using default values.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: DictionaryLoad: Cannot open file “/usr/lib/vmware/settings”: No such file or directory.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: DictionaryLoad: Cannot open file “/usr/lib/vmware/config”: No such file or directory.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: DictionaryLoad: Cannot open file “/root/.vmware/config”: No such file or directory.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: PREF Unable to check permissions for preferences file.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: DictionaryLoad: Cannot open file “/root/.vmware/preferences”: No such file or directory.

    2017-07-25T14:03:14.231-05:00| vthread-4| I125: PREF Failed to load user preferences.

  9. Able to get VMware Workstation 12.5.7 installed on kernel 4.11.8 after running sudo dnf install ncurses-compat-libs. However, once I updated to 4.11.11, compiled, vmmon and vmmnet, copied them to 4.11.11/misc, I’m back to VMware looking for gcc compliler. Did I mention I am starting to hate VMware? 🙂

    • If you have vmmon and vmnet compiled, and installed, there is nothing else that needs gcc.. Just # depmod -a and then load modules (modprobe..etc) and then # service vmware start.
      RG.

  10. Great !!! Thanks a lot. Works for me with F26 4.11.11-300.fc26.x86_64 and MVplayer 12.5.7-5813279.x86_64.
    Just a little point: after # depmod -a it is mandatory to do # /etc/init.d/vmware restart … I forgotten this last command and I had the following error message when loading the .vmx file !:

    “Could not open /dev/vmmon: No such file or directory.
    Please make sure that the kernel module `vmmon’ is loaded”

    All is working fine after doing # /etc/init.d/vmware restart !!!
    Thanks again !!!!

  11. IT WORKS!!! =)

    For the record, it works with Fedora 26 (kernel 4.11.11-300) with 7.1.1 (upgraded yesterday, via ‘dnf system-upgrade download –refresh –releasever=26’, from my previous Fedora 25).

    As usual, when starting the application (after completing the first part of the ‘patch’), it complains about the lack of – guess what? – GCC 7.1.0…. :/ =D

    Great job, as usual…

  12. Your guide works fine but has anyone noticed that on Fedora 26 there is no longer a tray icon in KDE?

  13. I think this is why things were not working for me…

    https://lkml.org/lkml/2017/2/13/621

    modprobe vmmon would never work for me. After installing elfutils-libelf-devel, modprobe vmmon does not return an error.

    Also, just for clarification, when installed VMware Workstation through the console:

    “Please enter the user that will initially connect to Workstation
    Server. Without setting this correctly, you will not be able to share
    VMs with other users. Additional users and administrators can be
    configured later in Workstation by selecting “Shared VMs” and clicking
    “Permissions”. [root]: ”

    Is it best to choose root and make changes later? Or enter the user account?

  14. Hi RG

    Great job on finding out how to get VMware working on Fedora 26!
    I’ve put all the commands in a script file; I hope this helps others to install VMware on Fedora26:

    #/bin/sh

    dnf install elfutils-libelf-devel

    cp -r /usr/lib/vmware-installer/2.1.0/lib/lib/libexpat.so.0 /usr/lib/vmware/lib
    cd /usr/lib/vmware/lib/libz.so.1
    mv -i libz.so.1 libz.so.1.old
    ln -s /usr/lib64/libz.so.1 .

    mkdir -p /lib/modules/`uname -r`/misc

    tar -xvf /usr/lib/vmware/modules/source/vmmon.tar –directory /usr/lib/vmware/modules/source
    cd /usr/lib/vmware/modules/source/vmmon-only
    make
    cp /usr/lib/vmware/modules/source/vmnet-only/vmnet.ko /lib/modules/`uname -r`/misc

    tar -xvf /usr/lib/vmware/modules/source/vmnet.tar –directory /usr/lib/vmware/modules/source
    cd /usr/lib/vmware/modules/source/vmnet-only
    make
    cp /usr/lib/vmware/modules/source/vmmon-only/vmmon.ko /lib/modules/`uname -r`/misc

    depmod -a
    modprobe vmmon
    modprobe vmnet
    /etc/init.d/vmware restart

  15. Working :

    #/bin/sh

    dnf install elfutils-libelf-devel

    cp -r /usr/lib/vmware-installer/2.1.0/lib/lib/libexpat.so.0 /usr/lib/vmware/lib
    cd /usr/lib/vmware/lib/libz.so.1
    mv -i libz.so.1 libz.so.1.old
    ln -s /usr/lib64/libz.so.1 .

    mkdir -p /lib/modules/`uname -r`/misc

    tar -xvf /usr/lib/vmware/modules/source/vmmon.tar –directory /usr/lib/vmware/modules/source
    cd /usr/lib/vmware/modules/source/vmmon-only
    make
    cp /usr/lib/vmware/modules/source/vmmon-only/vmmon.ko /lib/modules/`uname -r`/misc
    cp /usr/lib/vmware/modules/source/vmnet-only/vmnet.ko /lib/modules/`uname -r`/misc

    tar -xvf /usr/lib/vmware/modules/source/vmnet.tar –directory /usr/lib/vmware/modules/source
    cd /usr/lib/vmware/modules/source/vmnet-only
    make
    cp /usr/lib/vmware/modules/source/vmnet-only/vmnet.ko /lib/modules/`uname -r`/misc

    depmod -a
    modprobe vmmon
    modprobe vmnet
    /etc/init.d/vmware restart

  16. Have worked flawlessly for all 4.11.xx cores, but doesn’t work for 4.12.5-300.fc26.x86_64:

    “Please make sure that the kernel module ‘vmmon’ is loaded. Failed to initialize monitor device”

  17. Any insight on this would be much appreciated. I spent several hours on your site as well as vmware forums, fedora forums, and even the arch wiki lol. My error seems to be quite different from any i’m finding online. I’ve tried all fixes suggested here and on other sites. this is my output after attempting to make vmmon-only within /usr/lib/vmware/modules/source/vmmon-only on fedora 26 with kernel 4.12.5-300.fc26.x86_64 on a fresh installation. I’m wondering if going back a kernel version to a 4.11 kernel would help remedy the issue for now or if this is also related to the gcc issue as the log output for when I attempt to launch vmware workstation or player ends with “unable to parse gcc version”

    sudo make
    Using kernel build system.
    make -C /lib/modules/4.12.5-300.fc26.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory ‘/usr/src/kernels/4.12.5-300.fc26.x86_64’
    CC [M] /usr/lib/vmware/modules/source/vmmon-only/linux/driverLog.o
    CC [M] /usr/lib/vmware/modules/source/vmmon-only/linux/driver.o
    In file included from /usr/lib/vmware/modules/source/vmmon-only/./common/vmx86.h:32:0,
    from /usr/lib/vmware/modules/source/vmmon-only/linux/driver.h:31,
    from /usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:48:
    /usr/lib/vmware/modules/source/vmmon-only/./include/x86msr.h:109:0: warning: “MSR_MISC_FEATURES_ENABLES” redefined
    #define MSR_MISC_FEATURES_ENABLES 0x140

    In file included from ./arch/x86/include/asm/msr.h:4:0,
    from ./arch/x86/include/asm/processor.h:20,
    from ./arch/x86/include/asm/cpufeature.h:4,
    from ./arch/x86/include/asm/thread_info.h:52,
    from ./include/linux/thread_info.h:37,
    from ./arch/x86/include/asm/preempt.h:6,
    from ./include/linux/preempt.h:80,
    from ./include/linux/spinlock.h:50,
    from ./include/linux/wait.h:8,
    from ./include/linux/fs.h:5,
    from ./include/linux/highmem.h:4,
    from /usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:25:
    ./arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition
    #define MSR_MISC_FEATURES_ENABLES 0x00000140

    /usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:121:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
    .fault = LinuxDriverFault
    ^~~~~~~~~~~~~~~~
    /usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:121:19: note: (near initialization for ‘vmuser_mops.fault’)
    /usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:1283:1: warning: always_inline function might not be inlinable [-Wattributes]
    LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max – TSC min
    ^~~~~~~~~~~~~~~~~~~~~~~
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:303: /usr/lib/vmware/modules/source/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [Makefile:1519: _module_/usr/lib/vmware/modules/source/vmmon-only] Error 2
    make[1]: Leaving directory ‘/usr/src/kernels/4.12.5-300.fc26.x86_64’
    make: *** [Makefile:120: vmmon.ko] Error 2

    also, here is log output from the vmware logs in /tmp/vmware-root/ if they’re of any assistance

    root@localhost vmware-root]# cat vmware-11503.log
    2017-08-22T08:27:23.895-07:00| modconfig| I125: Log for VMware Workstation pid=11503 version=12.5.7 build=build-5813279 option=Release
    2017-08-22T08:27:23.895-07:00| modconfig| I125: The process is 64-bit.
    2017-08-22T08:27:23.895-07:00| modconfig| I125: Host codepage=UTF-8 encoding=UTF-8
    2017-08-22T08:27:23.895-07:00| modconfig| I125: Host is Linux 4.12.5-300.fc26.x86_64 Fedora release 26 (Twenty Six)
    2017-08-22T08:27:23.894-07:00| modconfig| I125: DictionaryLoad: Cannot open file “/usr/lib/vmware/settings”: No such file or directory.
    2017-08-22T08:27:23.894-07:00| modconfig| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
    2017-08-22T08:27:23.895-07:00| modconfig| I125: Could not expand environment variable HOME.
    2017-08-22T08:27:23.895-07:00| modconfig| I125: DictionaryLoad: Cannot open file “~/.vmware/config”: No such file or directory.
    2017-08-22T08:27:23.895-07:00| modconfig| I125: PREF Optional preferences file not found at ~/.vmware/config. Using default values.
    2017-08-22T08:27:23.895-07:00| modconfig| I125: Could not expand environment variable HOME.
    2017-08-22T08:27:23.895-07:00| modconfig| I125: PREF Unable to check permissions for preferences file.
    2017-08-22T08:27:23.895-07:00| modconfig| I125: DictionaryLoad: Cannot open file “~/.vmware/preferences”: No such file or directory.
    2017-08-22T08:27:23.895-07:00| modconfig| I125: PREF Failed to load user preferences.
    2017-08-22T08:27:23.899-07:00| modconfig| I125: Initialized! Lets do this thing…
    2017-08-22T08:27:23.899-07:00| modconfig| I125: Obtaining info using the running kernel.
    2017-08-22T08:27:23.899-07:00| modconfig| I125: Created new pathsHash.
    2017-08-22T08:27:23.902-07:00| modconfig| I125: Setting header path for 4.12.5-300.fc26.x86_64 to “/lib/modules/4.12.5-300.fc26.x86_64/build/include”.
    2017-08-22T08:27:23.902-07:00| modconfig| I125: Validating path “/lib/modules/4.12.5-300.fc26.x86_64/build/include” for kernel release “4.12.5-300.fc26.x86_64”.
    2017-08-22T08:27:23.906-07:00| modconfig| I125: Failed to find /lib/modules/4.12.5-300.fc26.x86_64/build/include/linux/version.h
    2017-08-22T08:27:23.906-07:00| modconfig| I125: /lib/modules/4.12.5-300.fc26.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
    2017-08-22T08:27:23.907-07:00| modconfig| I125: using /usr/bin/gcc for preprocess check
    2017-08-22T08:27:23.970-07:00| modconfig| I125: Preprocessed UTS_RELEASE, got value “4.12.5-300.fc26.x86_64”.
    2017-08-22T08:27:23.970-07:00| modconfig| I125: The header path “/lib/modules/4.12.5-300.fc26.x86_64/build/include” for the kernel “4.12.5-300.fc26.x86_64” is valid. Whoohoo!
    2017-08-22T08:27:24.091-07:00| modconfig| I125: found symbol version file /lib/modules/4.12.5-300.fc26.x86_64/build/Module.symvers
    2017-08-22T08:27:24.091-07:00| modconfig| I125: Reading symbol versions from /lib/modules/4.12.5-300.fc26.x86_64/build/Module.symvers.
    2017-08-22T08:27:24.107-07:00| modconfig| I125: Read 18704 symbol versions
    2017-08-22T08:27:24.111-07:00| modconfig| I125: Reading in info for the vmmon module.
    2017-08-22T08:27:24.111-07:00| modconfig| I125: Reading in info for the vmnet module.
    2017-08-22T08:27:24.111-07:00| modconfig| I125: Reading in info for the vmblock module.
    2017-08-22T08:27:24.111-07:00| modconfig| I125: Reading in info for the vmci module.
    2017-08-22T08:27:24.111-07:00| modconfig| I125: Reading in info for the vsock module.
    2017-08-22T08:27:24.111-07:00| modconfig| I125: Setting vsock to depend on vmci.
    2017-08-22T08:27:24.121-07:00| modconfig| I125: Trying to find a suitable PBM set for kernel “4.12.5-300.fc26.x86_64”.
    2017-08-22T08:27:24.121-07:00| modconfig| I125: No matching PBM set was found for kernel “4.12.5-300.fc26.x86_64”.
    2017-08-22T08:27:24.121-07:00| modconfig| I125: Found compiler at “/usr/bin/gcc”
    2017-08-22T08:27:24.125-07:00| modconfig| I125: Got gcc version “7”.
    2017-08-22T08:27:24.125-07:00| modconfig| I125: Unable to parse gcc version
    2017-08-22T08:27:24.130-07:00| modconfig| I125: We are now shutdown. Ready to die!

    • This is the equivalent section of (successful) compile output with 12.5.7 on Fedora 26 – using Kernel 4.12.8 from kernel.org – around the area where your error occurs:

      from ./include/linux/preempt.h:80,
      from ./include/linux/spinlock.h:50,
      from ./include/linux/wait.h:8,
      from ./include/linux/fs.h:5,
      from ./include/linux/highmem.h:4,
      from /usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:25:
      ./arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition
      #define MSR_MISC_FEATURES_ENABLES 0x00000140

      /usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:1291:1: warning: always_inline function might not be inlinable [-Wattributes]
      LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max – TSC min
      ^~~~~~~~~~~~~~~~~~~~~~~
      CC [M] /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o
      In file included from /usr/lib/vmware/modules/source/vmmon-only/./include/vm_asm.h:43:0,
      from /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:83:
      /usr/lib/vmware/modules/source/vmmon-only/./include/x86msr.h:109:0: warning: “MSR_MISC_FEATURES_ENABLES” redefined
      #define MSR_MISC_FEATURES_ENABLES 0x140

      The vmware log just shows that the standard VMware compile/install process fails, as it still does not recognise GCC 7 correctly..

      RG.

      • hmm, i’ll have to keep digging as i attempted to build the other module and apply any patches I found and have still been unable to get vmware to launch.

  18. Hey, thanks for putting it all together in that – comprehensible – script! This worked nicely for 4.12.5-300.fc26.x86_64!

    Thanks a lot!

  19. Hi, Have anyone tried 4.12.9-300.fc26.x86_64? Running fine on 4.12.8-300.fc26.x86_64, but got stuck with 4.12.9-300.fc26.x86_64:

    # modprobe vmmon
    modprobe: ERROR: could not insert ‘vmmon’: Exec format error

    • Hi I get the exact same error.

      Installed elfutils*, no change.

      When I run ‘make’, with kernel 4.12.9[], it just results in 10-15 lines of output, where it would normally be ~100. I also get no errors.

      Funny thing is that vmmon.ko and vmnet.ko from make with kernels 4.12.8 and 4.12.9 are exactly the same size, just different date stamps.

      Even if I don’t like it, I have to run 4.12.8 until this can be worked out .. shure hope someone can put a finger on this 🙂

      • .. Hmm ..
        Didn’t change anything, but installed the latest kernel (4.12.11-300.fc26.x86_64) and did the ‘make-cp-depmod-restart’ thing again, and now it works ..

        One happy camper. Thanks for a brilliant website. Made my day – again 🙂

  20. Is here any ways to install “VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle” on Fedora 26 with “4.12.9-300.fc26.x86_64” kernel? This sh##$%^% drives me crazy!

    • Hi Zero,

      I had the same issue with the “4.12.9-300.fc26.x86_64” kernel.
      It looks like “modprobe”is not allowed to load both modules for some reason.
      The only workaround I’ve found for the moment is settiing a local policy to allow “modprobe” load these modules :

      # sudo ausearch -c ‘modprobe’ –raw | audit2allow -M my-modprobe

      and then

      # sudo semodule -X 300 -i my-modprobe.pp

      Then you’re able to restart your vmware service

      # sudo /etc/init.d/vmware restart

    • Just to sum up:

      4.12.8-300.fc26.x86_64 – OK
      4.12.9-300.fc26.x86_64 – ERROR
      4.12.11-300.fc26.x86_64 – OK
      4.12.12-300.fc26.x86_64 – ERROR

      # modprobe vmmon
      modprobe: ERROR: could not insert ‘vmmon’: Exec format error

  21. 4.12.12-300 is working with 12.5.7 workstation pro. Thanks for all the efforts.

    Only problem now is the latest Intel Graphics Update Tool is not compatible. had to turn off 3D acceleration on my VM’s.

    [Jeremy@mobileunit ~]$ systemctl status vmware
    ● vmware.service – SYSV: This service starts and stops VMware services
    Loaded: loaded (/etc/rc.d/init.d/vmware; generated; vendor preset: disabled)
    Active: active (running) since Fri 2017-09-15 18:16:43 EDT; 1h 9min ago
    Docs: man:systemd-sysv-generator(8)
    Process: 1081 ExecStart=/etc/rc.d/init.d/vmware start (code=exited, status=0/SUCCESS)
    Tasks: 10 (limit: 4915)
    CGroup: /system.slice/vmware.service
    ├─1219 /usr/lib/vmware/bin/vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fuse
    ├─1280 /usr/bin/vmnet-bridge -s 6 -d /var/run/vmnet-bridge-0.pid -n 0
    ├─1382 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet1.pid /dev/vmnet1 vmnet1
    ├─1389 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet1/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet1.pid vmnet1
    ├─1392 /usr/bin/vmnet-natd -s 6 -m /etc/vmware/vmnet8/nat.mac -c /etc/vmware/vmnet8/nat/nat.conf
    ├─1403 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet8.pid /dev/vmnet8 vmnet8
    ├─1417 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet8/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd-vmnet8.pid vmnet8
    └─1500 /usr/sbin/vmware-authdlauncher

    [Jeremy@mobileunit ~]$ uname -r
    4.12.12-300.fc26.x86_64

  22. HUGE thanks to RG and folks posting in this thread. Incorrectly attempting the instructions above, couldn’t get my VM to run with 4.12.12-300.fc26.x86_64. The last that worked was 4.12.9. Once I re-read and tried again, success! Describing my mistakes in case others are having the same problem. One mistake was using su instead of su – in my terminal windows. Another was failing to run
    dnf groupinstall “Development tools”
    After I had the development tools installed, re-did the “make” steps, copying the two resultant .ko files to misc, then depmod -a and voila. Thanks again folks – you’re all awesome!

  23. 4.12.13.. OK again – it’s weird, just every second kernel is OK:

    4.12.8-300.fc26.x86_64 – OK
    4.12.9-300.fc26.x86_64 – ERROR
    4.12.11-300.fc26.x86_64 – OK
    4.12.12-300.fc26.x86_64 – ERROR
    4.12.13-300.fc26.x86_64 – OK

    Don’t use Intel Graphics, on ThinkPad P51 & NVIDIA Quadro M2200 3D acceleration works fine.

    # modprobe vmmon
    modprobe: ERROR: could not insert ‘vmmon’: Exec format error

  24. I got tired of searching for this page every time I did a kernel update so I wrote a little script.

    MISC_DIR=/lib/modules/`uname -r`/misc
    mkdir -p $MISC_DIR

    pushd /usr/lib/vmware/modules/source

    rm -rf vmmon-only
    tar -xf vmmon.tar
    pushd vmmon-only
    make clean;
    make
    cp vmmon.ko $MISC_DIR/
    popd

    rm -rf vmnet-only
    tar -xf vmnet.tar
    pushd vmnet-only
    make clean;
    make
    cp vmnet.ko $MISC_DIR/
    popd

    depmod -a
    modprobe vmmon
    modprobe vmnet

  25. Today I have uninstall VMware-Workstation 12 Pro completely.
    After that, I have reboot my Fedora 26 with Kernel 4.12.13-300.fc26.x86_64 and installed VMware-Workstation 14 Pro.
    It works without changes! 🙂

  26. supplement information:
    After update to kernel 4.13.4-200.fc26.x86_64 the VMware Workstation 14 Pro works still fine!

  27. @S. Fehr:
    Could you be so kind to explain exactly what is needed to install workstation pro 14 on fully updated fedora 26?
    I tried numerous things that I found in posts like these, but cannot get it to work.
    Maybe you could tell us what things you installed, what things you changed, etc.
    Then I will try your advise, because you are first one that reports that 14 works on f26 – thanks!!

Leave a Reply

Your email address will not be published. Required fields are marked *