[Xenomai] xenomai.allowed_group=<gid>

Philippe Gerum rpm at xenomai.org
Wed Jan 11 12:24:01 CET 2017


On 01/11/2017 12:05 PM, Hänel-Baas, Alexander wrote:
> Hi,
> 
> when we running our xenomai3 application as root, always works fine.
> But when we running the application as regular user, the following message was prompt:
> 
> WARNING: [main] failed to initialize main shared heap
> WARNING: [main] setup call copperplate failed
> BUG in xenomai_init(): [main] initialization failed, EACCES
> 
> We have already read the documentation: Running a xenomai appl as a regular user.
> But neither add "xenomai.allowed_group=gid_nr" to the kernel command line nor "echo gid_nr > /sys module/xenomai/parameters/allowed_group"
> will be help.
> 
> Our application is alchemy style with Automatic bootstrap enabled.
> 
> Anny ideas what is going wrong?
> 
> The kernel Version is: 4.4.26 with Xenomai 3.03 and it works on the Layerscape LS102xa platform.
> 

Running with a shared heap as a regular user requires additional
settings. The log of commit #cf21e8062959 gives details.

-- 
Philippe.



More information about the Xenomai mailing list