Disclaimer #1 the 2.6.0-testx series are still under development, i.e. beta - run at your peril
Disclaimer #2 the following steps are what I needed to do to get 2.6.0-test9-mm1 working with gentoo - I cannot vouch for them 100% on other distros, but the gurus can set me straight
if you're going to compile a 2.6.0-test kernel there are a couple of gotchas that you need to be aware of
do the following as su
1. you'll need to add the dirctory /sys
mkdir /sys
2. you'll need to add the file system /dev/pts to your /etc/fstab - use your editor (nano/pico/vi, etc) to add the following
none /dev/pts devpts defaults 0 0
3. ls -l /usr/src to see which kernel source your current linux is symlinked to (if it's not there jump to next step)
4. back up your current kernel .config - type uname -a to discover what kernel you are running now, then cp /usr/src/linux-version/.config /usr/src/linux-version/.configold
5. delete the directory linux
rm -r /usr/src/linux
6. link the new sources to the directory linux
ln -s /usr/src/linux-2.6.0-test-version/ /usr/src/linux
(where -version = the numbers/letters you see)
7. cd into /usr/src/linux and make menuconfig
go through selecting the correct options based on your hardware be careful to enable /dev/pts under filesystems along with whatever fs you use for /, /boot - ext2 ext3 reiser etc
8. save your new config and then "make" it
make clean bzImage modules modules_install (watch tv/read a book)
9. make sure /boot is mounted and then
cp arch/i386/boot/bzImage /boot/bzImage-2.6.0-test (or whatever you call it) - be sure you don't wipe out the current kernel
10. cp System.map /boot/System.map-2.6.0-test
(if you already had a System.map in there then rename it - mv /boot/System.map /boot/System.maporiginal
ln -s System.map-2.6.0-test System.map
11. edit your bootloader (grub or lilo) to add a new entry
12. umount /boot
13. reboot to check out your new kernel
14. once it boots fine without complaints then recompile your nvidia drivers (if you use them) - not sure for ati, but surely similar
Hope that helps
PS - a lot of the "ready-made" distros - mandrake, red hat. etc, don't automatically install the kernel headers - you'll not get far without them if you want a new kernel - they're usually on one of the cds so check there first