Você está na página 1de 3

path to kernel header - Ask Fedora: Community... https://ask.fedoraproject.org/en/question/9667/...

English

Hi there! Please sign in help tags people badges

ALL UNANSWERED search or ask your question ASK YOUR QUESTION

path to kernel header Use your votes!


1 vmware kernel fedora16 fedora-16
Use the 30 daily voting
points that you get!
I am a Linux newbie. Greener than green. Please don't assume I know asked Mar 10 '12
tmurph1810
something. 11 1 1 2 Up-vote well framed
questions that provide
Synopsis I need help finding the path to the kernel header because that's part enough information to
of an installation process for VMware tools. enable people provide
answers.
Background I just installed Fedora 16 (64-bit) on a VMware Workstation VM. I can log in to the desktop
and there are no obvious errors about the general installation. VMware Workstation has a helper Thank your helpers by
application called VMware Tools that runs in the VM -- I installed it on my Fedora 16 VM (I think that the up-voting their comments
install succeeded because the post-install configuration script started). and answers. If a question
you asked has been
The post-install script is asking me for the path to the kernel header; the message I get is: "The path '' is answered, accept the best
not a valid path to the 3.1.0-7.fc16.x86_64 kernel headers. Would you like to change it?" answer by clicking on the
checkbox on the left side of
I used Google and thought that it would be at /usr/include/linux or /usr/include/linux/kernel.h. Neither the answer.
path works. /lib/modules/3.1.0-7.fc16.x86_64 doesn't work either.
Down-voting might cost
you karma, but you should
Any help is appreciated. Thanks!
consider doing so for
incorrect or clearly
add a comment detrimental questions and
answers.

10 answers Sort by oldest newest most voted


Question Tools

Here are the steps necessary to solve this problem: answered May 18 '12 Follow
tsally

3 1. If this is a new install of Fedora, first update all the packages and reboot.
46 3 3
http://www.timsally.com/
3 followers

If you install the kernel-devel package without upgrading the system, subscribe to rss feed
you might get a mismatch between the version of the running kernel and the version of the installed
headers.
Stats
2. Install gcc and kernel-devel packages (I do not believe kernel-headers provides everything Asked: Mar 10 '12
you need). You can now find the kernel headers at /usr/src/kernel/<version>/include .
Seen: 100,128 times

3. Run the VMWare tools installer. Last updated: Dec 24 '13

Some tips: Related questions


Use uname -r to see the version of your running kernel. VMWare Fedora19 kernel headers

Use rpm -qa | grep kernel- to see the versions of the kernel packages you have installed. How do I compile fedora 16 kernel
modules?
I performed these steps on Fedora 16 and it worked for me.
open-vm-tools copy/paste stops
working?
add a comment link
fedora 19: share folder in vmware
player

To build kernel module, the kernel-header package is required and should be answered Mar 10 '12 Broadcom drivers in Fedora 18
Remi

6 enough (it provides /usr/include/linux/kernel.h). 670 6 6 17


http://blog.famillecollet... Does VMware Player run under
There is also a kernel-devel package, but I don't think it is required. fedora 22 workstation?

GNOME 3.4 in Fedora 16


add a comment link
How to get Nvidia gt540M
switchable graphics working?

answered May 2 '13


Heading how to play .avi le [closed]
0

1 sur 3 03/10/2016 12:19


path to kernel header - Ask Fedora: Community... https://ask.fedoraproject.org/en/question/9667/...

scottro
One possibility is a common VMware/Fedora bug. It was fixed for F18 at one 151 3 5 download fedora 16
point, at least, but might be worth a shot

http://home.roadrunner.com/~computertaijutsu/rhvmware.html

Comments link

I am using F17 and this one actually helps me out.


Vicary (Jul 7 '13)

add a comment

answered Jun 6 '13


Khorem

0 1 1

updated Jun 6 '13

Fresh install of Fedora18 in vmware workstation 9.x


---------------------------------------------------
sudo yum install kernel-headers-`uname -r` kernel-devel-`uname -r`
sudo yum install audit
sudo yum install gcc make binutils
sudo reboot
cd vmware-tools-distrib
sudo ./vmware-install.pl
sudo reboot

add a comment link

I just installed VMWare Workstation 10 on ma F19 and I also had to install gcc answered Dec 24 '13
rakotomandimby

0 and kernel-devel. 1

Does someone know what is the compiled module?

add a comment link

Succcess!! answered Mar 10 '12


tmurph1810

0 Thanks first of all to Remi, who gave me the confidence to experiment


11 1 1 2

because I felt like help was out there.

It turns out that the kernel version was 3.1.0-7 and the kernel headers were version 3.2.9-1. I couldn't
find an install package for the down-level kernel headers, so I updated the kernel. Now that the kernal
version is the same as the kernel header version, the VMware Tools configuration program automatically
found the kernel headers (which, for some reason, is in /lib/modules/3.2.9-1.fc16.x86_64/build/include).

Merci beaucoup mon ami!!

add a comment link

If it is required to install an older version, just pass in the direct package name answered Mar 22 '13
gjgfuj

0 to yum like this: yum install kernel-devel-3.6.10-4.fc18.x86_64 Just use


something like that, and adjust your version to fit your application
3

add a comment link

Hello, answered May 2 '13


eacosta

0 I've a similar problem. I'm running the debug kernel


13 5 8 8

(3.8.9-200.fc18.x8664.debug) for a few days and would like to run my VM's as updated May 2 '13
well. I already have the 3.8.9-200.fc18.x8664 installed so I made a copy on
the /usr/src/kernels:

drwxr-xr-x 22 root root 4096 Apr 30 17:38 3.8.9-200.fc18.x86_64

2 sur 3 03/10/2016 12:19


path to kernel header - Ask Fedora: Community... https://ask.fedoraproject.org/en/question/9667/...

drwxr-xr-x 22 root root 4096 May 2 08:01 3.8.9-200.fc18.x86_64.debug

However I still get the vmplayer complain:

image description

I already verified everything else on this thread. Any ideas?

Thank You, Erasmo.

add a comment link

After running "sudo yum install kernel-headers- uname -r kernel- answered Sep 18 '15
walls00000

0 devel- uname -r " and re-running the vmware-install.pl, the vmware-install.pl


auto loaded the kernel header directory, in my case it was '/lib/modules
1

/3.10.0-229.el7.x86_64/build/include'. When it auto-loads the correct directory,


just hit enter and the script finds what it is looking for.

add a comment link

I encountered this problem with RHEL 2.6.32-504.16.2.el6.x86_64. I wanted answered Jun 19 '15
Sciencefreak

0 to make an update from VMware Workstation 10.0.1 to actual 10.0.6 build-


2700073
1

I went to the package menager and looked for a fitting "kernel-devel-xxx" packet, wich I found not being
installed. -You maybe have to activate development and debugging repositories in order to get these
packages listed. After installation of (in my case) "kernel-devel-2.6.32-504.16.2.el6 (x86_64)" everything
worked without any further problems.

add a comment link

Your Answer
Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

about | faq | help | privacy policy | give feedback Ask Fedora is community maintained and Red Hat or Fedora
Powered by Askbot version 0.7.51 Project is not responsible for content. Content on this site is
licensed under a CC-BY-SA 3.0 license.

3 sur 3 03/10/2016 12:19

Você também pode gostar