VMware Communities
waldyd
Contributor
Contributor

VMware Player 3.1.5 on Fedora 16

Hello,

When running vmplayer on Fedora 16,  3.2.5-3.fc16.i686, the following was prompted:

Unable to build kernel module.

See log file /tmp/vmware-root/setup-10364.log for details

The log file showed the following

Feb 14 23:56:24.190: app-3077551808| Log for VMware Workstation pid=10364 version=7.1.5 build=build-491717 option=Release
Feb 14 23:56:24.190: app-3077551808| The process is 32-bit.
Feb 14 23:56:24.190: app-3077551808| Host codepage=UTF-8 encoding=UTF-8
Feb 14 23:56:24.190: app-3077551808| Logging to /tmp/vmware-root/setup-10364.log
Feb 14 23:56:24.622: app-3077551808| modconf query interface initialized
Feb 14 23:56:24.624: app-3077551808| modconf library initialized
Feb 14 23:56:24.718: app-3077551808| Your GCC version: 4.6
Feb 14 23:56:24.734: app-3077551808| Your GCC version: 4.6
Feb 14 23:56:24.769: app-3077551808| Your GCC version: 4.6
Feb 14 23:56:24.862: app-3077551808| Your GCC version: 4.6
Feb 14 23:56:24.893: app-3077551808| Your GCC version: 4.6
Feb 14 23:56:25.074: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.095: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.115: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.134: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.159: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.249: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.277: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.297: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.317: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.336: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.349: app-3077551808| Your GCC version: 4.6
Feb 14 23:56:25.385: app-3077551808| Your GCC version: 4.6
Feb 14 23:56:25.617: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.637: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.662: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.687: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.707: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:25.719: app-3077551808| Your GCC version: 4.6

Feb 14 23:56:25.750: app-3077551808| Your GCC version: 4.6
Feb 14 23:56:26.003: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:26.023: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:26.043: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:26.065: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:26.089: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:26.378: app-3077551808| Trying to find a suitable PBM set for kernel 3.2.5-3.fc16.i686.
Feb 14 23:56:26.383: app-3077551808| Building module vmmon.
Feb 14 23:56:26.383: app-3077551808| Extracting the sources of the vmmon module.
Feb 14 23:56:26.433: app-3077551808| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.5-3.fc16.i686/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.2
Feb 14 23:56:31.089: app-3077551808| Failed to compile module vmmon!

Also, the following was prompted at the terminal:

No value set for `/desktop/gnome/interface/accessibility'
No value set for `/desktop/gnome/interface/accessibility'
Logging to /tmp/vmware-waldyd/setup-10282.log
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:80: error: unexpected identifier `colorize_scrollbar', expected character `}'
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
Fontconfig error: "conf.d", line 1: no element found
Fontconfig warning: line 73: unknown element "cachedir"
Fontconfig warning: line 74: unknown element "cachedir"
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'
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:80: error: unexpected identifier `colorize_scrollbar', expected character `}'
Gtk-Message: Failed to load module "pk-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
No value set for `/desktop/gnome/interface/accessibility'
^TNo value set for `/desktop/gnome/interface/accessibility'
Logging to /tmp/vmware-root/setup-10364.log
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:80: error: unexpected identifier `colorize_scrollbar', expected character `}'
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
Fontconfig error: "conf.d", line 1: no element found
Fontconfig warning: line 73: unknown element "cachedir"
Fontconfig warning: line 74: unknown element "cachedir"
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 (via systemctl):                           [  OK  ]
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.2.5-3.fc16.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.2.5-3.fc16.i686'
CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:788:59: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.2.5-3.fc16.i686'
make: *** [vmmon.ko] Error 2

make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
[waldyd@waldyd ~]$

Any ideas for solving this issue?

Best Regards,

Nestor Waldyd

0 Kudos
10 Replies
Jubish
Enthusiast
Enthusiast

Hi,

Welcome to VMware communities.

First of all, make sure that you are trying to install VMware Player as root (administrator) who has suffiicient privileges to compile the required kernel modules. This can be a permission issue.

Also make sure that you have kernel-<version>-source*.rpm and kernel-<version>-devel*.rpm packages installed on the host.

Hope this information will be helpful.

Thanks,

- J

0 Kudos
waldyd
Contributor
Contributor

Hello,

Thanks for your opinion.

VMware player were installed using su privileges with the appropiate kernel devel & source packages.

Best Regards,

Nestor Waldyd

0 Kudos
Jubish
Enthusiast
Enthusiast

Okay, this looks like a known issue. Please try the patch mentioned here: http://weltall.heliohost.org/wordpress/2012/01/26/vmware-workstation-8-0-2-player-4-0-2-fix-for-linu...

Thanks,

- J

0 Kudos
waldyd
Contributor
Contributor

Hello,

Definitivelly  the kermel needs to be patched in order to use vmware player 3.1.5 as you can see here:

https://wiki.archlinux.org/index.php/Vmware#3.2_kernels

Unfortunatelly i can't find yet a patch for 3.2 kernel in order to use vmware player 3.1.5.

If any one can find it please post it here

Best Regards,

Nestor Waldyd

0 Kudos
waldyd
Contributor
Contributor

Hello,

Thanks for your help.

I've already try this but the patch does not support vmware player 3.1.5. It only supports vmware player 4.0.2. I have also tried to modify the patch code with some comments found at that post with no success. I think that we need a patch specfically for vmware player 3.1.5, but i can not find it yet.

The closest solution i've found is at http://weltall.heliohost.org/wordpress/2011/08/10/vmware-workstation-7-1-4-fix-for-linux-3-1/ but it lacks of support for 3.2 kernel. If the patch there had support for 3.2 kernel it would be the potential solution. What do you think?

Best Regards,

Nestor Waldyd

PD: The Fedora 16 kernel was updated today to  3.2.6-3.fc16.i686

0 Kudos
Jubish
Enthusiast
Enthusiast

The easier way will be upgrading to Player 4.0.2 Smiley Happy

Thanks,

- J

0 Kudos
waldyd
Contributor
Contributor

Hello,

Unfortunatelly that is not possible for me because my processor (32) is not a 64b capable processor and that is a requirement for installing VMware Player 4.x as explained in http://communities.vmware.com/message/1832214.

Best Regards,

Nestor Waldyd

0 Kudos
waldyd
Contributor
Contributor

Hello,

FINALLY the SOLUTION:

1. Replace the vmnet.tar file on /usr/lib/vmware/modules/source/ with the one attached.

2. Extract the  waldyd.patch and patch-modules_2.6.39.sh to the /tmp/ folder

3. RUN  patch-modules_2.6.39.sh

DONE!!!

Thanks to Weltall (http://weltall.heliohost.org/)

Best Regards,

Nestor Waldyd

0 Kudos
trefoil
Contributor
Contributor

This doesn't work for me. I have the same problem that I can't run vmplayer 4.0.

I downloaded vmplayer 3.1.5 (since I was still on 3.1.4 and your patch insisted on 3.1.5).

I replaced vmnet.tar and ran the patch script as instructed, accepting defaults.

But compiling modules aborts already on the first file:

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.2.5-3.fc16.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.2.5-3.fc16.i686'
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:788:59: error: 'SPIN_LOCK_UNLOCKED' undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.2.5-3.fc16.i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

0 Kudos
maktis
Contributor
Contributor

I just reinstalled the 3.1.5. player from scrap; then applied the patch Jubish suggested; worked like a charm. Thanx Smiley Happy

0 Kudos