El Jue 04 Ene 2007 23:04, Lee Revell escribió:
> On Thu, 2007-01-04 at 19:00 +0100, Marcos Guglielmetti wrote:
> > Hi,
> >
> > With Tapsa, a finnish kernel hacker, we are testing some kernels that he
> > is building and uploading here for the Musix GNU/Linux distribution:
> >
> > http://linux.ilmainen.net/musix/temp/
> >
> > We have problems using these kernels from a non-root user: JACK has no
> > realtime capabilities. From a root user, all went ok. But, of course, we
> > need to use JACK as non-root user.
> >
> > "# modprobe realcap
> > FATAL: Error inserting realcap
> > (/lib/modules/2.6.20-rc2-rt3/kernel/security/realcap.ko): Invalid
> > argument"
> >
> > ¿?
> >
> > "There don't even seem to be any capability module existing any more
> > (only following beginning with "cap"):
> > # modprobe cap
> > capi capidrv capifs capmode
>
> Not sure why you think that capabilities have anything to do with JACK
> on a modern system - that went out with 2.4.
>
> Just use a PAM version newer than 0.79 and configure the required limits
> in /etc/security/limits.conf. It's well documented in the archives of
> this list, LAD, and LAU.
>
> If you can't use a recent PAM, apply the realtime LSM patch to the
> kernel.
>
> Lee
Hi, thanks, I think that my system is ok with PAM:
/etc/security/limits.conf
@audio - rt_priority 100
@audio - nice -10
@audio - memlock 4000000
And my normal user "marcos" is into the audio group
And PAM is installed:
apt-cache policy libpam-modules
libpam-modules:
Instalados: 0.79-4
Candidato: 0.79-4
Tabla de versión:
*** 0.79-4 0
500 ftp://ftp.fr.debian.org unstable/main Packages
990 ftp://ftp.fr.debian.org testing/main Packages
100 /var/lib/dpkg/status
apt-cache policy libpam-runtime
libpam-runtime:
Instalados: 0.79-4
Candidato: 0.79-4
Tabla de versión:
*** 0.79-4 0
500 ftp://ftp.fr.debian.org unstable/main Packages
990 ftp://ftp.fr.debian.org testing/main Packages
100 /var/lib/dpkg/status
So: why JACK doesn't get realtime capabilities without the realtime-lsm module
builded into these (http://linux.ilmainen.net/musix/temp/) kernels?
--
Marcos Guglielmetti
* Director del desarrollo de Musix GNU+Linux, 100% Software Libre
* CD Donwload: (http://www.musix.org.ar/en/)
* Videos, programas y otras cosas en: ftp://musix.ourproject.org/pub/musix/
* Reporte de errores a:
https://www.musix.org.ar/wiki/index.php?title=Problemas-Bugs
*IRC: #musix channel on freenode
* Torrent Download:
https://e.ututo.org.ar/utiles/torrent/MusixGNU-Linux0.59.iso.torrent
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user