"Mark Smith" <mark.smith,AT,avcosystems,DOT,co,DOT,uk>|
RE: Cipe on Debian|
Andreas Stagl <a.stagl,AT,gmx,DOT,at>|
Tue, 26 Aug 2003 13:14:32 +0200|
first, I want to thank you a lot for this detailed explanation.
But due to the fact that I'm still pretty new to linux, I've still some
Just for info: "uname -r" provides the following info...
Linux debian001 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown
At 10:55 26.08.2003 +0100, Mark Smith wrote:
For a stock kernel, you do need the matching kernel source before you can
Since I still have the unchainged/unpached 2.4.18-bf2.4 kernel from the
debian 3.0r1 installation running on my system and I cannot find a
dedicated "bf2.4" kernel-source, I guess I have to take the standard
Well, when I execute "apt-cache policy kernel-source-2.4.18", I get the
990 http://security.debian.org stable/updates/main Packages
990 ftp://ftp.at.debian.org stable/main Packages
So, which one should I take... 2.4.18-13 or 2.4.18-5.... and anyhow, how
can I find out which "minor-version" (like 5 or 13 in this example) is
running on my sytem?
And how shall I download the package... using "apt-get source" or "apt-get
install". I'm asking this, because "apt-get install" would also install
some still not installed packages like binutils, bzip2 and so on.
But you nowhere mention the kernel-header-package (for me:
"kernel-headers-2.4.18-bf2.4") or the general kernel-packaging package
"kernel-package"... does this mean, I dont need them?
Unpack the kernel source...
Do you have any suggestion, where I shall put the sources? Can't I directly
put them into /usr/src/linux?
...and add a symbolic link so that /usr/src/linux
points to the correct source tree for the kernel you are compiling for.
This doesn't necessarily need to be the currently running kernel, but will
be the version CIPE will be compiled against. Others may point out that you
don't need to do this, but it makes life marginally easier than specifying
the location - I didn't do that, so I won't include it here. This is
intended for beginners needing to compile CIPE.
Sorry for asking this, but how do I add a symbolic link?!?
Once you have this, you need two pieces of information, which the kernel
package should have supplied. One is the kernel config, usually found in
/boot as config-<flavour>, for example, "config-2.4.18-1-686".
Okay, I have a "config-2.4.18-bf2.4"
The other is
the kernel version and package version.
Hmmm... kernel version? Do you mean 2.4.18 or the "minor-version" behind
the minus (and if so, how can I find this out)? But how can I find out the
I guess I'll stop here with my question, because as long as I don't know
which kernel-source I have to download, I can anyhow not go further.
Many thanks in advance & best regards,