It is quite simple, take this config file which is the default distro config: http://esc69.midphase.com/~moiress/good_config (compiles most everything as modules, if you don't want the compile to take forever you might want to change the config to only include what is absolutely necessary to boot your system)
Then: 1) Download: http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.9.tar.bz2 2) tar xvjf linux-2.6.22.9.tar.bz2 3) cd linux-2.6.22.9 4) copy the previously mentioned config file here, be sure it is named .config! 5) make oldconfig 6) make 7) make install 8) sudo update-initramfs -k kernelversion -c -v 9) sudo update-grub 10) edit /boot/grub/menu.lst and add initrd line below kernel line for the kernel you just compiled and installed 11) reboot and enjoy!