[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-image and kernel-sourc question



Hello

Eric Dickner (<ejdickner@yahoo.com>) wrote:

> For the 2.4.27 kernel there are a variety of
> sub-releases, such as kernel-image-2.4.27-1-686 that
> match up with header packages.
> 
> Where is the source that these are compiled from?
> There is only a generic kernel-source-2.4.27 package
> available.

All the images are compiled from the same source package. Only the
configuration is different.

> And if I am interested in using the source 
> I am forced to use the generic kernel-header-2.4.27
> package, correct?

No, you need to use the kernel-source-2.4.27 package. If you want to
compile external drivers, you need the matching headers (e.g.
kernel-headers-2.4.27-1-686) or the source code, which needs to be
configured according to your current kernel. This includes setting
EXTRAVERSION=-1-686 in the MAKEFILE, copying the config from /boot
to /usr/src/kernel-source-2.4.27/.config, and running

make clean oldconfig dep

best regards
 Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html



Reply to: