[PlanetCCRMA] Help compiling 2.6 kernel for preemtpion and lowlatency

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue May 11 12:22:02 2004


> I've installed FC2test3 and I'm trying to recompile the kernel
> for lowlatency and preemption, because jack responds with a
> message like:
> this kernel has no capabilities...
> 
> jackstart: cannot get realtime capabilities, current
> capabilities are:
>            =ep cap_setpcap-ep
>     probably running under a kernel with capabilities disabled,
>     a suitable kernel would have printed something like "=eip".
> 
> I recompiled the kernel with the instructions from the
> realtime-lsm patch. So I enabled CONFIG_SECURITY_CAPABILITIES=m.
> Then recompiled the kernel. The kernel recompiles fine and boots
> with no problem. 
> 
> Later on  tried to build the realtimes_lsm as a module, as per
> instructions on the README and INSTALL and it fails.

How?

> Should i wait for the FC2 release and planet kernel for FC2?

Probably. If you want to be on the bleeding edge (ie: the latest latest
release) then you are going to have to work a lot (or maybe not, depends
on your luck :-)

On some tests I did here I got LSM to compile and run and it works fine
(but I built it with the kernel itself, not as a separate package). It
also depends on which kernel you are trying to build it into, I know
2.6.6 needs a newer, yet unreleased, version of LSM as some of the
internals have changed. 

-- Fernando