All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Brandt Erickson <brandt@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xnpod help
Date: Thu, 01 Jun 2006 21:06:38 +0200	[thread overview]
Message-ID: <447F3ABE.9000708@domain.hid> (raw)
In-Reply-To: <39142.155.98.4.39.1149186052.squirrel@domain.hid>

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

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.

Have a look at other skins and their prologue/epilogue. RTDM is a fairly
simple skin e.g.

This is lacking in your case for init and may explain your problems
(unless some skin is already attached - but it's still required for
consistency):

#if defined(__KERNEL__) && defined(CONFIG_XENO_OPT_PERVASIVE)
    /* The RTDM skin is stacked over the Xenomai pod. */
    err = xncore_attach();
#else /* !(__KERNEL__ && CONFIG_XENO_OPT_PERVASIVE) */
    /* The RTDM skin is standalone. */
    err = xnpod_init(&__rtdm_pod, XNCORE_LOW_PRIO, XNCORE_HIGH_PRIO,
XNREUSE);
#endif /* __KERNEL__ && CONFIG_XENO_OPT_PERVASIVE */

Jan


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

  reply	other threads:[~2006-06-01 19:06 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 [this message]
2006-06-01 19:56 ` Gilles Chanteperdrix
2006-06-01 20:10   ` Jan Kiszka
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=447F3ABE.9000708@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=brandt@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.