All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xnpod help
Date: Thu, 01 Jun 2006 22:10:48 +0200	[thread overview]
Message-ID: <447F49C8.4090609@domain.hid> (raw)
In-Reply-To: <17535.18007.179715.207040@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]

Gilles Chanteperdrix wrote:
> Brandt Erickson wrote:
>  > Hey,
>  > I'm trying to write a simple looping module to test out xenomai nucleus
>  > usage.  The problem is, when I insert the module (code attached), only the
>  > printks from the initialization function ever get displayed and none from
>  > the indefinite loop.  All the pod startup functions return success, so is
>  > the thread working and just not successfully sending the messages out or
>  > is the thread not starting up at all?  Could someone tell me if I'm using
>  > the xenomai nucleus correctly?  Thanks.
>  > -Brandt
> 
> If you seriously intend to write a skin, you should have a look at the
> simulator, it will allow you to run your skin in a debugger and to get
> reproducible behaviours.
> 

...or an emulator. I'm using Qemu attached to ddd for such elementary
kernel development now.

The simulator is good to reproduce weird timing scenarios. The emulator
is a bit closer to the real application environment, specifically if you
plan to write a syscall interface for your skin. And Qemu can even
generate multiple CPUs. The last SMP bug of Ipipe, e.g., was also
"emulatable" (but was debugged on real hardware with kgdb first).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

  reply	other threads:[~2006-06-01 20:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-01 18:20 [Xenomai-help] xnpod help Brandt Erickson
2006-06-01 19:06 ` Jan Kiszka
2006-06-01 19:56 ` Gilles Chanteperdrix
2006-06-01 20:10   ` Jan Kiszka [this message]
2006-06-01 20:51     ` Brandt Erickson
2006-06-01 21:16       ` Jan Kiszka
2006-06-01 22:09         ` Brandt Erickson
2006-06-01 22:55           ` Jan Kiszka
2006-06-02 20:41             ` Brandt Erickson
2006-06-03  8:26               ` Jan Kiszka
2006-06-02 12:53           ` 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=447F49C8.4090609@domain.hid \
    --to=jan.kiszka@domain.hid \
    --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.