VMware Communities
butter43
Contributor
Contributor

[Fedora 15 x64] Failed to compile module vmmon!

Hi all,
I have some problems when i try install vmware player
My log:

[root@amd-x6 Downloads]# cat /tmp/vmware-root/setup-6567.log
Aug 30 01:01:56.955: app-139919401223968| Log for VMware Workstation pid=6567 version=7.1.4 build=build-385536 option=Release
Aug 30 01:01:56.955: app-139919401223968| The process is 64-bit.
Aug 30 01:01:56.955: app-139919401223968| Host codepage=UTF-8 encoding=UTF-8
Aug 30 01:01:56.955: app-139919401223968| Logging to /tmp/vmware-root/setup-6567.log
Aug 30 01:01:57.063: app-139919401223968| modconf query interface initialized
Aug 30 01:01:57.063: app-139919401223968| modconf library initialized
Aug 30 01:01:57.134: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.150: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.175: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.208: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.234: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.326: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.333: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.335: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.337: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.339: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.398: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.403: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.405: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.407: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.409: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.419: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.440: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.547: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.553: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.554: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.556: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.558: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.565: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.586: app-139919401223968| Your GCC version: 4.6
Aug 30 01:01:57.729: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.733: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.735: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.737: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.739: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.881: app-139919401223968| Trying to find a suitable PBM set for kernel 2.6.40.3-0.fc15.x86_64.
Aug 30 01:01:57.882: app-139919401223968| Building module vmmon.
Aug 30 01:01:57.882: app-139919401223968| Extracting the sources of the vmmon module.
Aug 30 01:01:57.909: app-139919401223968| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.40.3-0.fc15.x86_64/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.0
Aug 30 01:01:59.508: app-139919401223968| Failed to compile module vmmon!

vm-player: VMware-Player-3.1.4-385536.x86_64

[root@amd-x6 Downloads]# uname -a
Linux amd-x6 2.6.40.3-0.fc15.x86_64 #1 SMP Tue Aug 16 04:10:59 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

When i looking for solution in this forum, I found some posts about older kernel, the solution is install some patch for vm, where i can find patch for my kernel?
I don't see it on vmware web.

TIA

0 Kudos
4 Replies
butter43
Contributor
Contributor

Any  idea ?

I also  trying this way : http://communities.vmware.com/message/1770732http://communities.vmware.com/message/1817228#1817228

without  success 😕

0 Kudos
noghrislicer
Contributor
Contributor

I've got the same problem.

Installed VMware-Player-3.1.4-385536.x86_64.bundle outright then tried to run it. Ended up needing some dependencies. Looked around and came up with:

yum install kernel-devel kernel-headers gcc

Then I tried to the VMware Kernel Module Updater which failed. My log is pretty much the same and is attached.

uname -a: Linux fedora 2.6.40.3-0.fc15.x86_64 #1 SMP Tue Aug 16 04:10:59 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

0 Kudos
noghrislicer
Contributor
Contributor

Figured it out!

Found Directions here:
http://blog.tuxforge.com/failed-to-compile-module-vmmon/

Found file here:
http://weltall.heliohost.org/wordpress/2011/05/14/running-vmware-workstation-player-on-linux-2-6-39-...

1) Download the file.

2) Run these commands.

tar xvf vmware2.6.39patchv3.tar.bz2
yum install patch
./patch-modules_2.6.39.sh

Will try creating a VM now. Enjoy!

0 Kudos
tejas201110141
Contributor
Contributor

0 Kudos