[PlanetCCRMA] fc2 new kernel and jack

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue Dec 28 18:08:01 2004


On Tue, 2004-12-28 at 17:54, Brad Fuller wrote:
> Lucio Ribeiro Gomes wrote:
> 
> >Em Ter, 2004-12-28 às 22:25, Fernando Lopez-Lezcano escreveu:
> >  
> >
> >>On Tue, 2004-12-28 at 16:10, Lucio Ribeiro Gomes wrote:
> >>    
> >>
> >>>I've just installed the new kernel in FC2 and I can't get jack to work. 
> >>>
> >>>[lucio@hendrix lucio]$ uname -a
> >>>Linux hendrix.localdomain 2.6.9-2.2.rdt.rhfc2.ccrma #1 Tue Dec 28
> >>>02:56:57 EST 2004 i686 athlon i386 GNU/Linux
> >>>
> >>>
> >>>[lucio@hendrix lucio]$ jackstart -R -d alsa -d hw -r 44100
> >>>jackstart: cannot get realtime capabilities, current capabilities are:
> >>>           =ep cap_setpcap-e
> >>>    probably running under a kernel with capabilities disabled,
> >>>    a suitable kernel would have printed something like "=eip"
> >>> 
> >>>back from read, ret = 1 errno == Success
> >>>jackstart: could not give capabilities: Operation not permitted
> >>>jackd 0.99.36
> >>>Copyright 2001-2003 Paul Davis and others.
> >>>jackd comes with ABSOLUTELY NO WARRANTY
> >>>This is free software, and you are welcome to redistribute it
> >>>under certain conditions; see the file COPYING for details
> >>> 
> >>>JACK compiled with System V SHM support.
> >>>cannot lock down memory for jackd (Cannot allocate memory)
> >>>loading driver ..
> >>>apparent rate = 44100
> >>>creating alsa driver ... hw|hw|1024|2|44100|0|0|nomon|swmeter|-|32bit
> >>>configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
> >>>nperiods = 2 for capture
> >>>nperiods = 2 for playback
> >>>JACK: unable to mlock() port buffers: Cannot allocate memory
> >>>jack_create_thread: error -1 switching current thread to rt for
> >>>inheritance: Unknown error 4294967295
> >>>cannot start watchdog thread
> >>>cannot load driver module alsa
> >>>Falha de segmentação
> >>>      
> >>>
> >>It looks like you don't have the realtime module loaded. Strange as it
> >>should have been installed and configured. Check that you have the
> >>"rtload" package installed:
> >>
> >>  rpm -q rtload
> >>    
> >>
> I have jackd running fine with the 2.6.7-1.437.1.11.rhfc2.ccrma kernel.
> But rpm -q rtload comes back as not installed.
> 
> Why?

That is part of the latest set of core packages (installed when you
upgrade to the latest planetccrma-core-* package). It is not necessary
when running very old kernels like the one you have. It is only required
when running the latest kernel (just released). 

-- Fernando