VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 4 Previous Next 45 Replies Last post: May 26, 2007 9:01 AM by daniel.marques  

vmware-config.pl failed on Fedora Core 6 posted: Oct 25, 2006 12:37 AM

Click to view KichikuMan's profile Lurker 3 posts since
Oct 25, 2006
VMware Server 1.0.1 works very smoothly on Fedora Core 5, and vmware-config.pl runs successfully every time I go through a kernel update.

But after I upgraded my system to Fedora Core 6, vmware-config.pl failed to work anymore... Here is the error message:

-----------------------------------------------------------------------------------------
What is the location of the directory of C header files that match your running
kernel? [/usr/src/kernels/2.6.18-1.2798.fc6-i686/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /usr/src/kernels/2.6.18-1.2798.fc6-i686/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/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.
-------------------------------------------------------------------------------------------

Do you have any hints on this issue? Thanks a lot~

Re: vmware-config.pl failed on Fedora Core 6

1. Oct 25, 2006 12:46 AM in response to: KichikuMan
Click to view tmick's profile Novice 8 posts since
Jul 19, 2006
What version of VMware server are you running?
I had problems with kernel 2.6.18-1.2200 until I upgraded my VMware version to VMware-server-1.0.1-29996.i386.

Re: vmware-config.pl failed on Fedora Core 6

4. Oct 25, 2006 9:46 PM in response to: KichikuMan
Click to view xtremenw's profile Enthusiast 49 posts since
Mar 20, 2006
Sweet fix. You save me a ton of time trying to find a solution!

*2 thumbs up!*

Re: vmware-config.pl failed on Fedora Core 6

5. Oct 26, 2006 6:22 AM in response to: KichikuMan
Click to view Sagamced's profile Lurker 1 posts since
Oct 26, 2006
Hello!!!
I've just installed FC6 and i've same problem....
what's your solution for the out-of-sync between kernel and kernel-devel???
Thanks for answer

Giancarlo.

Re: vmware-config.pl failed on Fedora Core 6

6. Oct 26, 2006 10:10 AM in response to: Sagamced
Click to view Duggi's profile Lurker 1 posts since
Oct 26, 2006
Hi.

If you have installed the i686 version, run "rpm -e kernel-devel-2.6.18-1.2798.fc6"
Then I dowloaded kernel-devel-2.6.18-1.2798.fc6.i586.rpm from my local fedora mirror, and installed that with rpm manualy. (or you can rpm with the URL directly)
I guess rpm -ivh in det correct but I always seem to use rpm -Uvh.

Re: vmware-config.pl failed on Fedora Core 6

7. Oct 26, 2006 12:53 PM in response to: Duggi
Click to view rex007can's profile Lurker 1 posts since
Oct 26, 2006
<<Then I dowloaded kernel-devel-2.6.18-1.2798.fc6.i586.rpm from my local fedora mirror, and installed that with rpm manualy. >>

SWEEEEET!!!!

I'd been racking my brains for hours till I found that one!
Worked like a charm!

Thanks for sharing.

Re: vmware-config.pl failed on Fedora Core 6

8. Oct 30, 2006 11:38 AM in response to: rex007can
Click to view gregplo's profile Lurker 2 posts since
Sep 28, 2005
In addition to the above, I had to copy the config.h from "/usr/src/kernels/2.6.18-1.2798.fc6-i586/include/config/i2o/" to "/usr/src/kernels/2.6.18-1.2798.fc6-i586/include/linux/". Doing a "touch" of the file did not work...the script failed when it could find the file in the /include/linux directory...

After doing that I was able to successfully run vmware-config.pl.

Greg

Re: vmware-config.pl failed on Fedora Core 6

9. Oct 30, 2006 1:02 PM in response to: gregplo
Click to view gregplo's profile Lurker 2 posts since
Sep 28, 2005
Correction to my previous post. It should say:

In addition to the above, I had to copy the config.h from "/usr/src/kernels/2.6.18-1.2798.fc6-i586/include/config/i2o/" to "/usr/src/kernels/2.6.18-1.2798.fc6-i586/include/linux/". Doing a "touch" of the file did not work...the script failed when it could NOT find the file in the /include/linux directory...

After doing that I was able to successfully run vmware-config.pl.

Greg

Re: vmware-config.pl failed on Fedora Core 6

10. Nov 1, 2006 4:41 PM in response to: gregplo
Click to view mark_56's profile Lurker 1 posts since
Nov 1, 2006
<rant>
Why is this an issue? Between the Fedora Team and the VMware team, I don't know why everytime there is a new release, it doesn't just WORK. I know they have their own Xen project they're working on, but VMware is well established enough and FREE, so there's really no excuse to continue to push releases that aren't verified to work under vmware.

When FC4 and FC5 both first came out, I remember having issues getting them to work under the most current VMWare release at the time and struggling to input the right query into google to find the fix I needed to make it work. What's ironic is that this has to be the EASIEST platform to support - it's the same hardware EVERYWHERE. Unlike trying to support hardware for every Mom&Pop configuration, vmware guarantees the same virtual platform no matter what hardware is underneath. I just don't get why this is an issue, this is poor quality and it really baffles me.

And please don't tell me "it does work, it just doesn't build vmware-tools right". Running in 800x600 because I can't get the vmware tools to build and not having my mouse auto-pass in and out of the window is NOT a working release. I don't really care whos problem it is or who fixes it (Fedora team or VMWare), but they really need to start working together to build a less frustrating release process for all of us VMware/Fedora users. Day1. Not 3 weeks after release.
</rant>

Thanks so much to the people on these forums finding solutions and posting them. Hopefully either the Fedora and/or VMware guys will take note and help make future releases less frustrating.

Re: vmware-config.pl failed on Fedora Core 6

11. Nov 1, 2006 7:18 PM in response to: mark_56
Click to view RDPetruska's profile Guru 15,872 posts since
Jan 11, 2005
@mark_56 -
Respectfully, you seem to be ranting about issues with FC6 as a guest OS. This thread is about issues with FC6 as a host OS. There's a HUGE difference there. When discussing the guest, you are correct - there is basically one known set of virtual hardware. Unfortunately, with the host, there are tons of possible configurations. If people insist on updating their kernels to newer versions "just because they are newer" before verifying that the important software they run every day works, then I'm sorry, but they only have themselves to blame.

You want to know why MS is the world leader in OS's? Because they TEST tons of software applications before they release a new OS, because they know that users all around the world would flip out if their programs suddenly didn't work any more when they upgraded their OS. And if they can't be made to work, MS lets the software manufacturers know about it (things like Norton Utilities need to be actually updated/changed in order to work on newer base OS's, for example). The other enormous reason is - when I download a software program written by somebody else, all I need to do is run a setup program. Same program for every single instance of Windows in the world. It copies some files, registers some settings, creates icons to start up the program, and stores that info in a nice centralized package management utility. Now look at Linux - there's at least 4 completely different package management utilities, and half the time none of them work; the user has to RECOMPILE the source code which somebody else wrote just to run the dang program! How absolutely idiotic is that? It may be fine for techies, but for the average Joe User, it's NEVER going to fly.

Re: vmware-config.pl failed on Fedora Core 6

12. Nov 2, 2006 4:56 PM in response to: KichikuMan
Click to view Karl_Lewis's profile Enthusiast 32 posts since
Nov 2, 2006
I'm having a similar problem, but the proposed solution hasn't helped. (But this may be my own fault.) I'm trying to install vmware serer 1.0.1 on a Dual core Opteron box running Fedora Core 6 x86_64. I get this error:

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/include

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.18-1.2798.fc6). Even if the module were to
compile successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]


Touching config.h in /usr/src/kernels/2.6.18-1.2798.fc6-x86_64/include/linux did not change this behavior. Is it that I cannot instal vmware on an x86_ 64 OS? Or is there some other [stupid/obvious] error that I have made?

Karl

Re: vmware-config.pl failed on Fedora Core 6

13. Nov 3, 2006 9:21 AM in response to: KichikuMan
Click to view colin.abram's profile Lurker 1 posts since
Mar 9, 2006
Hi,

By chance I resolved this problem by installing the xen kernel source:

yum install kernel-xen-devel

Hope the same works for you.

Re: vmware-config.pl failed on Fedora Core 6

14. Nov 7, 2006 12:22 PM in response to: KichikuMan
Click to view Greggsbluer6's profile Novice 6 posts since
Nov 7, 2006
I have Core 6 and its not working. You talk about /usr/src/ kernels but that directory does not exist in Core 6 at all. I checked the versions and they match but when it asks for the C header files that match, where are they in Core 6 if there are not at the /kernels location?

God I feel like a n00b!

Gregg

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities