[linux-audio-user] Can't load realtime-lsm module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Trying to get Jack running with a 2.6.5 kernel.

# modprobe -v realtime gid=102 allcaps=1
insmod /lib/modules/2.6.5/extra/realtime.ko gid=102 allcaps=1
FATAL: Error inserting realtime (/lib/modules/2.6.5/extra/realtime.ko):
Invalid argument

Kernel was built with:

CONFIG_PREEMPT=y
CONFIG_SECURITY_CAPABILITIES=m
CONFIG_SECURITY=y
CONFIG_SECURITY_CAPABILITIES=m
CONFIG_SECURITY_SELINUX=y

When building LSM, I wasn't able de run make as a user :

$ make
CONFIG_SECURITY_CAPABILITIES=m
make modules -C /usr/src/linux SUBDIRS=/home2/al/realtime-lsm-0.1.0
make[1]: Entering directory `/usr/src/linux-2.6.5'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M]  /home2/al/realtime-lsm-0.1.0/realcap.o
CC [M]  /home2/al/realtime-lsm-0.1.0/commoncap.o
LD [M]  /home2/al/realtime-lsm-0.1.0/realtime.o
/bin/sh: line 1: .tmp_versions/realtime.mod: Permission denied
Building modules, stage 2.
MODPOST
/bin/sh: line 1: ./.__modpost.cmd: Permission denied
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5'
make: *** [all] Error 2

But it works when make is run as root. The README file says that only make
install has to be run as superuser.

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux