[linux-audio-user] Realtime as User SuSE 9.3 (64bit)

Rui Nuno Capela rncbc at rncbc.org
Mon May 23 04:57:25 EDT 2005

> I note that SUSE have included the Capability LSM in their kernel as I
> get "linux kernel: Capability LSM initialized" in the log file, but I
> don't know whether this means:
>   - the realtime functionality just needs to be configured
>   - I need to build and install a separate realtime module, or
>   - I need to build or otherwise obtain a kernel specifically built
>     for realtime support
> If at all possible, I'd like to do it without rebuilding the kernel
> myself, but if I need to, I would be so grateful to hear from someone
> who's already succeeded with this on SuSE 9.3.

I have SuSE 9.3 here on my P4/HT desktop box, which is running tagged kernel. The way to go is installing kernel-source
package and apply the realtime-lsm patch to the kernel source tree. The
patch is here:

Just (re)build and install the patched kernel, but take special care to
set the following, while on kernel configuration:


To load the realtime module at init, I added the following lines to

# Realtime LSM name.
# Realtime group name.
# Realtime LSM capabilities enabling module.
  RTGID=`cat /etc/group | grep "^${RTGRP}:" | awk -F: '{print $3}'`
  if [ -n "`modprobe -l ${RTLSM}`" ]; then
      /sbin/modprobe ${RTLSM} gid=${RTGID} mlock=1

Which boils down to this literal one, if you prefer the "hackish"-way :)

  /sbin/modprobe realtime gid=17 mlock=1

Good luck.
rncbc aka Rui Nuno Capela
rncbc at rncbc.org

More information about the Linux-audio-user mailing list