Skip to contentSkip to conversation

Problem with Xenomai 3.0 Cobalt executing latency app

Xenomai Alvaro 2 participants 2 messages Oct 16, 2015

lore
Share & tools
lore

Alvaro

author
#0 lore raw

Good morning,
I 'm trying Xenomai 3.0 Kernel. I have compiled and encapsulated a preempt_rt_kernel from https://pixhawk.org/dev/ros/px4linux#rt_preempt_kernel that contains a Xenomai 3.0 with cobalt configuration on a Odroid C1 board. Afterwards, I downloaded the xenomai 3-3.0 files from your repository to install the libraries and the tools. I have compiled the libraries for Cobalt mode (./configure --with-core=cobalt --enable-smp --enable-pshared). When I execute latency application the system responses as: low init():binding failed: function not implemented. If I compile for Mercury mode when I execute the application latency I get: WARNING: [main] failed to lock memory . BUG in xenomai_init(): [main] initialization failed, ENOMEM.

Could you help me?

Thanks in advance.

Signature · 20 lines
Alvaro
------------------------------------------------------------------------

http://www.ixion.es <http://www.tcpsi.com/>

	

*Álvaro Ramos *
*Control Engineer
*

*

Ixion Industry and Aerospace
Julian Camarillo, 21B
28037 Madrid
Phone   +34 91 440 18 33
Fax        +34 91 304 54 10

*
#1 lore raw
Quoted 6 lines · Alvaro

Good morning,
I 'm trying Xenomai 3.0 Kernel. I have compiled and encapsulated a preempt_rt_kernel from
https://pixhawk.org/dev/ros/px4linux#rt_preempt_kernel that contains a Xenomai 3.0 with cobalt configuration on a Odroid C1 board. Afterwards, I downloaded the xenomai 3-3.0 files from your repository

Hi,

"your repository" is a bit vague here. Which repository?

Quoted 7 lines

to install the
libraries and the tools. I have compiled the libraries for Cobalt mode (./configure --with-core=cobalt --enable-smp --enable-pshared). When I execute latency application the system responses as: low init():binding
failed: function not implemented. If I compile for Mercury mode when I execute the application latency I get: WARNING: [main] failed to lock memory .

The most common reason for failing to lock memory is because you are not running the application with root privileges. See:
http://xenomai.org/2014/06/running-a-xenomai-application-as-a-regular-user/

Regards.

Signature · 2 lines
					    Gilles.
https://click-hack.org