All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Leopold Palomo-Avellaneda" <leo@alaxarxa.net>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Xenomai warn_upon_switch
Date: Thu, 27 Jun 2013 11:09:22 +0200	[thread overview]
Message-ID: <201306271109.22749.leo@alaxarxa.net> (raw)
In-Reply-To: <51CB231E.8030600@xenomai.org>

A Dimecres, 26 de juny de 2013, Gilles Chanteperdrix va escriure:
> On 06/26/2013 09:06 AM, Leopold Palomo-Avellaneda wrote:
> 
> > Hi,
> > 
> > since 2.6.x the Orocos users have difficulties (or simple cannot) use 
Xenomai. 
> > Despite of some bug in the Orocos code, xenomai emits a warn_upon_switch 
that 
> > makes the user to use a console program - deployer - (basically for the 
orocos 
> > philosofy) to launch rt programs.
> > 
> > I think that this signal must be treated in some way by the Orocos code, 
but 
> > it's not developed yet. Since then, there's a way to silent this signal, 
or 
> > simple that doesn't overflow the console but thousand of messages like 
this:
> 
> 
> In case it is a bug which has already been fixed, could you try xenomai
> 2.6 git?

I don't understand that it could be a Xenomai bug. It's a Orocos bug IMHO. In 
the orocos list they commented that:

>AFAICS you've enabled the warn_upon_switch signal, AFAIK the printouts all
>refer to code paths that are causing mode switches.


......
> Real-time memory: 517920 bytes free of 524288 allocated.
> /opt/orocos-toolchain/install/lib/liborocos-rtt-
> xenomai.so.2.6(warn_upon_switch+0x15)[0x7fda1b2fb295]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0xf030)[0x7fda19bdd030]
> /usr/lib/libnative.so.3(rt_mutex_release+0xbb)[0x7fda19ff431b]
> /opt/orocos-toolchain/install/lib/liborocos-rtt-
> xenomai.so.2.6(_ZN3RTT2os6ThreadD1Ev+0x11d)[0x7fda1b2f730d]
> /opt/orocos-toolchain/install/lib/liborocos-rtt-
> xenomai.so.2.6(_ZN3RTT8ActivityD2Ev+0x37)[0x7fda1b2add27]
> /opt/orocos-toolchain/install/lib/liborocos-rtt-
> xenomai.so.2.6(_ZN3RTT8ActivityD0Ev+0x9)[0x7fda1b2add79]
> /opt/orocos-toolchain/install/lib/liborocos-rtt-
>
> 
xenomai.so.2.6(_ZN5boost10shared_ptrIN3RTT4base17ActivityInterfaceEEaSERKS4_+0x4e)
> [0x7fda1b2b9cde]
> /opt/orocos-toolchain/install/lib/liborocos-rtt-
>
> 
xenomai.so.2.6(_ZN3RTT11TaskContext11setActivityEPNS_4base17ActivityInterfaceE+0x72)
> [0x7fda1b2aecb2]
> /opt/orocos-toolchain/install/lib/liborocos-ocl-deployment-
> xenomai.so.2.6.0(_ZN3OCL19DeploymentComponent11setActivityERKSsdii+0x127)
> [0x7fda1a9f8997]
> /opt/orocos-toolchain/install/lib/liborocos-ocl-deployment-
>
> xenomai.so.2.6.0(_ZNK5boost9function4IbRKSsdiiEclES2_dii+0x18)
[0x7fda1aa4dd68]
> /opt/orocos-toolchain/install/lib/liborocos-ocl-deployment-
>

AAnd I don't know how to silent (or if is possible) this messages.

Regards,

Leo

-- 
--
Linux User 152692
Catalonia


  reply	other threads:[~2013-06-27  9:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26  7:06 [Xenomai] Xenomai warn_upon_switch Leopold Palomo-Avellaneda
2013-06-26 17:21 ` Gilles Chanteperdrix
2013-06-27  9:09   ` Leopold Palomo-Avellaneda [this message]
2013-06-27  9:17     ` Philippe Gerum
2013-06-28 15:35       ` Peter Soetens
2013-06-28 18:40         ` Gilles Chanteperdrix
2013-06-28 18:52         ` Gilles Chanteperdrix
2013-06-28 23:34         ` Leopold Palomo Avellaneda
2013-06-29 13:17           ` Philippe Gerum
2013-06-29 14:05           ` Gilles Chanteperdrix
2013-06-29 14:22             ` Philippe Gerum
2013-07-01 13:38         ` [Xenomai] Xenomai warn_upon_switch .. kill the user Leopold Palomo-Avellaneda
2013-06-27 12:19     ` [Xenomai] Xenomai warn_upon_switch Gilles Chanteperdrix
2013-06-27 12:31       ` Gilles Chanteperdrix
2013-06-27 12:54       ` Leopold Palomo-Avellaneda
2013-06-27 12:58         ` Gilles Chanteperdrix
2013-06-28  8:44           ` Leopold Palomo-Avellaneda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201306271109.22749.leo@alaxarxa.net \
    --to=leo@alaxarxa.net \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.