Comments

VMware – 15.1.0 released. Still broken, but Fix available — 4 Comments

  1. Hello sir, I tried different ways to get my VMware Workstation 15.1.0 fixed on Ubuntu 19.04 without success. Can you help my out? My Ubuntu install is 2 weeks old.

    My last attempt :

    ./vmwareFix.sh
    Cloning into ‘vmware-host-modules’…
    remote: Enumerating objects: 209, done.
    remote: Counting objects: 100% (209/209), done.
    remote: Compressing objects: 100% (81/81), done.
    remote: Total 1346 (delta 167), reused 167 (delta 128), pack-reused 1137
    Receiving objects: 100% (1346/1346), 999.85 KiB | 11.76 MiB/s, done.
    Resolving deltas: 100% (1031/1031), done.
    Branch ‘workstation-15.1.0’ set up to track remote branch ‘workstation-15.1.0’ from ‘origin’.
    Switched to a new branch ‘workstation-15.1.0’
    make -C vmmon-only
    make[1]: Entering directory ‘/tmp/patch-vmware/vmware-host-modules/vmmon-only’
    Using kernel build system.
    make -C /lib/modules/5.0.0-15-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[2]: Entering directory ‘/usr/src/linux-headers-5.0.0-15-generic’
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/linux/driver.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/linux/hostif.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/linux/driverLog.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/common/apic.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/common/memtrack.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/common/vmx86.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/common/cpuid.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/common/task.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/common/comport.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/common/phystrack.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/vmcore/moduleloop.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/bootstrap/monLoaderVmmon.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/bootstrap/monLoader.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/bootstrap/vmmblob.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/bootstrap/bootstrap.o
    LD [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/vmmon.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/patch-vmware/vmware-host-modules/vmmon-only/vmmon.mod.o
    LD [M] /tmp/patch-vmware/vmware-host-modules/vmmon-only/vmmon.ko
    make[2]: Leaving directory ‘/usr/src/linux-headers-5.0.0-15-generic’
    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/5.0.0-15-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[2]: Entering directory ‘/usr/src/linux-headers-5.0.0-15-generic’
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/driver.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/hub.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/userif.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/netif.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/procfs.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/smac_compat.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/smac.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/vnetEvent.o
    CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/vnetUserListener.o
    LD [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnet.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnet.mod.o
    LD [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnet.ko
    make[2]: Leaving directory ‘/usr/src/linux-headers-5.0.0-15-generic’
    make -C $PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= postbuild
    make[2]: Entering directory ‘/tmp/patch-vmware/vmware-host-modules/vmnet-only’
    make[2]: ‘postbuild’ is up to date.
    make[2]: Leaving directory ‘/tmp/patch-vmware/vmware-host-modules/vmnet-only’
    cp -f vmnet.ko ./../vmnet.o
    make[1]: Leaving directory ‘/tmp/patch-vmware/vmware-host-modules/vmnet-only’
    install -D -t /lib/modules/5.0.0-15-generic/misc vmmon-only/vmmon.ko vmnet-only/vmnet.ko
    strip –strip-debug /lib/modules/5.0.0-15-generic/misc/vmmon.ko /lib/modules/5.0.0-15-generic/misc/vmnet.ko
    if test -z “”; then /sbin/depmod -a 5.0.0-15-generic; fi
    Stopping VMware services:
    VMware Authentication Daemon done
    VM communication interface socket family done
    Virtual machine communication interface done
    Virtual machine monitor done
    Blocking file system done
    Starting VMware services:
    Virtual machine monitor failed
    Virtual machine communication interface done
    VM communication interface socket family done
    Blocking file system done
    Virtual ethernet failed
    VMware Authentication Daemon done

    Script is :

    #!/bin/bash
    #make sure you have git. if you don’t, run: sudo apt-get install git
    #copy and paste this code into a .sh file. e.g. vmwareFix.sh
    #run: chmod 744
    #then run this file: /path/to/this/script

    VMWARE_VERSION=workstation-15.1.0
    TMP_FOLDER=/tmp/patch-vmware
    rm -fdr $TMP_FOLDER
    mkdir -p $TMP_FOLDER
    cd $TMP_FOLDER
    git clone https://github.com/mkubecek/vmware-host-modules.git
    cd $TMP_FOLDER/vmware-host-modules
    git checkout $VMWARE_VERSION
    git fetch
    make
    sudo make install
    sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
    sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1
    sudo /etc/init.d/vmware restart

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.