VMWare 15 Kernel Update on Ubuntu 19.04

3 months ago

Been struggling for a week to get VMWare to run wlll on my Disco Dingo system.  The kernel extensions would not build properly, and I found an initial fix that had a problem: I could not use bridged networking in the VM's.Tonight I found this work around and it

Been struggling for a week to get VMWare to run wlll on my Disco Dingo system.  The kernel extensions would not build properly, and I found an initial fix that had a problem: I could not use bridged networking in the VM's.

Tonight I found this work around and it seems to work quite well: Ubuntu 19.04 - VMWare kernel modules updater)

The solution is to download the GitHub host modules from GitHub and then manually install them.  I didn't even know you could do this, so this is great to know.  

For version 15.0.4, you can do this with the following statements:
wget https://github.com/mkubecek/vmware-host-modules/archive/w15.0.4-k5.0.tar.gz
tar xzvf w15.0.4-k5.0.tar.gz 
cd vmware-host-modules-w15.1.0-k5.0/
tar -cf vmmon.tar vmmon-only
tar -cf vnetn.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
After that fire up VMWare and it will no longer complain and your VM's can have bridged networking.

Note: This version of VMWare still warns on the start of every VM that an update for VMWare Tools is available for the VM. This download completes and the install always fails for me. I've not been able to figure out how to fix this yet. Also note, I have verified the correct version of tools (the same asked to download) is running in my VM's

Also, if you start VMWare from the command line, you likely also see the following warning about libaio:

$ vmware
[AppLoader] Use shipped Linux kernel AIO access library.
An up-to-date "libaio" or "libaio1" package from your system is preferred.
[AppLoader] Use shipped Linux kernel AIO access library.
An up-to-date "libaio" or "libaio1" package from your system is preferred.

This can be fixed up by performing the following:

sudo apt-get install libaio1

Comments