Document Actions
Prerequisites
Prequisites for building a vanilla kernel and patch it.
This is a hands on tutorial to set up a low latency kernel for linux under Debian. It is a work in progress and will change over time and also a kind of documentation for our CUBEmixer installation in bigger systems.
Page
2
of
7.
Install following packages:
sudo aptitude install build-essential fakeroot kernel-package libqt3-mt-dev devscripts debhelper dpkg-dev gnupg ncurses-dev
Now add yourself to the src group:
sudo adduser $USER src
logout and login again to get in effect, change into the '/usr/src' directory and download the needed vanilla kernel from kernel repository eg, version 2.6 kernels and check its vality:
cd /usr/src wget <URL to kernel repository>/linux-<VERSION>.tar.bz2 wget <URL to kernel repository>/linux-<VERSION>.tar.bz2.sign gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 0x517D0F0E gpg --verify linux-<VERSION>.tar.bz2.sign
If there is no error you can unpack it and clean it from .config with the mrproper target:
tar xvfj linux-<VERSION>.tar.bz2 test -h linux && rm linux ln -s linux-<VERSION> linux cd linux make mrproper
If there is a problem with compilation of the kernel, optionally you can add the repository of the kernel archive to get an up to date linux-libc-dev. Therefore add this to your /etc/pat/sources.list.d/kernel.list
deb http://kernel-archive.buildserver.net/debian-kernel trunk main
and install:
su -c "wget -q -O - http://kernel-archive.buildserver.net/key-2009 | apt-key add -" sudo aptitude update sudo aptitude install linux-libc-dev

