1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Kyle Lutze wrote: |
5 |
> I'm trying to load both realtime-lsm and capability, but I can only load |
6 |
> one. the error I get is: |
7 |
> |
8 |
> FATAL: Error inserting realtime |
9 |
> (/lib/modules/2.6.16-gentoo-r1-apple1/extra/realtime.ko): Invalid module |
10 |
> format |
11 |
> |
12 |
> now if I load realtime first, and then try to load capability I get |
13 |
> |
14 |
> WARNING: Error inserting commoncap |
15 |
> (/lib/modules/2.6.16-gentoo-r1-apple1/kernel/security/commoncap.ko): |
16 |
> Invalid module format |
17 |
> FATAL: Error inserting capability |
18 |
> (/lib/modules/2.6.16-gentoo-r1-apple1/kernel/security/capability.ko): |
19 |
> Invalid argument |
20 |
> |
21 |
> I know commoncap is the culprit, by why? |
22 |
> |
23 |
> dmesg output: |
24 |
> realtime: exports duplicate symbol cap_vm_enough_memory (owned by commoncap) |
25 |
> |
26 |
> Realtime LSM initialized (group 18, mlock=1) |
27 |
> commoncap: exports duplicate symbol cap_vm_enough_memory (owned by realtime) |
28 |
> Failure registering capabilities with primary security module. |
29 |
> |
30 |
> |
31 |
> I would try and fix it myself, but google showed nothing when just |
32 |
> searching for "exports duplicate symbol cap_vm_enough_memory." |
33 |
> any ideas? |
34 |
> |
35 |
> /etc/modules.d/realtime file: |
36 |
> options realtime mlock=1 gid=18 |
37 |
> |
38 |
> |
39 |
> |
40 |
> thanks, |
41 |
> Kyle |
42 |
|
43 |
another part to my problem, |
44 |
when trying to run jackd with realtime loaded, even with any=1 instead |
45 |
of gid=18, I get |
46 |
|
47 |
11:13:00.764 /usr/bin/jackd -R -dalsa -dhw:1 -r48000 -p128 -n2 |
48 |
11:13:00.771 JACK was started with PID=5010 (0x1392). |
49 |
jackd 0.100.7 |
50 |
Copyright 2001-2005 Paul Davis and others. |
51 |
jackd comes with ABSOLUTELY NO WARRANTY |
52 |
This is free software, and you are welcome to redistribute it |
53 |
under certain conditions; see the file COPYING for details |
54 |
JACK compiled with System V SHM support. |
55 |
loading driver .. |
56 |
apparent rate = 48000 |
57 |
creating alsa driver ... hw:1|hw:1|128|2|48000|0|0|nomon|swmeter|-|32bit |
58 |
control device hw:1 |
59 |
configuring for 48000Hz, period = 128 frames, buffer = 2 periods |
60 |
nperiods = 2 for capture |
61 |
nperiods = 2 for playback |
62 |
11:13:00.906 Server configuration saved to "/home/appleboy/.jackdrc". |
63 |
11:13:00.907 Statistics reset. |
64 |
11:13:00.912 Client activated. |
65 |
11:13:00.930 Audio connection change. |
66 |
11:13:00.933 Audio connection graph change. |
67 |
11:13:00.934 XRUN callback (1). |
68 |
11:13:00.934 XRUN callback (2). |
69 |
subgraph starting at qjackctl-26131 timed out (subgraph_wait_fd=10, |
70 |
status = 0, state = Triggered) |
71 |
**** alsa_pcm: xrun of at least 0.696 msecs |
72 |
**** alsa_pcm: xrun of at least 10.556 msecs |
73 |
cannot lock down memory for RT thread (Cannot allocate memory) |
74 |
cannot use real-time scheduling (FIFO at priority 9) [for thread |
75 |
1082132816, from thread 1082132816] (1: Operation not permitted) |
76 |
|
77 |
|
78 |
why is it that RT still gives me the memory error? |
79 |
|
80 |
Kyle |
81 |
-----BEGIN PGP SIGNATURE----- |
82 |
Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux) |
83 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
84 |
|
85 |
iD8DBQFES8QQVFIipMnXxfYRAkNKAJ9lfTI/TsqUfypfmm/wsDr6aDi8OQCeP5Ca |
86 |
X6kdsZEyllySW8mGJ/ucUog= |
87 |
=lc4K |
88 |
-----END PGP SIGNATURE----- |
89 |
-- |
90 |
gentoo-amd64@g.o mailing list |