You are not logged in.

#1 2011-10-10 08:59:14

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

VMPlayer 3.1.5: Failed to compile module vmmon

Hi,
yesterday I updated VMPlayer but after that it doesn't work. When I try to start the program it advice me that 'Before you can run VMware, several modules must be compiled and loaded into the running kernel'. I select the 'Install' button but the procedure fails immediately during the compiling of the 'Virtual Machine Monitor'.
The problem seems to be the vmmon module.

Oct 10 10:49:57.775: app-3076052672| Log for VMware Workstation pid=1942 version=7.1.5 build=build-491717 option=Release
Oct 10 10:49:57.775: app-3076052672| The process is 32-bit.
Oct 10 10:49:57.775: app-3076052672| Host codepage=UTF-8 encoding=UTF-8
Oct 10 10:49:57.775: app-3076052672| Logging to /tmp/vmware-root/setup-1942.log
Oct 10 10:49:58.133: app-3076052672| modconf query interface initialized
Oct 10 10:49:58.134: app-3076052672| modconf library initialized
Oct 10 10:49:58.218: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.226: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.248: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.276: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.297: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.394: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.402: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.410: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.419: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.427: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.496: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.505: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.513: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.521: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.530: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.536: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.558: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.652: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.660: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.668: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.676: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.685: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.690: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.712: app-3076052672| Your GCC version: 4.6
Oct 10 10:49:58.878: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.887: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.896: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.905: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:58.913: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:59.512: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
Oct 10 10:49:59.513: app-3076052672| Building module vmmon.
Oct 10 10:49:59.525: app-3076052672| Extracting the sources of the vmmon module.
Oct 10 10:49:59.582: app-3076052672| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-$
Oct 10 10:50:05.007: app-3076052672| Failed to compile module vmmon!

I try to compile the modules with the command vmware-modconfig --console --install-all but it returns me:

$ sudo vmware-modconfig --console --install-all
Password: 
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/3.0-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.0-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-3.0-ARCH'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon

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

Offline

#2 2011-10-10 16:27:42

trc
Member
From: Beaver Dam, WI
Registered: 2010-01-14
Posts: 85
Website

Re: VMPlayer 3.1.5: Failed to compile module vmmon

Not sure if this is responsible for your issue, but apparently VMWare requires a patch for kernel 3.0

https://wiki.archlinux.org/index.php/VMware#3.0_kernels


~trc

Offline

#3 2011-10-10 17:54:33

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

Re: VMPlayer 3.1.5: Failed to compile module vmmon

Hi trc,
that patch is only for vmplayer 3.1.4. It doesn't work for vmplayer 3.1.5.


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

Offline

#4 2011-10-10 18:08:55

BxS
Member
From: Portugal
Registered: 2009-04-05
Posts: 24

Re: VMPlayer 3.1.5: Failed to compile module vmmon

Why 3.1.5?

I have VMware Workstation 8, it also installed VMware Player 4.0.0 and the best part is that it doesn't even need any patch wink

Offline

#5 2011-10-10 18:25:53

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

Re: VMPlayer 3.1.5: Failed to compile module vmmon

Thank you for the advice. I will try to install VMware Player 4 wink

Last edited by I am Gianluca (2011-10-10 18:26:04)


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

Offline

#6 2011-10-11 09:24:07

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

Re: VMPlayer 3.1.5: Failed to compile module vmmon

It works!
Thank you very much BxS smile


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

Offline

#7 2011-10-11 18:43:19

BxS
Member
From: Portugal
Registered: 2009-04-05
Posts: 24

Re: VMPlayer 3.1.5: Failed to compile module vmmon

I am Gianluca wrote:

It works!
Thank you very much BxS smile

I use VMware for a long time, it normally needs patchs for new kernels, Workstation 8 and Player 4 for now don't need any, they simple work out of the box, very nice smile

Offline

#8 2011-10-13 23:14:07

brewerja
Member
Registered: 2011-10-13
Posts: 1

Re: VMPlayer 3.1.5: Failed to compile module vmmon

I'm running Fedora 15 with 2.6.40.6-0.fc15.x86_64. I recently did the install of VMWare Workstation 7.1.5 and had the same error. The "old" patch mentioned above does work, but it requires modification. The values vmreqver and plreqver must be updated to reflect their new versions (7.1.5 and 3.1.5). This will force it to try and patch the kernel. It worked for me.

Offline

Board footer

Powered by FluxBB