[LAU] How to build or from where to get a Low-Latency-Kernel Source

Atte André Jensen atte.jensen at gmail.com
Tue Apr 15 02:32:41 EDT 2008

CC-Band wrote:

> i want to get a low-latency-kernel-source to mod it like i want.
> what do i need (which source / which patches / which version / which config) 
> or where can i get a kernel-source where low-latency is implemented?

Assuming you have a running linux system and you know how to compile a 
kernel here's what you could do:

1) Get the latest patch here (put it in /usr/src/): 
I'd go for 

2) Get the matching kernel source (so for the above patch you need at kernel.org and put it in /usr/src/. Also make a symlink 
from /usr/src/linux to your source

3) Apply the patch with:
cd /usr/src/linux
patch --dry-run -p1 < ../patch-
The above command (with --dry-run) doesn't apply anything, just reports 
what will be done. So if you don't get any errors (and you shouldn't) 
you run it again without "--dry-run":
patch -p1 < ../patch-

4) Copy the latest working .config into /usr/src/linux, on debian/ubuntu 
it can be found in /boot/config-KERNEL-VERSION.

5) Configure your kernel with "make gconfig" (that's what I prefer). It 
needs some gtk-devel packages installed, I always forget which, but 
google knows.

6) Compile + reboot + make music :-)

peace, love & harmony

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

More information about the Linux-audio-user mailing list