su apt-get install fakeroot build-essential bzip2 kernel-package zlib1g-dev linux-source-2.6.26 cd /usr/src/ tar xjf /usr/src/linux-source-2.6.26.tar.bz2 ln -s linux-source-2.6.26 linux cd linux wget http://www.atoptool.nl/download/atoppatch-kernel-2.6.26.tar.gz tar xzf atoppatch-kernel-2.6.26.tar.gz patch -p1 < ./atoppatch-kernel-2.6.26/01patch-2.6.26_atopcnt patch -p1 < ./atoppatch-kernel-2.6.26/02patch-2.6.26_atopacct cp /boot/config-`uname -r` .config make oldconfig make-kpkg clean fakeroot make-kpkg --initrd --append-to-version "-patch-atop" kernel_image kernel_headers
Discussion