LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-17-2007, 09:22 AM   #1
mukundmurari
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Rep: Reputation: 0
Question VMware installation Problem


hi all !

when i try to install VMware server in centos 5, i am getting this error


None of the pre-built vmmon modules for VMware Server 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? [/usr/src/linux/include] (when i press enter)

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

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-8.1.10.el5-i686/include

The directory of kernel headers (version 2.6.18-8.1.10.el5) does not match your
running kernel (version 2.6.18-8.el5xen). 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] (what should i do ?)

i am new to linux so plz give step by step solutions.

Thanks

Max
 
Old 10-17-2007, 09:57 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
First it is not a good idea to run a virtual environment in a virtual environment (the xen kernel). With that said you are missing the xen kernel-devel package required for the running xen kernel;

yum install kernel-xen-devel-2.6.18-8

You have to specify this version because you seem to have an issue with different kernel packages that are installed;

Quote:
The directory of kernel headers (version 2.6.18-8.1.10.el5) does not match your
running kernel (version 2.6.18-8.el5xen). Even if the module were to compile
Please check and fix this, by the way the latest version are 2.6.18-8.1.14 for the kernel, kernel-xen, kernel-devel, kernel-xen-devel and kernel-headers packages. it is a good idea they all match.

It is also a good idea to download, extract and install the latest version of the vmware-any-any-update beforehand. here's the direct link;

http://platan.vc.cvut.cz/ftp/pub/vmw...date114.tar.gz

Last edited by Lenard; 10-17-2007 at 09:58 AM.
 
Old 10-18-2007, 02:56 AM   #3
mukundmurari
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
hi Lenard !

thanx for your assistance but i am still facing the same problem but this time the kernel name is diffrent.

i have following kernels installed , i checked it with rpm -qa 'kernel*' query

kernel-xen-2.6.18-8.el5
kernel-2.6.18-8.1.10.el5
kernel-2.6.18-8.1.14.el5
kernel-xen-devel-2.6.18-8.1.14.el5
kernel-headers-2.6.18-8.el5
kernel-devel-2.6.18-8.1.10.el5


i have downloded & installed yum install kernel-xen-devel-2.6.18-8 & i have updated the
vmware-any-any-update. i have tried reinstalling the Vmware server & its giving me following 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-8.1.14.el5-xen-i686/include

The directory of kernel headers (version 2.6.18-8.1.14.el5xen) does not match
your running kernel (version 2.6.18-8.el5xen). 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]
plz instruct me step by step, as i am new to linux. if possible plz give mention the linux commands.

Thankx

Max
 
Old 10-18-2007, 06:42 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
These still do not match notice the version numbers, I resorted them for easier reading and checking;

kernel-xen-2.6.18-8.el5
kernel-xen-devel-2.6.18-8.1.14.el5
kernel-devel-2.6.18-8.1.10.el5
kernel-headers-2.6.18-8.el5

kernel-2.6.18-8.1.10.el5
kernel-2.6.18-8.1.14.el5

It should look more like;

kernel-2.6.18-8.1.10.el5

kernel-2.6.18-8.1.14.el5
kernel-devel-2.6.18-8.1.14.el5
kernel-headers-2.6.18-8.1.14.el5
kernel-xen-2.6.18-8.1.14.el5
kernel-xen-devel-2.6.18-8.1.14.el5

It is OK to have older kernels installed but the working kernel package should also have matching (by version number) kernel-devel and kernel-headers packages.

Try typing something like; yum update kernel-xen kernel-devel kernel-xen-devel kernel-headers
 
Old 10-19-2007, 03:19 AM   #5
mukundmurari
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
HI Lenard !

It has worked ! thank you very much.

Max
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare installation problem - vmmon module lonecrow Linux - Software 5 03-26-2009 11:57 AM
vmware installation problem DoctorVell Linux - Software 6 05-25-2005 01:27 AM
vmware installation problem dd_682000 Linux - Software 1 07-26-2004 04:09 PM
VMware 3.2 Installation- Kernel problem mjkchi Linux - Software 3 12-02-2003 08:56 PM
VMware installation problem Phil Healey Linux - General 4 06-29-2003 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration