install kernel-source correctly
hi
I have debian sarge: Code:
# uname -a apt-cache shows me a patch for my kernel: Code:
# apt-cache search kernel-source 1.) do I have this patch already installed on my system ? how can I check it ? and I've done following: Code:
# apt-get install kernel-source-2.6.8 Code:
Makefile.inc:122: *** KERNELCONF: /usr/src/kernel-source-2.6.8/.config does not exist.. Stop. |
Okay a few things...
The patches you see are to turn kernel sources from kernel.org into the debian ones. There little extras to the standard kernels, to either backport stuff, or to add things that don't make it into the official kernels. You've download the source and decompressed it, but it ain't configured. The kernel sources are for compiling your own kernels, Which means the configuring is left up to you. What you needed was the kernel-headers package, which just contains the headers and a configuration file that matches what was used to create the standard Debian kernels. If that doesn't work then you'll need the full kernel-tree, which has everthing. |
thanks,
but should I install: Code:
kernel-headers-2.6.8-2 - Header files related to Linux kernel version 2.6.8 Code:
kernel-headers-2.6.8-2-386 - Linux kernel headers 2.6.8 on 386 |
Which kernel is installed?
uname -r |
# uname -r
2.6.8-2-386 |
# apt-get install linux-headers-`uname -r`
|
I think that wraps that up then :)
|
All times are GMT -5. The time now is 07:22 PM. |