All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Problem with Xenomai 3.0 Cobalt executing latency app
@ 2015-10-16 11:13 Alvaro
  2015-10-16 11:17 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Alvaro @ 2015-10-16 11:13 UTC (permalink / raw)
  To: xenomai

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.
-- 
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

*


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

* Re: [Xenomai] Problem with Xenomai 3.0 Cobalt executing latency app
  2015-10-16 11:13 [Xenomai] Problem with Xenomai 3.0 Cobalt executing latency app Alvaro
@ 2015-10-16 11:17 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2015-10-16 11:17 UTC (permalink / raw)
  To: Alvaro; +Cc: xenomai

On Fri, Oct 16, 2015 at 01:13:12PM +0200, Alvaro wrote:
> 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?

> 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.

-- 
					    Gilles.
https://click-hack.org


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

end of thread, other threads:[~2015-10-16 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-16 11:13 [Xenomai] Problem with Xenomai 3.0 Cobalt executing latency app Alvaro
2015-10-16 11:17 ` Gilles Chanteperdrix

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.