apt-get install linux-source-2.6.25
apt-get install build-essential
cd /usr/src
tar -jxf linux-source-2.6.25.tar.bz2
wget http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.4-2.6.25-rc6.patch
wget http://www.tuxonice.net/downloads/all/tuxonice-3.0-rc7-for-2.6.25.patch.bz2
cd linux-source-2.6.25
patch -p1 < ../fbcondecor-0.9.4-2.6.25-rc6.patch
bzip2 -d -c ../tuxonice-3.0-rc7-for-2.6.25.patch.bz2 | patch -p1
make xconfig
make-kpkg clean
make-kpkg --initrd --append_to_version=-tuxonice-fbcon --revision=`date "+%s"` kernel_source kernel_headers kernel_image modules_clean modules_image
The full list of packages is available at http://jeandamiendurand.free.fr/debian/kernel
Please note that I built all the ralink modules family using the cvs snapshots that are at
the rt2x00 download page.
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 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.25-tuxonice-fbcon #1 SMP PREEMPT Mon May 12 23:30:59 CEST 2008 i686 GNU/Linux
on amd64:
Linux pcelois 2.6.25-tuxonice-fbcon #1 SMP PREEMPT Sat May 17 22:29:31 CEST 2008 x86_64 GNU/Linux
My full config is
here for i386, and
here for amd64.
EDIT: two bugs into the make-kpkg command (c.f.
#475029):
- prevents the file Makefile_32.cpu to be in the linux-headers-2.6.25* packages. Please copy yourself Makefile_32.cpu to /usr/src/linux-headers-2.6.25-tuxonice-fbcon/arch/x86/Makefile_32.cpu.
- wrongly sets the asm symlink: Please replace the link /usr/src/linux-headers-2.6.25-tuxonice-fbcon/include/asm -> asm-{i386,amd64} to point to -> asm_x86.
EDIT: Fixed with a local manual patch to make-kpkg as per
this patch