Debian :: Finding Kernel Headers Files Difference?

Jul 3, 2009

I usually custom compile my kernel and generate the header files with the following command:


fakeroot make-kpkg --initrd --append-to-version=generic-ide kenrel_image kernel_headers

However, I noticed that there are some difference in the headers files that get generated with the above command as compared to the header files that are available from Debian repo. For example, the header files for 2.6.24 kernel have files like:


debian:/usr/src/linux-headers-2.6.24-etchnhalf.1-686/arch/x86# ls Kconfig Kconfig.cpu Kconfig.debug kernel Makefile Makefile_32 Makefile_32.cpu Makefile_64 However, if I custom compile the above kernel from Debian sources (2.6.24), the headers files does not have the above files:


debain:/usr/src/linux-headers-2.6.24-generic-ide/arch/x86# ls
boot ia32 Kconfig.cpu kernel lib mach-es7000 mach-visws Makefile mm pci vdso xen
crypto Kconfig Kconfig.debug lguest mach-default mach-generic mach-voyager math-emu oprofile power video

As you can see from above output, files like Makefile_32, Makefile_32.cpu are not present, if I generate kernel headers files using the make-kpkg command as mentioned in the beginning of the post. I happened to notice the above issue, while I was trying to compile a out-of-tree kernel module and the "make" command for those sources (some graphics card drm module) worked with the default header files (linux-headers-2.6.24-etchnhalf.1-686) but did not work with (linux-headers-2.6.24-generic-ide) because it did not find the Makefile_32. Although I was able to fix the problem by copying the Makefile_32 from linux-headers-2.6.24-etchnhalf.1-686 but I would like to know why there is a difference. This is bit of a concern because it unnecessarily breaks the out-of-tree module compilation process because of trivial reasons.

View 4 Replies


Red Hat :: Install Ethernet Adapter Driver - Not Finding Kernel-devel Or Kernel-headers

Aug 30, 2010

I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).

I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."

After this, I tried: 'sudo yum install kernel-devel kernel-headers'

To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?

View 5 Replies View Related

Debian :: Automatic Removal Of Kernel Headers Package When Kernel Packages Are Removed

Dec 28, 2008

As a follow-on to something Telemachos said in another post:


Originally Posted by Telemachos

You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:


If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:


I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.

For example, the linux kernels I have installed are:


Also, the linux-headers packages I have installed are:


So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:


I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?

View 3 Replies View Related

Slackware :: What Files Are Contained In Kernel Headers

Mar 11, 2010

I need to know what files are contained in kernel headers and where are they?

Are they the same for each kernel or no?

I need slack kernel headers for kernel

I just need the headers

View 4 Replies View Related

Debian Configuration :: Installing Kernel Headers?

Feb 3, 2010

I'm trying to install vmware server 2 on my lenny and first I must install the kernel headers but I'm having troubels with it.

apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-

I have even tried with apt-get install linux-headers- but same thing Searching apt-cache search linux-headers- shows nothing.

View 7 Replies View Related

Debian Configuration :: New Kernel And Headers Not Allowing NVidia Driver To Install

May 19, 2010

I've built a new kernel (2.6.34) on our workstation at work. It boots and runs beautifully, but there is one minor problem. I created the kernel as a Debian package along with the kernel headers. Upon installing both and attempting to build the nVidia driver for said kernel, the installer tells me that it cannot determine the version and quits. This happens even if I manually specify the path to the headers. What's going on here, did I miss something during my compilation of the new kernel?

View 14 Replies View Related

Debian Configuration :: Module Assistant Can't Find Kernel Headers / Work Around This?

Jul 25, 2010

I'm trying to use module-assistant to add the vboxdrv using instructions also found here in the debian forum. However, m-a can't find the linux-headers because it looks for the package linux-headers-2.6.32-5-trunk-686. I attempted to specify were the headers were by using:
m-a prepare --kernel-dir /usr/src/linux-headers-2.6.32-5-686/
but also doesn't work. Instead, I get the error:
Bad kernel version specification at /usr/bin/m-a line 566.
Anyone knows how to work around this?
By the way, the reason I am doing this is because when I installed virtualbox (following the instructions in debian wiki) there's no vboxdrv. When I try to modprobe it, I get:
FATAL: Module vboxdrv not found.

View 2 Replies View Related

General :: Difference Between Kernel Source Files (RPM And SRPM)

Aug 3, 2010

What is the difference between kernel-source.x.x.x.x.rpm and kernel.x.x.x.src.rpm?

View 2 Replies View Related

CentOS 5 :: Can't Install Kernel-headers Glibc And Glibc-headers?

May 11, 2010

Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :


View 19 Replies View Related

OpenSUSE :: Virtualbox Problems (Error Kernel Headers For Kernel 2.6.34-12-desktop Cannot Be Found At)?

Jan 2, 2011

I'm just installed OpenSuse 11.3 (64) on a 30gb SSD, hoping to get virtualbox 4.0 running to virtualize an instance of Windows 7.I went through some pain with my Nvidia video card and actually getting vb to install, but through lots of searching and tinkering got here.I created a vm in the vb control panel, but when I go to start it I get:

Failed to open a session for the virtual machine Win7Main.
The virtual machine 'Win7Main' has terminated unexpectedly during startup with exit code 1.


View 9 Replies View Related

Ubuntu Installation :: Kernel Headers For Target Kernel Version Could Not Be Found

Oct 20, 2010

I get the following error message trying to install dazuko on xubuntu 10.04: "headers for target kernel version could not be found" But when I run sudo apt-get install linux-headers-$(uname -r), I get the message that I already installed the headers. My current kernel is 2.6.34-020634-generic

How can I install dazuko withouth having this problem??

View 1 Replies View Related

General :: Get The Matching Kernel Headers Automatic On A Regular Kernel Update Via The Ubuntu Packed Manager?

Nov 26, 2010

Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager? Every time I get a new kernel I must do an aptitude install linux-headers-`uname -r`

View 1 Replies View Related

OpenSUSE :: Recent Kernel Update Seems To Have Misplaced The Kernel Headers

Mar 24, 2010

A recent kernel update seems to have misplaced the Kernel Headers. VMWare needs these headers and cannot find them. Attempting to run VMWARE gets the message: Kernel headers for version were not found.

View 4 Replies View Related

Debian Configuration :: Difference Between Kernel Snapshot, Mainline, Stable?

Jul 20, 2011

I've never understood the difference between these terms in

- snapshot
- mainline
- stable
- longterm

It's not in Kernel's FAQ and I can't find about it on Google.

View 2 Replies View Related

Fedora :: Install Kernel Headers - Current Kernel Only

Feb 22, 2010

What's the command for installing kernel headers for the currently installed kernel?

View 2 Replies View Related

Debian :: Finding A Program In Lenny To Convert Swf Files To Mp3 And Ogg

Feb 2, 2010

Is there a program in Debian Lenny to convert swf files to mp3 and ogg?

View 4 Replies View Related

Fedora :: How To Install Kernel Headers

Jul 24, 2009

I've installed Vmware Workstation and tried to run it only to have the following appear;

Kernel Headers

Kernel headers for version were not found. If you installed them in a non-default path you can specify the path below etc.......

I've tried to search and find the kernel headers but can't find them.

View 14 Replies View Related

OpenSUSE :: Kernel-headers For 26.34.7-0.7 Were Not Found

May 4, 2011

Today, on my 11.3 machine. the kernel was updated. When I started my vmware 7 workstation, it came up with a message "kernel-headers for 26.34.7-0.7 were not found. enter an alternative location"

View 3 Replies View Related

OpenSUSE :: Kernel Headers Not Matching / What To Do?

Jun 2, 2011

Just installed OpenSuse 11.4 on a laptop yesterday. Trying to compile VMware player, however my kernel headers are not matching with repo code...

View 9 Replies View Related

Fedora :: Kernel-headers Location ?

Aug 29, 2010

Does anyone know the kernel-headers location, or how to determine that location, in Fedora 13? I'm installing vmware-tools and it's prompting for it. /usr/include/ and /usr/include/linux/ were revealed to have many header files, as shown by doing rpm -ql kernel-headers

However the installer rejected these locations. My only guess as to why is because they're not where the currently-running kernel has them. I also tried /usr/src/kernels/(kernelversion).fc13.i686/include/ with no luck...

View 3 Replies View Related

CentOS 5 :: How To Downgrade Kernel-headers

May 17, 2009

I've upgrade the kernel from '2.6.18-128.el5' to '2.6.18-128.1.10.el5':

yum install kernel
yum install kernel-devel
yum install kernel-headers
yum install kernel-doc

But the system run into problem with WLAN, and I've search in this site and sombody posted in here: [URL] It's almost the same, the different is the card I use is TP-LINK. Then I decided to remove the newly installed kernel:


View 5 Replies View Related

Ubuntu :: Difference Between Kernel 'source Code' And Kernel Itself

Jul 3, 2011

It sounds like he's making a difference between the kernel "source code" and the kernel itself(as in the downloaded file/ files) but the way he talks about both is the same.So then, if one had already "installed" the "kernel sources code," why would he need the "tarball with the newest Linux kernel?" He's already "installed" a kernel, right?

View 3 Replies View Related

Fedora :: Kernel Headers

Oct 7, 2009

Where do I obtain this? I have the i586 kernel and I need the i686 kernel to run VMware. I beleive this may be the pottential reason virtualbox wasn't working too.

View 13 Replies View Related

Fedora :: Yum Is Only Offering Kernel-headers For

Feb 13, 2011

where you only get offered the kernel-headers for by yum but not the kernel or the kernel-devel? I tried yum clean all and both pointing to the baseurl and mirrorlist and it does the same thing for both. Oddly my other laptop with F14 in the wireless cafe showed all three packages were available.

View 2 Replies View Related

OpenSUSE :: How To Find And Install Kernel Headers

Mar 18, 2011

Search the forums first. Well I did, can't find anything I understand.
So please help an ignoramus in simple terms.
The problem:-
I'm trying to run vmware workstation and I get a desktop box pop up which says "Kernel .heade4s for version desktop not found"
How do I find them and install please.

View 9 Replies View Related

OpenSUSE Install :: Where To Get System-kernel-headers For 11.3?

Jul 30, 2010

Can anyone point me to a source for linux-kernel-headers. for kernel 2.6.34-12
I can't find it in the normal repositories and need it for installing vmware 6.0.4

View 9 Replies View Related

Ubuntu :: 9.10 - Kernel Upgraded - But Won't Install Headers ?

Aug 23, 2010

I'd like to upgrade a live ISO file before burning a new CD.

So, following the instructions in "How to Customise the Ubuntu Desktop CD", I chrooted to the squashfs and ran "apt-get update/upgrade/dist-upgrade", expecting apt-get to upgrade the chroot kernel... only to find out that apparently, even when being chrooted, this command upgrades the actual kernel. I guess it makes sense, but I was under the - wrong - impression that chroot would build a filesystem totally isolated from the underneath host.

So I rebooted to use this new kernel:

Next, since the Nouveau video driver requires the kernel header files, I ran the following:


I don't understand why apt-get upgrades the kernel but won't install its header files.

View 2 Replies View Related

Software :: Can't Update To The Most Recent Kernel/Headers?

Mar 2, 2011

Having ubuntu 8.04, when I updated my computer to the latest kernel and headers through Update Manager, an error popped up. The error stated that it wouldn't update at this time. When I tried to download again, the update was gone in Update Manager. I checked and I don't have the most recent kernel installed. I still have 2.6.24-19. Accrding to [URL]the most recent one is: 2.6.27.

View 14 Replies View Related

Software :: Missing Kernel Headers For Backtrack 3?

Oct 27, 2010

I was trying to compile the driver for my wireless device and stumbled upon the 'missing kernel headers' error. Found the kernel header somewhere on the internet, named kernel.lzm. If I boot Backtrack 3 directly from the cd and not installing it, how do I use the kernel header? Do I need to install it, place it somewhere or just load it?

View 5 Replies View Related

Slackware :: Make The Kernel-headers With Src2pkg?

Jun 25, 2010

Im trying to make a sort of slackware using LFS.In the first chapter I have to make the kernel-headers this way :

make mrproper
make headers_check
make INSTALL_HDR_PATH=dest headers_install
cp -rv dest/include/* /usr/include

Can I do these steps also with using a the source and src2pkg ?

View 6 Replies View Related

Copyrights 2005-15, All rights reserved