All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] running as user issue
@ 2015-07-30  8:59 Stéphane ANCELOT
  2015-07-31 16:09 ` Stéphane ANCELOT
  0 siblings, 1 reply; 5+ messages in thread
From: Stéphane ANCELOT @ 2015-07-30  8:59 UTC (permalink / raw)
  To: xenomai@xenomai.org

Hi,

I have problems running as user.

pshared mode is enabled,
conf tunables are defined (session_label , and mem_pool_size overloaded)
and the program is running as root.

user's group 1000 has been echoed to 
/sys/module/xenomai/parameters/allowed_group

xenomai_init() reports EACCESS, although ulimit set up to unlimited 
memory lock.


ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 15346
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65536
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 15346
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


  ./print_erreur
conf tunable
mem pool size=5000000
    0"003.362| WARNING: [main] failed to initialize main shared heap
    0"003.439| WARNING: [main] setup call copperplate failed
    0"003.493| BUG in xenomai_init(): [main] initialization failed, EACCES

Regards,
Steph



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-27  7:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30  8:59 [Xenomai] running as user issue Stéphane ANCELOT
2015-07-31 16:09 ` Stéphane ANCELOT
2015-07-31 16:38   ` Philippe Gerum
2015-08-05  8:02     ` Stéphane ANCELOT
2015-08-27  7:06       ` Stéphane ANCELOT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.