I or my Debian I recompiled the kernel, is to optimize, both to insert the patch Kolivas. This is mine:
uname-a
Linux Debian 2.6.22-ck1-edmondk # 1 SMP Tue Aug 21 18:58:10 CEST 2007 i686 GNU / Linux
Begin to install, if not already done a bit of stuff
apt-get install build-essential bin86 kernel-package libncurses5 libncurses5-dev fakeroot module-init-tools
Then go here and download the kernel 2.6.22 and 2.6.22.6 not, since the patch will always apply to the basic version of the kernel. Also download them from here patch Kolivas. Then we start the operation. Since it is not recommended to recompile the kernel as root, we add our user group src
# Adduser src edmond
Then login again, so it really is part of the src to control a simple command
Groups
we copy the kernel in / usr / src
$ Cp linux-2.6.22.tar.bz2 / usr / src
we copy the patch always in / usr / src
$ Cp patch-2.6.22-ck1.bz2 / usr / src
let's move on
$ Cd / usr / src
unpack
Linux-2.6.22.tar.bz2 $ tar jxf
create a symbolic link named linux
$ Ln-sf linux-2.6.22 linux
then
$ Cd linux
now we must apply the patch Kolivas
bzcat ../patch-2.6.22.1.bz2 | patch-p1
then
make menuconfig
The first thing I did was to go under Processor type and features Asthe the kernel even if it brings in the name extension-i686, is optimized in a generic fashion. Then the voice I chose Processor family 2/newer Core Xeon (Pentium brought me if I'm not mistaken).
Then save
make-kpkg --initrd --append_to_version -edmond kernel_image kernel_headers
instead of Edmond put your initials
When the compilation is over in / usr / src find packages
cd ..
ls
linux-headers-2.6.22-ck1-edmondk_2.6.22-ck1-edmondk-10.00.Custom_i386.deb linux-image-2.6.22-ck1-edmondk_2.6.22-ck1-edmondk-10.00.Custom_i386.deb
install the packages with
dpkg-i linux-headers-2.6.22-ck1-edmondk_2.6.22-ck1-edmondk-10.00.Custom_i386.deb linux-image-2.6.22-ck1-edmondk_2.6.22-ck1-edmondk-10.00.Custom_i386.deb
At this point the new kernel is installed, reboot and cross your fingers ehheeheh.
Post similar (or almost):
- kernel.org This is the official website of the Linux kernel, ...
- Streamline the kernel reported what I experienced, hack into the kernel. Qua ...
- What distro are you? If someone shows you a distro, and you want ...
- WG111v3 wireless USB and Linux I have a couple of keys between wireless ...
















September 24th, 2007 at 21:14
[...] What I've experienced, hack into the kernel. Here we saw how to recompile the kernel, but now we see how to streamline a bit, and make [...]
March 19th, 2009 at 14:55
[...] Are 2 roads. The first is to recompile the kernel with the usual method, described here. Once given the command make menuconfig, go under Device Drivers> Network device [...]