VMware Communities
enigmabbott
Contributor
Contributor
Jump to solution

kernel modules fail vmmon vmnet: Host is Linux 5.11.7-surface Ubuntu 20.04.2 LTS

I'm a newbie;

summary:

installed remote-console; it worked; tried to install workstation 16-pro;  it complained about RC; uninstalled RC; workstation installed but upon launch needs to compile kernel modules vmmon/vmnet; THIS PART fails. see full logs

perhaps relevant history:

876 bash VMware-Remote-Console-12.0.0-17287072.x86_64.bundle

911 vmware-installer -l
912 vmware-installer -u vmware-vmrc

915 bash VMware-Workstation-Full-16.0.0-16894299.x86_64.bundle

first error from: vmware-4314.log

2021-04-11T07:56:47.550-05:00| host-4314| I005: Using kernel build system.
2021-04-11T07:56:47.550-05:00| host-4314| I005: /tmp/modconfig-Jv49BT/vmmon-only/common/crosspage.c:55:16: fatal error: linux/frame.h: No such file or directory
2021-04-11T07:56:47.550-05:00| host-4314| I005: 55 | # include <linux/frame.h>
2021-04-11T07:56:47.550-05:00| host-4314| I005: | ^~~~~~~~~~~~~~~
2021-04-11T07:56:47.550-05:00| host-4314| I005: compilation terminated.

Reply
0 Kudos
1 Solution

Accepted Solutions
wila
Immortal
Immortal
Jump to solution

Hi,

Please note I have not looked at your logs as you've not used the latest version of Workstation 16.

Please try again with Workstation 16.1.1, you can download it here: https://www.vmware.com/go/getworkstation-linux

Also note that you have to install the kernel headers and minimal build environment before you can compile the kernel modules.

For Ubuntu or debian based systems you can run the following to do so:

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

 

--
Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva

View solution in original post

Reply
0 Kudos
3 Replies
wila
Immortal
Immortal
Jump to solution

Hi,

Please note I have not looked at your logs as you've not used the latest version of Workstation 16.

Please try again with Workstation 16.1.1, you can download it here: https://www.vmware.com/go/getworkstation-linux

Also note that you have to install the kernel headers and minimal build environment before you can compile the kernel modules.

For Ubuntu or debian based systems you can run the following to do so:

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

 

--
Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
enigmabbott
Contributor
Contributor
Jump to solution

Thanks for your reply. The newer version worked. Note: I downloaded the provided version from the vmug advantage. I'll start looking to latest versions.

I know this is not a support queue. Not sure how to mark the issue resolved.

Reply
0 Kudos
wila
Immortal
Immortal
Jump to solution

No worries, we're here to help.
Glad to hear it now works.

Your license should work with a Workstation 16.x versions that are released via VMware.
Seems that VMUG does not keep their download link updated to the latest version. (They could just use the link I provided though as it always points to the latest version, there's one for windows too)

--
Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos