[PlanetCCRMA] realtime-lsm in Planetedge?

Kevin Ernste kevine@esm.rochester.edu
Sun Oct 10 11:54:03 2004


My appologies for being unclear.

I am not running S7 here but R9 (one build back) and the realcap
module loads for me maually:

[kevine@orpheus kevine]$ /sbin/modprobe realcap allcaps=1 gid=501
[kevine@orpheus kevine]$ /sbin/lsmod  | grep real
realcap                 4368  0
commoncap         5120  1 realcap

Fernando has his usual excellent information in the changelog for
Fedora2 on the init.d script I referred to, but just to be clear, it
is not there by default but can be downloaded here:

http://ccrma.stanford.edu/planetccrma/root/etc/rc.d/init.d/realcap

You can also edit REALCAP_OPTS to add the "gid" tag.  Once you save
this to /etc/initi.d you can add it to your services with:

/sbin/chkconfig --add realcap

Then realcap can be loaded and unloaded with:

/sbin/service realcap start
/sbin/service realcap stop

...or it can be set to load at boot by toggling it on in your fedora services.

I hope this helps.

Best,

Kevin

On Sun, 10 Oct 2004 11:06:26 -0700, Mark Knecht <markknecht@gmail.com> wrote:
> 
> 
> On Sun, 10 Oct 2004 13:02:56 -0400, Kevin Ernste <kevinernste@gmail.com> wrote:
> > Hi Mark -
> >
> > Things are running well here out on the edge.  I believe you just need
> > "realcap" instead of "realtime".  There is also an init.d script
> > "realcap" for loading at boot, perhaps you have already been using it.
> >
> > Kevin
> >
> >
> >
> > On Sun, 10 Oct 2004 07:23:18 -0700, Mark Knecht <markknecht@gmail.com> wrote:
> > > Fernando, Steve, or anyone else using Planetedge,
> > >    Is the realtime-lsm module included in this set of kernels? I do
> > > not seem to be able to modprobe it. I guess it's not there?
> > >
> > > [root@Godzilla root]# modprobe realtime gid=501 allcaps=1
> > > FATAL: Module realtime not found.
> > > [root@Godzilla root]#
> > >
> > >    Planetedge is working with the HDSP9652, at least as root. The HDSP
> > > driver will apparently not allow -p settings less than 64 so I cannot
> > > go as far as I did with the ATI sound chip in my laptop right now.
> > >
> > > [mark@Godzilla mark]$ uname -a
> > > Linux Godzilla 2.6.8.1-1.520.1vS7.ll.rhfc2.ccrmasmp #1 SMP Mon Sep 27
> > > 20:18:28 PDT 2004 i686 athlon i386 GNU/Linux
> > >
> > >    I'll likely build my own kernel thismorning.
> > >
> > > Happy Sunday to you all,
> > > Mark
> > >
> > > _______________________________________________
> > > PlanetCCRMA mailing list
> > > PlanetCCRMA@ccrma.stanford.edu
> > > http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
> > >
> >
> 
> I'm running what I think is the newest Planetedge kernel. DId I pick
> the wrong one? I cannot start jackstart or jackd -R:
> 
> [mark@Godzilla mark]$ uname -a
> Linux Godzilla 2.6.8.1-1.520.1vS7.ll.rhfc2.ccrma #1 Mon Sep 27
> 19:44:47 PDT 2004  i686 athlon i386 GNU/Linux
> [mark@Godzilla mark]$ jackstart -dalsa -dhw:0
> 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"
> [mark@Godzilla mark]$ jackd -R -dalsa -dhw:0
> jackd 0.99.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
> 
> JACK compiled with System V SHM support
> cannot lock down memory for jackd (Cannot allocate memory)
> loading driver ..
> creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
> control device hw:0
> configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
> 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
> [mark@Godzilla mark]$
> 
> I do not have realtime or realcap in /etc/init.d...
> 
> [mark@Godzilla mark]$ ls /etc/init.d/re*
> /etc/init.d/readahead  /etc/init.d/readahead_early
> [mark@Godzilla mark]$
> 
> My understanding of the realtime capabilities patch on 2.6.8 kernels
> is that it is a module that is modprobed. I'm built it in and am using
> it on my Gentoo kernel, but it was a kernel patch.
> 
> I'm confused, but thanks for your help.
> 
> - Mark
> 
> I cannot find that here. Maybe
>