[PlanetCCRMA] realtime-lsm module with fc2

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Oct 6 18:04:01 2004


On Wed, 2004-10-06 at 17:44, martin rumori wrote:
> hi nando,
> i'm new to this list, since i'm planet ccrma user now.  or, not
> particularly myself but the future users of the small computer pool in
> our institute at university which i am administrating...  i installed
> planetccrma on the first machine now (btw. convinced by your wonderful
> setup at the ccrma@banff lab, took two workshops over there...).

[glad you had a good time there... :-]

> i decided to use fc2 since we don't have hard realtime demands and it
> does not have to work everything right now, but i wanted to avoid
> reinstalling in the near future.
> 
> i am now wondering how to deal with the realtime privileges.  i
> created kind of an audio users group, since it doesn't seem to be
> handled by planetccrma itself, is it?

It is not, at least not yet. 

> the /bootconfig-2.6.7-1.437.1.ll.rhfc2.ccrma/ looks like if there was
> the realtime-lsm already included with the kernel, but a
> 
> modprobe realcap gid=29
> 
> gives me
> 
> FATAL: Error inserting realcap (/lib/modules/2.6.7-1.437.1.ll.rhfc2.ccrma/kernel/security/realcap.ko): Invalid argument
> 
> is this the right module? 

It is the right module, and I think "gid" is the right parameter name.
Are you sure /etc/groups contains group 29? It seems to work for me
here, but the machine I'm testing on is not booting into that particular
kernel. 

> how should the
> realtime-for-mortal-users-issue be handled on fc2/planet?

For now look at the Changelog online and read the entry for 06/18/2004,
in particular the part about the realcap kernel module (initial test
release of the planetcore components). I usually just load it with
"allcaps=1" which simulates the full capabilities patch and enables you
to use jackstart, but it has less "security" than using gid, for
example.

I have not yet packaged the startup script as it should do other things
as well. 

-- Fernando