apt-get install linux-source-2.6.31
apt-get install build-essential
cd /usr/src
rm -rf linux-source-2.6.31
tar -jxf linux-source-2.6.31.tar.bz2
wget http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.6-2.6.31.2.patch
wget http://www.tuxonice.net/downloads/all/current-tuxonice-for-2.6.31.patch-20091009-v1.bz2
cd linux-source-2.6.31
patch -p1 < ../fbcondecor-0.9.6-2.6.31.2.patch
bzip2 -d -c ../current-tuxonice-for-2.6.31.patch-20091009-v1.bz2 | patch -p1
make xconfig
make-kpkg clean
CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN || echo 1` make-kpkg --initrd --append_to_version=-tuxonice-fbcon --revision=`date "+%s"` kernel_source kernel_headers kernel_image modules_clean modules_image < /dev/null
The full list of packages is available at http://jeandamiendurand.free.fr/debian/kernel
Packages has been uploaded to:
deb http://jeandamiendurand.free.fr/debian/kernel sid main
deb-src http://jeandamiendurand.free.fr/debian/kernel sid main
If you are going to use
uvesa graphic driver, then you must also install the v86d userspace helper. You can take it from the official repositories or (older version) here:
## v86d executable
deb http://jeandamiendurand.free.fr/debian/v86d sid contrib
deb-src http://jeandamiendurand.free.fr/debian/v86d sid contrib
The "uname -a" output is now:
on i386:
Linux jddhome01 2.6.31-tuxonice-fbcon #1 SMP PREEMPT Mon Oct 26 21:33:44 CET 2009 i686 GNU/Linux
Full config is
here for i386.
27-OCT-2009: Update with debian kernel 2.6.31-1