Modinfo error module vmmon not found

I am having an issue setting up my new Ubuntu 16.04 LTS install with VMWare Workstation Pro 14. Install is successful and reports no errors, but when I go to launch a VM it complains about a module...

I am having an issue setting up my new Ubuntu 16.04 LTS install with VMWare Workstation Pro 14. Install is successful and reports no errors, but when I go to launch a VM it complains about a module «vmmon» not loaded or found.

Thanks for any solutions.

asked Jan 30, 2021 at 19:09

Lorenzo Battilocchi's user avatar

This error will appear when you start a VM on a system that boots from UEFI with secure boot enabled. Hosts with secure boot enabled will not allow loading of any unsigned drivers. As a result, the vmmon module is not loaded in the system and this is causing the error you see.

There are two ways to resolve the issue:

  1. If you do not use Windows, disable «Secure Boot» in the BIOS.
  2. If you do use Windows, sign the vmmon kernel module and complete the enrollment from the UEFI console.

If you choose to go with the second option, this is the process:

  1. Generate a key pair using the openssl to sign vmmon and vmnet modules:

    $ sudo openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMware/"
    

    Replace MOK with the name of the file you want for the key.

  2. Sign the modules using the generated key by running these commands:

    $ sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon)
    $ sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmnet)
    
  3. Import the public key to the system’s MOK list by running this command:

    $ sudo mokutil --import MOK.der
    
  4. Confirm a password for this MOK enrollment request.

  5. Reboot your machine and complete the enrollment from the UEFI console.

Hope this helps 👍🏻

answered Jan 31, 2021 at 1:09

2

Recently when I install VMware Fusion on macOS, I meet the error “Could not open /dev/vmmon: No such file or directory” during the installation process. When I investigate this error, I found this error happened not only on macOS, but also when you start VMWare on Linux, this article will tell you how to fix it.

1. The Steps To Reproduce & How To Fix The Error On macOS.

1.1 Download And Install VMware Fusion For Mac.

  1. Click here to download the VMware Fusion MacOS version.
  2. Double click the dmg file to install it correctly.

1.2 Create Windows 7 Virtual Machine.

  1. Click Finder in the desktop dock.
  2. Click Go —> Applications in Finder app top menu bar. Double click the VMware Fusion app in the right panel to start it.
  3. Click File —> New in VMware Fusion top menu bar to open the Select the Installation Method dialog. Select the Create a custom virtual machine item in the right panel.
  4. Click the Continue button and select Windows 7 x64 in the virtual machine list. Click the Continue button again. And select Create a new virtual disk option then click Finish.
  5. If you meet error messages such as “Could not open /dev/vmmon: No such file or directory.”, You can follow the below steps to fix it.
    Could not open /dev/vmmon: No such file or directory.
    
    Please make sure that the kernel module ‘vmmon‘ is loaded.
    
                                                OK

1.3 Fix Could Not Open /dev/vmmon Error During Virtual Machine Creation.

  1. Click Apple start menu —> System Preferences… menu item.
  2. Click Security & Privacy in the System Preferences popup dialog.
  3. Click the Allow button after the text System software from developer “VMware, Inc.” was blocked from loading to enable VMware to create the virtual machine.
    allow-create-virtual-machine-in-vmware
  4. If you can not see the Allow button, you can read the article How To Install Programs From Unidentified Developers In Mac OS.
  5. Also, make sure to select the radio button App Store and identified developers in the section Allow apps downloaded from. If you can not change it, click the bottom left lock icon to make the radio button clickable.
  6. Now click VMware Fusion app to go back to VMware Fusion screen, click File —> Open in the top menu bar, and select the created Windows 7 x 64 virtual machine file.
  7. Click Virtual Machines —> CD / DVD (SATA) —> Choose Disc or Disc Image… menu item. Select the Windows 7 iso file and click the triangle button to start the image in the virtual machine window to start windows 7 installation. The installation process is the same as installing Windows 7 on a physical machine.

2. The Steps To Reproduce & How To Fix This Error On Linux.

2.1 Download & Install VMWare WorkStation For Linux.

  1. Go to VMWare’s official website home page, and download the VMWare workstation trial version which you can use for evaluation.
  2. The VMWare Linux installer is a file like VMware-Workstation-Full-16.2.1-18811642.x86_64.bundle.
  3. To run the installer file, you need to add the execute permission to the above file like below.
  4. Open a terminal and run the command $ chmod +x VMware-Workstation-Full-16.2.1-18811642.x86_64.bundle to add the execute permission to it.
  5. After that, you can run the command $ sudo ./VMware-Workstation-Full-16.2.1-18811642.x86_64.bundle to extract the downloaded file.
    $ sudo ./VMware-Workstation-Full-16.2.1-18811642.x86_64.bundle 
    Extracting VMware Installer...done.
    Installing VMware Workstation 16.2.1
        Configuring...
    [######################################################################] 100%
    Installation was successful.
  6. Now you can click the VMware workstation icon to start it, if this is the first time you run the VMWare workstation, it will prompt you to install GCC.

2.2 The Steps To Raise This Error.

  1. When I create a virtual machine in the VMware workstation, the below error will appear.
  2. Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded
  3. It also said the virtual machine initialization failed. So I try to run the below commands to fix it.
  4. So I try to run the below command to fix it.
    $sudo vmware-modconfig --console --install-all
    [AppLoader] Use shipped Linux kernel AIO access library.
    An up-to-date "libaio" or "libaio1" package from your system is preferred.
    [AppLoader] GLib does not have GSettings support.
    
    
    $ sudo openssl req -new -x509 -newkey rsa:2048 -keyout VMWARE.priv -outform DER -out VMWARE.der -nodes -days 36500 -subj "/CN=VMWARE/"
    Generating a RSA private key
    .........+++++
    ..........+++++
    writing new private key to 'VMWARE.priv'
    -----
    
    
    $ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./VMWARE.priv ./VMWARE.der $(modinfo -n vboxdrv)
    modinfo: ERROR: Module vboxdrv not found.
    Usage: scripts/sign-file [-dp] <hash algo> <key> <x509> <module> [<dest>]
           scripts/sign-file -s <raw sig> <hash algo> <x509> <module> [<dest>]
    
    
    $ tail $(modinfo -n vboxdrv) | grep "Module signature appended"
    modinfo: ERROR: Module vboxdrv not found.
    
  5. Now I run the command sudo mokutil –import VMWARE.der in a new terminal tab and get the below output.
    $ sudo mokutil --import VMWARE.der
    sudo: mokutil: command not found
    
    $ sudo apt install mokutil
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      mokutil
    0 upgraded, 1 newly installed, 0 to remove and 191 not upgraded.
    Need to get 22.6 kB of archives.
    After this operation, 71.7 kB of additional disk space will be used.
    Get:1 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 mokutil amd64 0.3.0+1538710437.fb6250f-1 [22.6 kB]
    Fetched 22.6 kB in 1s (28.4 kB/s)  
    Selecting previously unselected package mokutil.
    (Reading database ... 150971 files and directories currently installed.)
    Preparing to unpack .../mokutil_0.3.0+1538710437.fb6250f-1_amd64.deb ...
    Unpacking mokutil (0.3.0+1538710437.fb6250f-1) ...
    Setting up mokutil (0.3.0+1538710437.fb6250f-1) ...
    Processing triggers for man-db (2.9.1-1) ...
  6. When I run the command $ sudo mokutil –import VMWARE.der again, I got the below error.
    $ sudo mokutil --import VMWARE.der
    [sudo] password for jerry: 
    EFI variables are not supported on this system

2.3 How To Fix The Error.

  1. In most cases, when you secure boot a virtual machine, it will need a trusted certificate to load the kernel modules.
  2. So you should first create a trusted key and then use the trusted key to sign the modules vmmon, vmnet that you just compiled.
  3. You can follow the below steps to fix it.
  4. Open a terminal and run the command sudo vmware-modconfig –console –install-all after you install the VMWare.
    $ sudo vmware-modconfig --console --install-all
    [sudo] password for jerry: 
    [AppLoader] Use shipped Linux kernel AIO access library.
    An up-to-date "libaio" or "libaio1" package from your system is preferred.
    [AppLoader] GLib does not have GSettings support.
    
  5. Run the OpenSSL command to generate a trusted key.
    $ openssl req -new -x509 -newkey rsa:2048 -keyout VMWARE15.priv -outform DER -out VMWARE15.der -nodes -days 36500 -subj "/CN=VMWARE/"
    Generating a RSA private key
    .........+++++
    .......................+++++
    writing new private key to 'VMWARE15.priv'
    -----
  6. Sign the 2 kernel modules vmmon, vmnet with the generated key above.
    $ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./VMWARE15.priv ./VMWARE15.der $(modinfo -n vmmon)
    $ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./VMWARE15.priv ./VMWARE15.der $(modinfo -n vmnet)
    $ 
    
  7. Run the tail command to verify that you have applied the signatures successfully.
    $ tail $(modinfo -n vmmon) | grep "Module signature appended"
    Binary file (standard input) matches
  8. The next step is to import the key to the management system of the machine owner key (MOK). During the process, it will let you input a password.
    $ sudo mokutil --import VMWARE15.der
  9. You should run the above command in a physical machine, if you run the command in a virtual machine, you will get the error EFI variables are not supported on this system. This is because the virtual machines disable the secure boot.
  10. Restart the virtual machine. In the process of the restart, it will prompt a menu, you need to input the key and the password that you created.
  11. After reboot, you can run the command mokutil –test-key VMWARE15.der to test whether the driver or module has been installed successfully.
    $ mokutil --test-key VMWARE15.der
    VMWARE15.der is already enrolled

#1 2011-07-01 10:15:18

I am Gianluca
Member
From: London, UK
Registered: 2011-05-22
Posts: 195

[SOLVED] Unable to start VMware

Hi all,
this morning when I’ve tried to start VMware I received this error log.

$ vmplayer
No value set for `/desktop/gnome/interface/accessibility'
No value set for `/desktop/gnome/interface/accessibility'
Logging to /tmp/vmware-gianluca/setup-1647.log
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
No value set for `/desktop/gnome/interface/accessibility'
No value set for `/desktop/gnome/interface/accessibility'


No value set for `/desktop/gnome/interface/accessibility'
No value set for `/desktop/gnome/interface/accessibility'
Logging to /tmp/vmware-root/setup-1743.log
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
Stopping VMware services:
   VMware USB Arbitrator                                               done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.39-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. 
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-2.6.39-ARCH'
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:47:44: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:103:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:113:17: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:117:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:120:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64’ [-Wformat]
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.39-ARCH'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

What could be the problem?
Thank you very much,

Gianluca

Last edited by I am Gianluca (2011-08-12 15:16:33)


Laptop: Acer Aspire S3 | Linux Mint Cinnamon 64-bit

#2 2011-07-01 11:07:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Unable to start VMware

You upgraded your kernel without rebuilding the vmware drivers.

#3 2011-07-04 11:17:59

I am Gianluca
Member
From: London, UK
Registered: 2011-05-22
Posts: 195

Re: [SOLVED] Unable to start VMware

Thank you for your answer tomk.
If I don’t understand wrongly I need to uninstall VMplayer and reinstall it following the guide on the Arch wiki.
Do I understand wrong?


Laptop: Acer Aspire S3 | Linux Mint Cinnamon 64-bit

#4 2011-07-04 12:00:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Unable to start VMware

If the kernel upgrade is the issue, you just need to rebuild the modules — I don’t use vmware anymore, but I seem to remember there was a way to do that without a complete reinstall.

#5 2011-07-04 18:48:28

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 253

Re: [SOLVED] Unable to start VMware

To rebuild the modules

sudo vmware-modconfig —console —install-all

#6 2011-07-04 19:09:58

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 966

Re: [SOLVED] Unable to start VMware

And because you won’t be able to compile VMware (7.1.4) modules on kernel 2.6.39, you need to apply this patch first:

http://weltall.heliohost.org/wordpress/ … v3.tar.bz2

#7 2011-07-11 15:17:11

I am Gianluca
Member
From: London, UK
Registered: 2011-05-22
Posts: 195

Re: [SOLVED] Unable to start VMware

Thank you guys! I’ve resolved it.
I’ll change the title wink


Laptop: Acer Aspire S3 | Linux Mint Cinnamon 64-bit

#8 2011-08-04 00:14:15

caryy
Member
Registered: 2011-08-04
Posts: 1

Re: [SOLVED] Unable to start VMware

Thanks karabaja4!  The file in your post worked swimmingly.

More explicitly — just for total completeness:

Download the file linked above and cd to the directory where you’ve saved it.

$ tar xvjf vmware2.6.39patchv3.tar.bz2
$ sudo chmod +x patch-modules_2.6.39.sh
$ sudo ./patch-modules_2.6.39.sh

Also, after you uncompress the files, make sure you keep them all in the same directory together.

Last edited by caryy (2011-08-04 00:18:10)

#9 2011-08-09 08:52:31

I am Gianluca
Member
From: London, UK
Registered: 2011-05-22
Posts: 195

Re: [SOLVED] Unable to start VMware

Hi all,
after I’ve upgraded to Kernel 3.0 I encounter this problem:

[gianluca@gianluca-laptop ~]$ sudo /etc/rc.d/vmware start
Password: 
Starting VMware services:
   VMware USB Arbitrator                                               done
   Virtual machine monitor      upgrade to Kernel 3.0 I've had this problem:                                      failed
   Virtual machine communication interface                            failed
   VM communication interface socket family                           failed
   Blocking file system                                               failed
   Virtual ethernet                                                   failed
[gianluca@gianluca-laptop ~]$ vmplayer
No value set for `/desktop/gnome/interface/accessibility'
No value set for `/desktop/gnome/interface/accessibility'
Logging to /tmp/vmware-gianluca/setup-1409.log
Unable to initialize module building library
[gianluca@gianluca-laptop ~]$ sudo vmware-modconfig --console --install-all
Password: 
Unable to initialize kernel module configuration
[gianluca@gianluca-laptop ~]$ 

I’m not able to rebuild the modules like I did with the old kernels.
Thank you,

Gianluca


Laptop: Acer Aspire S3 | Linux Mint Cinnamon 64-bit

#10 2011-08-09 12:38:40

mgmartins
Member
From: Spain
Registered: 2009-06-18
Posts: 24

Re: [SOLVED] Unable to start VMware

Me too:

root /tmp #  vmware-modconfig —console —install-all
Unable to initialize kernel module configuration
root /tmp #  uname -a
Linux ExpApp01 3.0-ARCH #1 SMP PREEMPT Sat Aug 6 16:49:00 CEST 2011 i686 Pentium(R) Dual-Core CPU E5700 @ 3.00GHz GenuineIntel GNU/Linux


Spanish Arch Linux user since 2009

#11 2011-08-09 14:38:32

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 966

Re: [SOLVED] Unable to start VMware

I am Gianluca wrote:

I’m not able to rebuild the modules like I did with the old kernels.
Thank you,

Gianluca

mgmartins wrote:

Me too:

root /tmp #  vmware-modconfig —console —install-all
Unable to initialize kernel module configuration
root /tmp #  uname -a
Linux ExpApp01 3.0-ARCH #1 SMP PREEMPT Sat Aug 6 16:49:00 CEST 2011 i686 Pentium(R) Dual-Core CPU E5700 @ 3.00GHz GenuineIntel GNU/Linux

https://bbs.archlinux.org/viewtopic.php?id=123695

#12 2011-08-10 10:14:10

I am Gianluca
Member
From: London, UK
Registered: 2011-05-22
Posts: 195

Re: [SOLVED] Unable to start VMware

Using Google I’ve seen that even with other distribution (Slack and Gentoo at least) occurred our same problem after upgrading to the Linux Kernel 3.0. Besides some users have worked on a patch (link).
Do you think in the next few days we will have a patch even for Arch (like the patches for older Kernel versions)?
Because I think this option should be less intrusive than recompiling the whole Kernel with CONFIG_LOCALVERSION=».0-ARCH».


Laptop: Acer Aspire S3 | Linux Mint Cinnamon 64-bit

#13 2011-08-12 15:15:39

I am Gianluca
Member
From: London, UK
Registered: 2011-05-22
Posts: 195

Re: [SOLVED] Unable to start VMware

Someone have updated the wiki (here).
The solution works fine for me wink

# sed 's/x83xe8x03x83xf8x01x0fx96xc0/x83xe8x02x83xf8x01x0fx96xc0/' -i /usr/lib/vmware/lib/libvmware-modconfig-console.so/libvmware-modconfig-console.so
# sed 's/x83xe8x03x83xf8x01x0fx96xc0/x83xe8x02x83xf8x01x0fx96xc0/' -i /usr/lib/vmware/lib/libvmware-modconfig.so/libvmware-modconfig.so

Thank you very much to the Arch community.


Laptop: Acer Aspire S3 | Linux Mint Cinnamon 64-bit

Every upgrade to VMware Workstation on Linux, from my experience, has resulted in it needing to replace it’s kernel modules vmmon and vmnet. This is great and all but I run Ubuntu with secure boot enabled so every kernel module that’s loaded needs to be signed to run. Most of the ones for Ubuntu packages are signed already so work out of the box. However VMware ones are not.

This means when I start a VM after the upgrade, I get a message like this.
vmware-no-such-file-dev-vmmon

At this point I try to load the kernel module manually to see if secure boot is the culprit.

$ sudo modprobe -v vmmon
insmod /lib/modules/4.15.0-39-generic/misc/vmmon.ko 
modprobe: ERROR: could not insert 'vmmon': Required key not available

Yup, the kernel module isn’t signed.

Signing the VMware Workstation Kernel Modules

Let’s sign them, and all should work as usual.

As I had to sign them manually when I first installed VMware I have already been through the process of generating a signing certificate (and key) to be used as a MOK (Machine Owner Key) and enrolling it into my BIOS so any binaries signed with it are allowed to run in kernel space.

If you haven’t already got this setup you will need to follow another guide on generating the keys and enrolling them into your BIOS — this will require a reboot.

First we need to find where vmmon and vmnet are stored on disk so we can sign them.

$ modinfo vmmon
filename:       /lib/modules/4.15.0-39-generic/misc/vmmon.ko
supported:      external
license:        GPL v2
description:    VMware Virtual Machine Monitor.
author:         VMware, Inc.
srcversion:     34124618DC56E0D8F01F9F7
depends:        
retpoline:      Y
name:           vmmon
vermagic:       4.15.0-39-generic SMP mod_unload 

The first line is the only one of interest here.

$ modinfo vmnet
filename:       /lib/modules/4.15.0-39-generic/misc/vmnet.ko
...

Then we can sign the binaries. Replace <path from modinfo> with the filename from modinfo. You also will need to change vmware-MOK.priv and .der to your signing certificate files.

$ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 vmware-MOK.priv vmware-MOK.der <path from modinfo>

This command needs to be run twice, once for the path to vmmon.ko and again for vmnet.ko.

Finally we can load the new binaries.

$ sudo modprobe -v vmmon
insmod /lib/modules/4.15.0-39-generic/misc/vmmon.ko
$ sudo modprobe -v vmnet
insmod /lib/modules/4.15.0-39-generic/misc/vmnet.ko

Now you can start VMs, but network adapters won’t be connected as the network service hasn’t been started. If you boot a VM and try to connect it’s network adapter you’ll get an error like this.
vmware-network-on-dev-vmnet-not-running

To enable networking is as simple as starting the service.

$ sudo vmware-networks --start
Started Bridge networking on vmnet0
Enabled hostonly virtual adapter on vmnet1
Started DHCP service on vmnet1
Started NAT service on vmnet8
Enabled hostonly virtual adapter on vmnet8
Started DHCP service on vmnet8
Started all configured services on all networks

Everything should now just work!

  • VMware
  • Linux
  • Ubuntu
  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Specialised Support
  • Virtualisation
  • [ubuntu] vmware workstation 7.1.1 can not be launched

  1. vmware workstation 7.1.1 can not be launched

    when I finished the installation then try to launch vmware workstation 7.1.1
    the errors comes up


    ERROR: modinfo: could not find module vmmon
    ERROR: modinfo: could not find module vmnet
    ERROR: modinfo: could not find module vmblock
    ERROR: modinfo: could not find module vmci
    ERROR: modinfo: could not find module vsock
    ERROR: modinfo: could not find module vmmon
    ERROR: modinfo: could not find module vmnet
    ERROR: modinfo: could not find module vmblock
    ERROR: modinfo: could not find module vmci
    ERROR: modinfo: could not find module vsock
    ERROR: modinfo: could not find module vmmon
    ERROR: modinfo: could not find module vmnet
    ERROR: modinfo: could not find module vmblock
    ERROR: modinfo: could not find module vmci
    ERROR: modinfo: could not find module vsock
    Stopping VMware services:
    VMware USB Arbitrator done
    VM communication interface socket family done
    Virtual machine communication interface done
    Virtual machine monitor done
    Blocking file system done
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmmon-only’
    make -C /lib/modules/2.6.32-24-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic’
    /usr/src/linux-headers-2.6.32-24-generic/arch/x86/Makefile:81: stack protector enabled but no compiler support
    make[1]: gcc: Command not found
    make[2]: gcc: Command not found
    CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
    /bin/sh: gcc: not found
    make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 127
    make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmmon-only’i have read the official help documents
    https://help.ubuntu.com/community/VMware/Workstation
    it seems like a kind of kernal problem, so i follow the below guide


    Configuration aborts when updating from Feisty to Hardy (or any system running the 2.6.24-2 kernel)

    When using the 2.6.24-2 kernel, a patch must be applied to get the vmware modules to compile. This applies to you if vmware-config.pl crashes with the message
    make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-2-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config0/vmmon-only’

    Unable to build the vmmon module.The solution is to download a patch from http://platan.vc.cvut.cz/ftp/pub/vmw…date115.tar.gz that will correct this issue. Extract the files, then run
    sudo ./runme.pl

    then another problem comes up too

    shawn@shawn-nb:~/Downloads/vmware-any-any-update115$ sudo ./runme.pl
    Unable to open the installer database /etc/vmware/locations in read-mode.

    Execution aborted.

    anyone knows how to fix up the kind of problem
    coz I’m a linux newbie, try to compare vmware workstation 7 between
    windows platform (windows 7) and linux platform (ubuntu 10.04)

    hope someone in experienced may share or offer the informations to solve the problems
    thanks anyway

    Last edited by yasto; September 6th, 2010 at 02:55 AM.


  2. Re: vmware workstation 7.1.1 can not be launched

    I am not sure but this… :

    make[1]: gcc: Command not found
    make[2]: gcc: Command not found

    …leads me to think you do not have the gcc compiler needed for building your new kernel module in order to install it properly…If I recall, the version 4.1 of gcc should do the tricks… (sudo apt-get install gcc-4.1). Then retry the installation and see if it works.


  3. Re: vmware workstation 7.1.1 can not be launched

    Quote Originally Posted by e79
    View Post

    I am not sure but this… :

    make[1]: gcc: Command not found
    make[2]: gcc: Command not found

    …leads me to think you do not have the gcc compiler needed for building your new kernel module in order to install it properly…If I recall, the version 4.1 of gcc should do the tricks… (sudo apt-get install gcc-4.1). Then retry the installation and see if it works.

    Actually…if not installed already, you need to install the «complete» build environment:

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

    Good luck


Bookmarks

Bookmarks


Posting Permissions

Понравилась статья? Поделить с друзьями:
  • Modicon tsx micro error
  • Modern warfare 2 iw4x fatal error 0xc0000005 at 0x004b0112
  • Modern deployment diagnostics provider 1010 ошибка
  • Moderate nat destiny 2 как исправить
  • Moderat a new error фильм