VMware Communities
altituded
Contributor
Contributor
Jump to solution

Virtual ethernet failed

This is a new installation on Ubuntu Server 20.04.4 LTS. I am trying to install VMware 16.2.3.

uname -a

Linux nuc11 5.13.0-40-lowlatency #45~20.04.1-Ubuntu SMP PREEMPT Mon Apr 4 10:36:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 20.04.4 LTS

Release: 20.04

Codename: focal

 

The error is:

 

$ sudo vmware-modconfig --console --install-all

[AppLoader] GLib does not have GSettings support.

.../....

Skipping BTF generation for /tmp/modconfig-YC8rTj/vmnet-only/vmnet.ko due to unavailability of vmlinux

make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-40-lowlatency'

/usr/bin/make -C $PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= postbuild

make[1]: Entering directory '/tmp/modconfig-YC8rTj/vmnet-only'

make[1]: 'postbuild' is up to date.

make[1]: Leaving directory '/tmp/modconfig-YC8rTj/vmnet-only'

cp -f vmnet.ko ./../vmnet.o

make: Leaving directory '/tmp/modconfig-YC8rTj/vmnet-only'

Starting VMware services:

   Virtual machine monitor                                            failed

   Virtual machine communication interface                             done

   VM communication interface socket family                            done

   Virtual ethernet                                                   failed

   VMware Authentication Daemon                                        done

Unable to start services

 

I have tried this workaround:

wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.3.tar.gz

tar -xzf workstation-16.2.3.tar.gz

cd vmware-host-modules-workstation-16.2.3

tar -cf vmmon.tar vmmon-only

tar -cf vmnet.tar vmnet-only

sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/

sudo vmware-modconfig --console --install-all

 

But it's the same error.

 

1 Solution

Accepted Solutions
kemlath
Contributor
Contributor
Jump to solution

Hi There,

I also use ubuntu but with a slightly newer kernel I think:

Linux 5.15.0-10025-tuxedo #25~20.04.2tux2 SMP Wed Apr 20 18:57:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

I did not replace the tar balls in /lib/vmware/modules/source but pulled the git repo  and used the make file therein to build and install the modules:

git clone https://github.com/mkubecek/vmware-host-modules

git checkout workstation-16.2.3

sudo make
sudo make install

That worked, before that I also got your error message:

Skipping BTF generation for <some path>vmnet.ko due to unavailability of vmlinux

 

View solution in original post

4 Replies
kemlath
Contributor
Contributor
Jump to solution

Hi There,

I also use ubuntu but with a slightly newer kernel I think:

Linux 5.15.0-10025-tuxedo #25~20.04.2tux2 SMP Wed Apr 20 18:57:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

I did not replace the tar balls in /lib/vmware/modules/source but pulled the git repo  and used the make file therein to build and install the modules:

git clone https://github.com/mkubecek/vmware-host-modules

git checkout workstation-16.2.3

sudo make
sudo make install

That worked, before that I also got your error message:

Skipping BTF generation for <some path>vmnet.ko due to unavailability of vmlinux

 

altituded
Contributor
Contributor
Jump to solution

Indeed, these steps work in Ubuntu 22.04 Server LTS:

 

sudo sh ./VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle

sudo apt install build-essential linux-headers-$(uname -r)

git clone https://github.com/mkubecek/vmware-host-modules

cd vmware-host-modules

git checkout workstation-16.2.3

sudo make

sudo make install

Thanks

utusen
Contributor
Contributor
Jump to solution

That worked on Ubuntu 22.04 (jammy) too. 
Thanks for that! 

0 Kudos
imuneer
Contributor
Contributor
Jump to solution

Worked for me as well. I am on Ubuntu 20.04

Linux msmlaptop 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

 

0 Kudos