<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: "Mark Smith" <mark.smith,AT,avcosystems,DOT,co,DOT,uk>
Subject: RE: Cipe on Debian
From: Andreas Stagl <a.stagl,AT,gmx,DOT,at>
Date: Tue, 26 Aug 2003 13:14:32 +0200
Cc: cipe-l,AT,inka,DOT,de
In-reply-to: <000001c36bb8$2e476050$d100010a@lyta>
References: <>

Hi Mark,

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 open questions.

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
compile CIPE.

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 "kernel-source-2.4.18", right?

Well, when I execute "apt-cache policy kernel-source-2.4.18", I get the foloowing result:

  Installed: (none)
  Candidate: 2.4.18-13
  Version Table:
     2.4.18-13 0
        990 http://security.debian.org stable/updates/main Packages
     2.4.18-5 0
        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 package version?

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,


<< | Thread Index | >> ]    [ << | Date Index | >> ]