Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] catch 22 with realtime-lsm and commoncap (capability dependency) modules
Date: Sun, 23 Apr 2006 19:20:48
Message-Id: 5bdc1c8b0604231218p4c668acalfdf29bac816a8edd@mail.gmail.com
In Reply to: [gentoo-amd64] catch 22 with realtime-lsm and commoncap (capability dependency) modules by Kyle Lutze
1 The capabilities module was for 2.4 series kernel only. To get
2 realtime performance with 2.6 you only need realtime-lsm.
3
4 Load realtime-lsm then, with a user account that is part of your
5 realtime group, start Jack using qjackctl with realtime enabled on the
6 setup page.
7
8 Hope this helps,
9 Mark
10
11 On 4/23/06, Kyle Lutze <kyle@×××××××××××.com> wrote:
12 > -----BEGIN PGP SIGNED MESSAGE-----
13 > Hash: SHA1
14 >
15 > I'm trying to load both realtime-lsm and capability, but I can only load
16 > one. the error I get is:
17 >
18 > FATAL: Error inserting realtime
19 > (/lib/modules/2.6.16-gentoo-r1-apple1/extra/realtime.ko): Invalid module
20 > format
21 >
22 > now if I load realtime first, and then try to load capability I get
23 >
24 > WARNING: Error inserting commoncap
25 > (/lib/modules/2.6.16-gentoo-r1-apple1/kernel/security/commoncap.ko):
26 > Invalid module format
27 > FATAL: Error inserting capability
28 > (/lib/modules/2.6.16-gentoo-r1-apple1/kernel/security/capability.ko):
29 > Invalid argument
30 >
31 > I know commoncap is the culprit, by why?
32 >
33 > dmesg output:
34 > realtime: exports duplicate symbol cap_vm_enough_memory (owned by commoncap)
35 >
36 > Realtime LSM initialized (group 18, mlock=1)
37 > commoncap: exports duplicate symbol cap_vm_enough_memory (owned by realtime)
38 > Failure registering capabilities with primary security module.
39 >
40 >
41 > I would try and fix it myself, but google showed nothing when just
42 > searching for "exports duplicate symbol cap_vm_enough_memory."
43 > any ideas?
44 >
45 > /etc/modules.d/realtime file:
46 > options realtime mlock=1 gid=18
47 >
48 >
49 >
50 > thanks,
51 > Kyle
52 > -----BEGIN PGP SIGNATURE-----
53 > Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux)
54 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
55 >
56 > iD8DBQFES8KCVFIipMnXxfYRAsC+AKCGB3bPqytW9T1RCVQW+fPBg3Hg9QCghfRx
57 > eusfIctjpWk/vyXGzVpBJP4=
58 > =JpA0
59 > -----END PGP SIGNATURE-----
60 > --
61 > gentoo-amd64@g.o mailing list
62 >
63 >
64
65 --
66 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] catch 22 with realtime-lsm and commoncap (capability dependency) modules Kyle Lutze <kyle@×××××××××××.com>