All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] my tick takes a break !!
Date: Mon, 24 Apr 2006 15:37:01 +0200	[thread overview]
Message-ID: <444CD47D.7010800@domain.hid> (raw)
In-Reply-To: <17484.53834.564922.482694@domain.hid>

Gilles Chanteperdrix wrote:
> Thomas, Brieuc \(GE Healthcare\) wrote:
>  > 
>  >  > -----Message d'origine-----
>  >  > De : Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.orgt] 
>  >  > Envoyé : dimanche 23 avril 2006 14:54
>  >  > À : Thomas, Brieuc (GE Healthcare)
>  >  > Cc : xenomai@xenomai.org
>  >  > Objet : RE: [Xenomai-help] my tick takes a break !! 
>  >  > 
>  >  > Thomas, Brieuc \(GE Healthcare\) wrote:
>  >  >  > I tried it, but there isn't any change !
>  >  >  > I've got the same behaviour.
>  >  > 
>  >  > I could reproduce your bug here. The uvm-timer thread is blocked in W state, just as if the interrupts were locked.
>  > 
>  > Yes but, I've allowed the interrupts from the compile, and I never used intLock() or something like that!
> 
> Neither your code, nor your setup is wrong, the error come from vxworks
> uvm. Printing uvm_irqlock shows that the interrupts got disabled
> somehow.
> 
>  > Then I tried the trunk version, and I've got an error message during the launch, either:    
>  > 
>  > When I compile a periodic timer mode:
>  > Xenomai: UVM skin init failed, code -16
>  > Xenomai: starting Vxworks services
>  > Or, in aperiodic mode:
>  > Xenomai: starting UVM services
>  > Xenomai: incompatible timer mode(aperiodic found, need periodic).
>  > Xenomai: Vxworks skin init failed, code -16
>  > 
>  > Perhaps my first problem, come from to the timer mode? Normally my configuration is status=oneshot:setup=202:tickval=1... 
> 
> UVM and vxworks are separated skins, that require incompatible timer
> setting. Since you are using UVM (I guess), select only uvm in kernel
> configuration, or select vxworks skin as a module that you do not load
> when running applications using the UVM skin.
> 

If you feel lucky, the 3rd option coming with v2.2 is to get rid of the 
UVM and use the new direct call interface now available from user-space 
for the VxWorks skin. In such a case, you need 1) the development 
trunk/, 2) to load xeno_vxworks, 3) work with the new VxWorks interface 
from user-space exactely the way one would use the existing native or 
POSIX skin.

-- 

Philippe.


  reply	other threads:[~2006-04-24 13:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-24  9:49 [Xenomai-help] my tick takes a break !! Thomas, Brieuc (GE Healthcare)
2006-04-24 13:27 ` Gilles Chanteperdrix
2006-04-24 13:37   ` Philippe Gerum [this message]
2006-04-24 13:44     ` Gilles Chanteperdrix
2006-04-24 14:06       ` Philippe Gerum
2006-04-24 14:16         ` Gilles Chanteperdrix
2006-04-24 14:32           ` Philippe Gerum
  -- strict thread matches above, loose matches on Subject: below --
2006-04-21 16:16 Thomas, Brieuc (GE Healthcare)
2006-04-23 12:53 ` Gilles Chanteperdrix
2006-04-20  9:23 Thomas, Brieuc (GE Healthcare)
2006-04-19 16:55 Thomas, Brieuc (GE Healthcare)
2006-04-19 20:34 ` Gilles Chanteperdrix
2006-04-21 13:56 ` Gilles Chanteperdrix
2006-04-19 15:05 Thomas, Brieuc (GE Healthcare)
2006-04-19 15:18 ` Gilles Chanteperdrix

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=444CD47D.7010800@domain.hid \
    --to=rpm@xenomai.org \
    --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.