Ubuntu 16.04 vmmon trouble

Asked by Noël

Hi everyone,

I have just installed a new Ubuntu 16.04 machine, then try to install vmware pro 12.1, without any problems.

However, when I'm starting a virtual machine an error appear about vmmon modules not found.

I have done some research on the Internet and tried this:

-modprobe solution: without any result, the module doesn't exist,
-vmware-modconfig --console --install-all, but solve nothing too.

I have also tried to install VirtualBox too, but the same error when trying to start the machine.

(I'm creating a post myself for the first time sorry if I'm not english or content isn't perfect ^^, and I think I have tried all findable solution except the module signing, I mean I hope to don't create duplicate request uselessly).

Thanks in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Please provide the full output of the commands

uname -a
lsb_release -crid
sudo dpkg --audit
sudo vmware-modconfig --console --install-all
sudo updatedb
locate vmmon

Revision history for this message
Noël (noel-martins) said :
#2

uname -a

Linux 4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -crid

Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial

sudo dpkg --audit >> return nothing

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

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
make: Entering directory '/tmp/modconfig-tRBn28/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.4.0-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-22-generic'
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/linux/driverLog.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/linux/hostif.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/linux/driver.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/common/memtrack.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/common/apic.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/common/hashFunc.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/common/vmx86.o
/tmp/modconfig-tRBn28/vmmon-only/linux/driver.c:1283:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/common/cpuid.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/common/task.o
/tmp/modconfig-tRBn28/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/modconfig-tRBn28/vmmon-only/linux/driver.c:1981:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/common/comport.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/common/phystrack.o
  CC [M] /tmp/modconfig-tRBn28/vmmon-only/vmcore/moduleloop.o
  LD [M] /tmp/modconfig-tRBn28/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC /tmp/modconfig-tRBn28/vmmon-only/vmmon.mod.o
  LD [M] /tmp/modconfig-tRBn28/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-22-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-tRBn28/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-tRBn28/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-tRBn28/vmmon-only'
make: Entering directory '/tmp/modconfig-tRBn28/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.4.0-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-22-generic'
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/driver.o
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/hub.o
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/userif.o
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/netif.o
In file included from include/linux/pci.h:35:0,
                 from /tmp/modconfig-tRBn28/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-tRBn28/vmnet-only/netif.c:43:
include/linux/pci_ids.h:2252:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE 0x15ad
 ^
In file included from /tmp/modconfig-tRBn28/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-tRBn28/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-tRBn28/vmnet-only/netif.c:42:
/tmp/modconfig-tRBn28/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE 0x15AD
 ^
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/bridge.o
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/procfs.o
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/smac_compat.o
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/smac.o
In file included from /tmp/modconfig-tRBn28/vmnet-only/net.h:38:0,
                 from /tmp/modconfig-tRBn28/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-tRBn28/vmnet-only/bridge.c:52:
/tmp/modconfig-tRBn28/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE 0x15AD
 ^
In file included from include/linux/pci.h:35:0,
                 from /tmp/modconfig-tRBn28/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-tRBn28/vmnet-only/bridge.c:51:
include/linux/pci_ids.h:2252:0: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE 0x15ad
 ^
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/vnetEvent.o
  CC [M] /tmp/modconfig-tRBn28/vmnet-only/vnetUserListener.o
  LD [M] /tmp/modconfig-tRBn28/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC /tmp/modconfig-tRBn28/vmnet-only/vmnet.mod.o
  LD [M] /tmp/modconfig-tRBn28/vmnet-only/vmnet.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-22-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-tRBn28/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-tRBn28/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-tRBn28/vmnet-only'
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
Unable to start services

sudo updatedb >> retrun nothing

locate vmmon

/lib/modules/4.4.0-21-generic/misc/vmmon.ko
/lib/modules/4.4.0-22-generic/misc/vmmon.ko
/usr/lib/vmware/modules/source/vmmon.tar
/usr/lib/vmware/symvers/vmmon-4.4.0-21-generic
/usr/lib/vmware/symvers/vmmon-4.4.0-22-generic

That's all thanks you in advance, do you think I should try the security issue about signing kernel module? I don't think because I didn't find vmmon.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

What result do you get for

sudo modprobe -v vmmon

Revision history for this message
Noël (noel-martins) said :
#4

sudo modprobe -v vmmon

insmod /lib/modules/4.4.0-22-generic/misc/vmmon.ko
modprobe: ERROR: could not insert 'vmmon': Required key not available

Thanks you ahead and thanks for your reactivity.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Ok, this looks the same as several web posting, where the solution was to either disable secure-boot in the BIOS or to self-sign the two kernel modules and to register the signature file in the UEFI system.
See also http://askubuntu.com/questions/770205/how-to-sign-kernel-modules-with-sign-file/770210

Can you help with this problem?

Provide an answer of your own, or ask Noël for more information if necessary.

To post a message you must log in.