[linux-audio-user] Re:Compiling!

derek holzer derek at x-i.net
Sun Dec 28 15:01:40 EST 2003


Hi Carlos

This first error means that you didn't compile your kernel with 
capabilities. It is a two-line patch, and you can find out about it here:

http://jackit.sourceforge.net/docs/faq.php#q5

Jack is probably choking becuase you are asking it to run as realtime 
without this capabilties patch. Running as root would avoid the problem 
as well. Also, if you run Jack as root, it writes a temporary file in 
/dev/shm [i think.... can somebody verify?] which prevents subsequent 
use by a user [permissions error to write to the same file]. deleting 
the file or rebooting will avoid this problem.

but better to recompile with capabilities and avoid all these funny 
little things ;-)

good luck,
D.



Carlos Santos wrote:
> Ok!
> I've tried it...
> 
> But, having everything up and running and installed by default, I don't
> understand why the GUI interface for JACK retrunes me this error:
> 
> 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"
> 
> ***********************************************************************
> 
> Then, instead of using "jackstart" on Server Path, I tried to use
> "jackd". The return error was:
> 
> 19:08:53 JACK was started with PID=12230 (0x2fc6).
> JACK compiled with System V SHM support
> cannot get existing shm segment for /jack-shm-registry (Permission
> denied)
> cannot create engine
> jack main caught signal 15
> cannot remove JACK shm directory (Permission denied)
> cannot remove JACK directory (Operation not permitted)
> jackd 0.75.0
> 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
> 
> cannot remove JACK shm directory (Permission denied)
> cannot remove JACK directory (Operation not permitted)
> jackd 0.75.0
> 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
> 
> 19:08:53 JACK was stopped successfully.
> 
> *****************************************************************************
> 
> Is this version of JACK supposed to be started as ROOT??
> This means that I must SU first and then start Ardour...
> And if I do it, JACK starts but Ardour shuts down with the error:
> 
> Ardour/GTK 0.377.1 running with libardour 0.685.0
> Loading UI configuration file /etc/ardour/ardour_ui.rc
> Loading system configuration file /etc/ardour/ardour_system.rc
> Loading user configuration file /etc/ardour/ardour.rc
> liblrdf: error -  - file '/root/.ardour//sfdb' open failed - No such
> file or directory
> 12520: received signal 11
> ardour is killing itself for a clean exit
> Killed
> 
> 
> :-(
> Carlos
> 
> On Sun, 2003-12-28 at 18:05, Austin Acton wrote:
> 
>>On Sun, 2003-12-28 at 12:46, Carlos Santos wrote:
>>
>>>However, using Mandrake 9.2, I've updated autoconf to 2.5 and it worked
>>>fine! Remember that you must install JACK server first!
>>>However, I'm having problems using Ardour... when I run jackd and then
>>>run Ardour the application starts normally... After making some work it
>>>just goes down because JACK server crashes and abort.
>>
>>Why aren't you using the rpm of ardour that comes with Mandrake 9.2?
>>
>>No need to compile, it installs jackd for you, and runs qjackctl
>>automatically when you start ardour...
>>
>>Austin
> 
> 


-- 
derek holzer ::: http://www.umatic.nl
---Oblique Strategy # 152:
"Tape your mouth"




More information about the Linux-audio-user mailing list