Click to See Complete Forum and Search --> : slack9 kernel 2.4.20 gentoo patches


hyp_spec
07-16-2003, 11:45 PM
ew steps to get gentoo-kernel up & running...
====================================

1. Collect ingredients

I presume you have already original kernel source unpacked and that /usr/src/linux points to that directory.

Download latest gentoo patch for your kernel version. At the time of writing, for 2.4.20 kernel, it will be this tarball:
http://ftp.gentoo.skynet.be/pub/gentoo/distfiles/patches-2.4.20-gentoo-r5.tar.bz2

Unpack it to /usr/src. You should know have /usr/src/2.4.20-gentoo-r5 directory.

2. Choose what you need

Gentoo patch in fact isn't a one big patch. It's a bunch of small patches, many of which cannot be applied together. You have to choose some of them by deleting the others. Here is a list of confliting patches with the prefixes/suffixes of files you need to delete.

Example: To choose RMAP go into /usr/src/2.4.20-gentoo-r5 and delete *.aavm.

Memory subsystem:
RMAP (*.aavm) / AAVM (*.rmap)

Compiler:
GCC-2.x.x (*gcc*)

EVMS:
EVMS-1.2.1 (2*) / EVMS-2.0.1 (1*)

Crypto:
No_Crypt (6* 8*) / USAGI (8* *.ipv6) / Superfreeswan (6*)


3. Add patches

After you deleted conflicting patches you can apply the rest. To do this you need to enter /usr/src/2.4.20-gentoo-r5 and run "addpatches" script. It assumes your patch directory is current directory, and your kernel directory is /usr/src/linux.

Usage: addpatches sourcedir patchdir

4. Finish

At this moment you should have perfectly patched kernel. Go configure it, compile it and enjoy it.


So I do as it says and I keep getting errors it always get an error after one of those _ck patches how can I fix this? Because i really awnt that low-latency/premptible kernel!

Darkbolt
07-17-2003, 03:51 AM
why not try the wolk kernel, which has those options aswell i believe

wolk.sf.net