[PlanetCCRMA] fc2 new kernel and jack
Fernando Lopez-Lezcano
nando at ccrma.Stanford.EDU
Tue Dec 28 16:26:01 PST 2004
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 at 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 at 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
If it is there check that you have the startup script activated to work
at boot time:
/sbin/chkconfig --list rtload
If it is "on" then check if the module is loaded:
/sbin/lsmod | grep realtime
If it is, then check that it loaded with the proper options (by default
"any=1", meaning any user can access realtime privileges).
/etc/rc.d/init.d/rtload status
Also, jackstart should work but it is better to switch to just "jackd"
when using the realtime module and fc2.
-- Fernando
More information about the PlanetCCRMA
mailing list