[Xenomai] Latency test fails after in a Xenomai patched Ostro XT linux distro - part 2

Philippe Gerum rpm at xenomai.org
Sun Mar 5 16:46:16 CET 2017


On 03/04/2017 05:30 AM, Nitin Kulkarni wrote:
> After the below things happened I added a regular user (nitin) to the allowed_group parameter file in /sys/module/xenomai/parameters/allowed_group
> 
> 
> Then executed the latency test to get this message :
> 
> 
> nitin at intel-corei7-64:/usr/bin$ /usr/xenomai/bin/latency
>    0"000.000| WARNING: [main] cannot open RTDM device /dev/rtdm/memdev-private: Permission denied
>    0"000.000| WARNING: [main] cannot map private umm area: Permission denied
>    0"000.000| BUG in init_bind(): [main] (CONFIG_DEVTMPFS_MOUNT not enabled?)
> 
> ?I must be doing something wrong. Please let me know.

You need to tell udev to set appropriate permissions to the RTDM devices
via some rule file, so that users from this group may access those
devices, e.g.

# Xenomai real-time devices
SUBSYSTEM=="rtdm", MODE="0660", GROUP=<your-group>

-- 
Philippe.



More information about the Xenomai mailing list