LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   VMware can't find kernel header on fedora 9 (https://www.linuxquestions.org/questions/fedora-35/vmware-cant-find-kernel-header-on-fedora-9-a-675701/)

John VV 03-19-2011 01:15 AM

Quote:

Running the updates did it for me!
noi it did not
fedora 9 has been DEAD for years. There have been and are NO updates for fedora 9

confconf 03-19-2011 06:23 AM

Quote:

Originally Posted by John VV (Post 4295795)
noi it did not
fedora 9 has been DEAD for years. There have been and are NO updates for fedora 9

Really? With your massive IQ level, it never occurred to you that he may be using Fedora 13 or 14?

John VV 03-19-2011 03:32 PM

Quote:

Really? With your massive IQ level, it never occurred to you that he may be using Fedora 13 or 14?
for fedora 13 nd 14
START A THREAD that STATES you are using fedora 13 or fedora 14
I am NOT a mind reader and i DO NOT have a Chrystal Ball
and "bustoutfunk" the post above mind had the "run updates"

confconf 03-20-2011 02:49 PM

Quote:

Originally Posted by John VV (Post 4296365)
for fedora 13 nd 14
START A THREAD that STATES you are using fedora 13 or fedora 14
I am NOT a mind reader and i DO NOT have a Chrystal Ball
and "bustoutfunk" the post above mind had the "run updates"

Creating a new thread when one already exists, and already has the solution, is stupid. No, I take it back; it's beyond stupid. If you can't even figure out that the guy was not using Fedora 9, then maybe trying to help people with problems isn't your thing. It requires some thinking.

catcalls 04-17-2011 03:43 PM

su -c '/usr/bin/vmware-modconfig --icon=vmware-player gcc=/usr/bin/gcc headers=/lib/modules/2.6.35.12-88.fc14.x86_64/build/include/ --appname=VMware'

I had a internal kernel conflict whereby my kernel was lower than the headers. I had to press ESC on boot up, select the right kernel for the appropriate headers, and then issue the above command since VMWare Player could not do this in Fedora 14.

So, basically, this is where the Fedora 14 headers are located for present date as well as the command to issue.

Don't forget to follow all the other instructions in this thread first tho before running this command. AND ~ make sure your kernel (uname -r) matches your header versions.

LolaAmor 05-18-2011 06:55 AM

Hi All,

I don't know I should post this here or not.

I am facing the same Issue in FC-14 -64 bit, getting C directory error while trying to rebuild vmmon module by running the perl /usr/bin/vmware-config.pl.

As suggested above I have done
1) yum install gcc gcc-c++ make automake kernel-devel
2) yum update
3) Rebooted the Server (The Host Machine)

Now I can see that

root@vmware ~]# uname -a
Linux vmware 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@vmware ~]# rpm -qa kernel*
kernel-headers-2.6.35.13-91.fc14.x86_64
kernel-2.6.35.13-91.fc14.x86_64
kernel-devel-2.6.35.13-91.fc14.x86_64
kernel-2.6.35.6-45.fc14.x86_64
kernel-devel-2.6.35.6-45.fc14.x86_64

So, I have same versions.


On running the config file as a root uses am still getting the same error....

[root@vmware ~]# /usr/bin/vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
Virtual machines [FAILED]
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent [FAILED]
Stopping VMware services:
VMware Authentication Daemon [ OK ]
Virtual machine monitor [ OK ]

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] 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] /usr/src/kernels/2.6.35.13-91.fc14.x86_64/include/
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.35.13-91.fc14.x86_64). 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]

_____________________________
VMware Server 2.0.2 build-203138
_____________________________


I dont want to upgrade my VMware server.

What to do ? Plz help.

channukya 09-01-2011 08:34 AM

dear all

I have installed vmware in fedora 14 and done all the previous posts but there is no use again it is asking for the kernel headers 2.6.35.6-45.fc14.x8664, my kernel version is same.
please can any one help me in this regard it will be greatfull for mee

John VV 09-01-2011 04:01 PM

channukya
this is not a fedora9 question
please start a new thread on fedora 14 and VMware
In it include what you have done .Doing what was recommended for fedora 9 will not work for 14
Did you install the devel for THE CORRECT running kernel ?
Is vmware using the CORRECT and CURRENT kernel ?

also keep in mind that fedora 14 will hit End Of Life very soon
It is time to Upgrade to fedora 15 or fedora 16 ( soon to be out )

wiren 01-15-2012 01:09 PM

>> Simple solution <<
 
>> Simple solution
Solution for most of you:

As root:
(gcc-c++ and automake could not be needed, but will few megabytes hurt?)

yum install gcc gcc-c++ make automake kernel-headers
yum update


And depending on kernel:

yum install kernel-devel
yum install kernel-PAE-devel
(or 64bit equivalent)


Then:
1) reboot
2) build vmware tools (as root run "/usr/bin/vmware-config-tools.pl", or other path to the file)
3) reboot
4) Enjoy ;)


If anything, ask.

Regards, Wiren

puneetv 04-07-2012 06:31 AM

hi,



Code:
su -
yum -y update
yum -y install gcc make kernel-headers kernel-devel
shutdown -r now
# wait some secs...
# login as root
/usr/bin/vmware-config-tools.pl


how can i use this command in redhat linux 9.

knudfl 04-07-2012 09:23 AM

Post #25, @ puneetv :

Please do not use another members thread to ask an off topic question.
Start your own thread instead :
http://www.linuxquestions.org/questions/linux-newbie-8/ > 'New Thread'.


And : There is no 'yum' in the ancient Redhat 9.
Redhat 9 : Released year 2002. Obsoleted 2004.

The latest free version of "Redhat" Enterprise OS : CentOS 6 / Scientific SL6.
The latest Redhat Desktop OS : Fedora 16.

.

xyz-xieyan 12-29-2013 07:47 PM

Actually you should install exactally the same version kernel-header and kernel-devel on your linux as vmware told. What's more, the path of kernel header is in /lib/modules/'version'/build/include


All times are GMT -5. The time now is 04:26 PM.