VMware Communities
f24
Contributor
Contributor

VMPlayer Fedora Core vmplayer-config.pl

I'm trying to get a version of SourceForge going on FC6. It comes with VMPlayer etc as part of the distribution. As I progress with the installation using their installation...

vmware-install.pl

I eventually get to the part where it runs the ever famous:

vmplayer-config.pl

I see the following file

VMware-player-1.0.3-34682.tar.gz[/i]

So I assume it is trying to configure 1.0.3 of the player

Details of the configuration run follow... with questions at bottom

\----


None of the pre-built vmmon modules for VMware Player is suitable for your

running kernel. Do you want this program to try to build the vmmon module for

your system (you need to have a C compiler installed on your system)? \[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running

kernel?

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config6/vmmon-only'

make -C /usr/src/kernels/2.6.19-1.2911.6.5.fc6-i686/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2911.6.5.fc6-i686'

CC /tmp/vmware-config6/vmmon-only/linux/driver.o

CC /tmp/vmware-config6/vmmon-only/linux/hostif.o

CC /tmp/vmware-config6/vmmon-only/common/cpuid.o

CC /tmp/vmware-config6/vmmon-only/common/hash.o

CC /tmp/vmware-config6/vmmon-only/common/memtrack.o

CC /tmp/vmware-config6/vmmon-only/common/phystrack.o

CC /tmp/vmware-config6/vmmon-only/common/task.o

CC /tmp/vmware-config6/vmmon-only/common/vmx86.o

CC /tmp/vmware-config6/vmmon-only/vmcore/moduleloop.o

LD /tmp/vmware-config6/vmmon-only/vmmon.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-config6/vmmon-only/vmmon.mod.o

LD /tmp/vmware-config6/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.6.5.fc6-i686'

cp -f vmmon.ko ./../vmmon.o

make: Leaving directory `/tmp/vmware-config6/vmmon-only'

Unable to make a vmmon module that can be loaded in the running kernel:

insmod: error inserting '/tmp/vmware-config6/vmmon.o': -1 Invalid module format

There is probably a slight difference in the kernel configuration between the

set of C header files you specified and your running kernel. You may want to

rebuild a kernel based on that directory, or specify another directory.

\----


\[medusa]# uname -r

2.6.19-1.2911.6.5.fc6

\[medusa]# ls /usr/src/kernels/

2.6.19-1.2895.fc6-i686 2.6.19-1.2911.6.5.fc6-PAE-i686

2.6.19-1.2911.6.5.fc6-i686 2.6.19-1.2911.6.5.fc6PAE-i686

2.6.19-1.2911.6.5.fc6-kdump-i686 2.6.19-1.2911.6.5.fc6-xen-i686

2.6.19-1.2911.6.5.fc6kdump-i686 2.6.19-1.2911.6.5.fc6xen-i686

\[medusa]# ls /usr/src/kernels/2.6.19-1.2911.6.5.fc6-i686/

arch fs kabi_whitelist mm security

block include kernel Module.symvers sound

crypto init lib net symsets-2.6.19-1.2911.6.5.fc6.tar.gz

drivers ipc Makefile scripts usr

\[medusa]# rpm -q kernel-devel

kernel-devel-2.6.19-1.2895.fc6

kernel-devel-2.6.19-1.2911.6.5.fc6

====================================

I've never done any builds requiring the kernel headers etc... or at least not knowingly

Near as I can tell, I've pointed the configuration at what I believe is the correct directory, but i'm not sure... It appears to have built the module, but I gather there is some incompatability with this module and the running kernel.... HELP!

0 Kudos
9 Replies
KevinG
Immortal
Immortal

Post the output from the following command

rpm -qa --queryformat %\{NAME}-%\{VERSION}-%\{ARCH}
n | grep kernel | sort

0 Kudos
f24
Contributor
Contributor

\

  1. rpm -qa --queryformat %\{NAME}-%\{VERSION}-%\{ARCH}
    n | grep kernel | sort

kernel-2.6.19-i586

kernel-2.6.19-i586

kernel-devel-2.6.19-i686

kernel-devel-2.6.19-i686

kernel-doc-2.6.19-noarch

kernel-headers-2.6.19-i386

kernel-kdump-devel-2.6.19-i686

kernel-PAE-devel-2.6.19-i686

kernel-xen-devel-2.6.19-i686

\----


This is running on a Pentium-3/600Mhz machine[/b]

0 Kudos
KevinG
Immortal
Immortal

Remove the following packages

rpm -e kernel-devel-2.6.19-i686

rpm -e kernel-PAE-devel-2.6.19-i686

rpm -e kernel-xen-devel-2.6.19-i686

rpm -e kernel-kdump-devel-2.6.19-i686

Install this package

yum -i kernel-devel-2.6.19-i586

you will need Petr's unofficial vmware-any-any-update108.tar.gz can be found here http://knihovny.cvut.cz/ftp/pub/vmware/

After you have the correct packages installed on your system

0 Kudos
f24
Contributor
Contributor

Thanks a lot for your help!

Cleaning out the suggested files and installing the

[i]kernel-devel-2.6.19-i586 [/u] version did the job.

0 Kudos
KevinG
Immortal
Immortal

Cool Smiley Happy

0 Kudos
bolivartech
Contributor
Contributor

I'm having the same issue. I'm running K12LTSP Fedora Core 6. Here are my Kernels.

kernel-2.6.18-i686

kernel-devel-2.6.19-i586

kernel-headers-2.6.18-i386

I ran Petr's unofficial vmware-any-any-update108.tar.gz but here is what it said.

Updating /usr/bin/vmware-config.pl ... corrupted

Updating /usr/bin/vmware ... failed

Cannot open /usr/bin/vmware: No such file or directory

Updating /usr/bin/vmnet-bridge ... No patch needed/available

Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available

Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available

VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it

for your running kernel by invoking the following command:

"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for

you now? \[yes]

Making sure services for VMware Player are stopped.

Stopping VMware services:

Virtual machine monitor \[ OK ]

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?

What directory contains your desktop menu entry files? These files have a

.desktop file extension.

In which directory do you want to install the application's icon?

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Player is suitable for your

running kernel. Do you want this program to try to build the vmmon module for

your system (you need to have a C compiler installed on your system)? \[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running

kernel?

The path "/usr/src/linux/include" is not an existing directory.

What am I doing wrong here? I've got the right Kernels, I've got VMPlayer installed. It is even in my system tools. Any thoughts or suggestions as to what I should do now? I'm trying to get one program to work in my LTSP lab or otherwise I won't be able to switch to Linux. Wine has failed me because I need the JRE and now I cannot get a vitrual machine to run. My apologies for sounding like I'm whining, I just really want this project to work. Thanks for any help.

Levi

0 Kudos
RDPetruska
Leadership
Leadership

>kernel-2.6.18-i686

does not match

>kernel-devel-2.6.19-i586

or

>kernel-headers-2.6.18-i386

You must have the kernel-headers or kernel-source package which EXACTLY matches your running kernel - version AND type.

0 Kudos
KevinG
Immortal
Immortal

Hi bolivartech,

Actually the kernel-header package is CORRECT and should be kernel-headers-2.6.18-i386

What is wrong in your case, is that your kernel-devel-2.6.19-i586 is the wrong version and architecture for your your kernel.

You need to only uninstall kernel-devel-2.6.19-i586 and install kernel-devel-2.6.18-i686

0 Kudos
bolivartech
Contributor
Contributor

I removed kernel-devel-2.6.19-i586 and installed kernel-devel-2.6.18-i686. I have GCC and GCC++ installed also. I removed VMWare Player and reinstalled with the RPM. Then proceeded to use Petr's unofficial vmware-any-any-update108.tar.gz. I get the same problem. Nothing has changed from what I printed above. Should I try to find a kernel-headers-2.6.18-i686?

0 Kudos