VMware Communities
erasmoa
Contributor
Contributor

Failed to compile module vmmon!

Running the VMWare Player 4.0.1 on Fedora 16 x86_64. I just downloaded a bunch of updates, including kernel 3.2. When the vmplayer tries to rebuild the modules, I get the following errors:

Header 1
2012-01-24T15:57:19.893-08:00| vthread-3| I120: Log for VMware Workstation pid=2447 version=8.0.1 build=build-528992 option=Release
2012-01-24T15:57:19.893-08:00| vthread-3| I120: The process is 64-bit.
2012-01-24T15:57:19.893-08:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2012-01-24T15:57:19.893-08:00| vthread-3| I120: Host is Linux 3.2.1-3.fc16.x86_64 Fedora release 16 (Verne)
2012-01-24T15:57:19.891-08:00| vthread-3| I120: Msg_Reset:
2012-01-24T15:57:19.891-08:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2012-01-24T15:57:19.891-08:00| vthread-3| I120: ----------------------------------------
2012-01-24T15:57:19.891-08:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2012-01-24T15:57:19.892-08:00| vthread-3| I120: Msg_Reset:
2012-01-24T15:57:19.892-08:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2012-01-24T15:57:19.892-08:00| vthread-3| I120: ----------------------------------------
2012-01-24T15:57:19.892-08:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2012-01-24T15:57:19.893-08:00| vthread-3| W110: Logging to /tmp/vmware-root/modconfig-2447.log
2012-01-24T15:57:19.945-08:00| vthread-3| I120: modconf query interface initialized
2012-01-24T15:57:19.948-08:00| vthread-3| I120: modconf library initialized
2012-01-24T15:57:19.988-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:19.990-08:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-3.fc16.x86_64
2012-01-24T15:57:19.990-08:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-24T15:57:19.990-08:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-24T15:57:19.990-08:00| vthread-3| I120: Validating path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64
2012-01-24T15:57:19.994-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.026-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.043-08:00| vthread-3| I120: Header path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64 is valid.
2012-01-24T15:57:20.043-08:00| vthread-3| I120: Validating path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64
2012-01-24T15:57:20.045-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.051-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.067-08:00| vthread-3| I120: Header path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64 is valid.
2012-01-24T15:57:20.110-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.111-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.112-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.113-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.114-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.129-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.130-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.132-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.133-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.134-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.137-08:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-3.fc16.x86_64
2012-01-24T15:57:20.137-08:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-24T15:57:20.137-08:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-24T15:57:20.137-08:00| vthread-3| I120: Validating path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64
2012-01-24T15:57:20.139-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.145-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.161-08:00| vthread-3| I120: Header path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64 is valid.
2012-01-24T15:57:20.176-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.177-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.178-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.180-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.181-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.183-08:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.2.1-3.fc16.x86_64
2012-01-24T15:57:20.183-08:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2012-01-24T15:57:20.183-08:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2012-01-24T15:57:20.183-08:00| vthread-3| I120: Validating path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64
2012-01-24T15:57:20.184-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.190-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.206-08:00| vthread-3| I120: Header path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64 is valid.
2012-01-24T15:57:20.235-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.236-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.238-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.239-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.241-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.271-08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.2.1-3.fc16.x86_64.
2012-01-24T15:57:20.271-08:00| vthread-3| I120: Validating path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64
2012-01-24T15:57:20.274-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.282-08:00| vthread-3| I120: Your GCC version: 4.6
2012-01-24T15:57:20.299-08:00| vthread-3| I120: Header path /lib/modules/3.2.1-3.fc16.x86_64/build/include for kernel release 3.2.1-3.fc16.x86_64 is valid.
2012-01-24T15:57:20.299-08:00| vthread-3| I120: Building module vmmon.
2012-01-24T15:57:20.299-08:00| vthread-3| I120: Extracting the sources of the vmmon module.
2012-01-24T15:57:20.312-08:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.1-3.fc16.x86_64/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.2
2012-01-24T15:57:21.323-08:00| vthread-3| I120: Failed to compile module vmmon!

Any ideas?

Reply
0 Kudos
39 Replies
Wendetta
Contributor
Contributor

Hey guys,

I am in a standstill and here's the situation (my first take at VMWare... so be gentle):

1) OS / Kernel: Ubuntu 12.04 - Kernel 3.2.0.

2) VMware Player: 4.0.0. I have tried to download VMWare Player version 4.0.2 from the download page, but it seems that no matter how hard I try, the only available version is 4.0.0 (is 4.0.2 available only for paying customers and not for free trials or something??? )

3) Installed the VMware Player, got the installation successfull status, and when I tried to launch... vmmon compilation error

2012-04-30T17:45:42.059+02:00| vthread-3| I120: Validating path /lib/modules/3.2.0-24-generic/build/include for kernel release 3.2.0-24-generic
2012-04-30T17:45:42.061+02:00| vthread-3| I120: Your GCC version: 4.6
2012-04-30T17:45:42.073+02:00| vthread-3| I120: Your GCC version: 4.6
2012-04-30T17:45:42.106+02:00| vthread-3| I120: Header path /lib/modules/3.2.0-24-generic/build/include for kernel release 3.2.0-24-generic is valid.
2012-04-30T17:45:42.106+02:00| vthread-3| I120: Building module vmmon.
2012-04-30T17:45:42.106+02:00| vthread-3| I120: Extracting the sources of the vmmon module.
2012-04-30T17:45:42.118+02:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-24-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
2012-04-30T17:45:42.805+02:00| vthread-3| I120: Failed to compile module vmmon!

As you may very well see by now, I am in a vicious circle. There's no patch for version 4.0.0., I cannot update, as I can't run the software and I can't get version 4.0.2 because well... I can't find it.

Anyways, if anybody can help out of this I would appreciate it.

Reply
0 Kudos
tvlooy
Contributor
Contributor

Look harder. It is on the download page, just not at the top of it.

Reply
0 Kudos
Wendetta
Contributor
Contributor

Any thoughts on why in the name of all that's holy, version 4.0.2 is waaaaaaay down below let's say... version 3.0.1 and 3.0? 'Cos I can't think of any logical reason...

Anyway.. thanks for literally opeing my eyes.

Reply
0 Kudos
tvlooy
Contributor
Contributor

Nop. 🙂

Reply
0 Kudos
daddmac
Contributor
Contributor

I downloaded player 4.0.3 today and had the same problem as with 4.0.2.  The patch checks the version of workstation/player and wouldn't run. 

I edited the version number in the script, ran it, and 4.0.3 seems to be running okay. 

FWIW.

Reply
0 Kudos
pa0wly
Contributor
Contributor

Worked for me on Xubuntu 12.04, but had to remove /usr/lib/vmware/modules/source/.patched first.

Reply
0 Kudos
janaka17
Contributor
Contributor

thanks a lot for the procedure which works well on ubuntu 12.04 LTS. i translated it into french in the french ubuntu forum.

Reply
0 Kudos
mclaborn
Contributor
Contributor

VMWare - are you reading this?  When will it get fixed?  The patch works well but it seems like you would want to fix the actual product.

Reply
0 Kudos
RDPetruska
Leadership
Leadership

Ubuntu 12.04 is officially Supported on the Workstation 2012 Tech Preview version, NOT on the released versions yet.

Reply
0 Kudos
VictorSanchez2
Contributor
Contributor

It works for on Debian Wheezy with 3.2.0-2-amd64 kernel, but I need to change on the script patch-modules_3.2.0.sh:

vmreqver=8.0.2

by

vmreqver=8.0.3

to solve the validation on the new Workstation version.

Thanks!

Reply
0 Kudos
daddmac
Contributor
Contributor

!thanks Victor!  This change allowed me to patch the 4.0.4 that downloaded last night. 

FWIW, I'm running precise pangolin. 

Reply
0 Kudos
mclaborn
Contributor
Contributor

I assume that means that VMWare didn't fix the problem in 4.0.4?

Reply
0 Kudos
quakk
Contributor
Contributor

No, they did not.  Maybe they don't know about it.

Reply
0 Kudos
mwildam
Contributor
Contributor

Still the same issue for VMware-Player-4.0.4-744019

I assumed the patch would have gone into the base SVN.

I have read through the script you provided and it looks like the patch is explicitely requiring 4.0.2.

I guess, a new patch for 4.0.4 is needed. And please: It should be fixed permanently with the next release.

Reply
0 Kudos
mwildam
Contributor
Contributor

Oh the last answers from tonight only revealed after submitting my reply.

So I changed the required version in the script and it seems to work also for 4.0.4 (I am on Ubuntu 20.04 32-bit with a VMWare Windows 2008r2 64-bit that tested fine).

Thanks for providing the patch.

Reply
0 Kudos
gmkavi
Contributor
Contributor

I guess, a new patch for 4.0.4 is needed. And please: It should be fixed permanently with the next release.

YA THINK?

I can't build vmnet on Ubuntu 12.04 amd64.

'uname -a' output:

Linux myworkstation 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

I tried to report this as a bug by going to the support page.  No support, apparently we're supposed to pay for email support on a >$100 product.  Um.

Speaking of, people are trying to use that payware product on fairly common operating systems, there have been TWO point releases at least since this issue came up, and no fix.

VMware: get it together.

Reply
0 Kudos
mclaborn
Contributor
Contributor

Agreed.  An official fix is overdue.

Reply
0 Kudos
erasmoa
Contributor
Contributor

I happen to have a good friend at VMWare. I sent him an email with a link to this thread requesting he raises the issue.

Reply
0 Kudos
Siyfion
Contributor
Contributor

I've tried installing with the latest patch and I just get a failed "Unable to start services" message.

It's the "VMware Blocking Filesystem" that throws the error I belive.

I am running the latest version of Fedora x64: 3.4.4-5.fc17.x86_64

Reply
0 Kudos
mwildam
Contributor
Contributor

Just to complete this - because still many people seem to find this on the net and maybe searching for a fix for the current vmware player 5.0.0:

For the vmware player 5.0.0 under kernels 3.4 and up you need a newer patch:

http://communities.vmware.com/message/2103172#2103172

BTW: I had troubles patching the VMWare that was previously patched with the older patch. So I uninstalled completely using

sudo vmware-installer -u vmware-player

and then

sudo rm  /usr/lib/vmware/modules/source/.patched

Then re-installed using the patch mentioned above.

Reply
0 Kudos