All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Wong Sheng Chao <wong@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Question on periodic task
Date: Sun, 16 Jan 2011 00:03:54 +0100	[thread overview]
Message-ID: <4D3227DA.9080909@domain.hid> (raw)
In-Reply-To: <4D31B6C3.5060007@domain.hid>

Wong Sheng Chao wrote:
> Hi
> 
> I'm a newbie in real time programming and I recently came to know of 
> Xenomai. After patching the Xenomai to the linux kernel, I ran some 
> examples that I found from the Internet to get a better understanding of 
> the periodic task. Everything seems to run fine when I start two tasks 
> with period of 1s and 2s, but the system freezes when I added more tasks 
> ( more than 2 tasks). The period is at 1s, 2s and 3s so i think the 
> processor has more than enough time to process the tasks.
> 
> I also read that the periodic mode is emulated by a software driver 
> which uses one-shot mode programming. Thus i did not enable periodic 
> timing when I compile the Linux kernel, is this the cause of the problem?
> 
> I'm using a system with Core i7, ubuntu 10.04, linux kernel 2.6.32.15, 
> xenomai 2.5.4
> 
> Do let me know what I did wrong in the code, thanks in advance!!

You almost send us all the information we ask on this page:
http://www.xenomai.org/index.php/Request_for_information

We lack:
- the version of the Adeos patch you use
- the kernel logs from the boot up to the bug itself.

-- 
                                                                Gilles.


  reply	other threads:[~2011-01-15 23:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-15 15:01 [Xenomai-help] Question on periodic task Wong Sheng Chao
2011-01-15 23:03 ` Gilles Chanteperdrix [this message]
2011-01-17 11:06   ` Wong Sheng Chao
2011-01-17 13:34     ` Gilles Chanteperdrix
2011-01-17 15:30       ` Wong Sheng Chao
2011-01-17 15:34         ` Gilles Chanteperdrix
2011-01-17 15:35         ` Philippe Gerum
2011-01-17 15:45 ` Gilles Chanteperdrix
2011-01-17 20:35   ` [Xenomai-help] [SOLVED] " WONG Sheng Chao

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=4D3227DA.9080909@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=wong@domain.hid \
    --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.