From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Yeoh Chun Yeow <yeohchunyeow@domain.hid>
Cc: "Xenomai-help@domain.hid" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Kernel Opps calling rtdm_irq_request
Date: Tue, 14 Aug 2007 12:43:51 +0200 [thread overview]
Message-ID: <18113.34663.646158.524696@domain.hid> (raw)
In-Reply-To: <2862c2c80708140315y6cb029e4j8b5f7e9d95ae2bf1@domain.hid>
Yeoh Chun Yeow wrote:
> Dear all,
>
> I have try to attach a AT91 TC hardware interrupt using rtdm_irq_request.
Sorry, I misunderstood your question. No, you can not do that, the TC
hardware is driven by Xenomai in one shot mode, you can not expect it to
tick on a regular basis. Besides, timers (either posix timers or native
alarms) are really what you are looking for. Nevertheless, you should
not get a oops when trying to do that.
>
> Whenever the rtdm_irq_request is called, the kernel Oops occurs.
>
> Any ideas on the problem?
Either a programming error, or a bug in Xenomai. Could you show us the
code that triggers this behaviour ? Did you enable support for shared
IRQs in Xenomai ? The TC irq has to be shared in Xenomai domain, since
it is used by Xenomai and you also want to use it.
--
Gilles Chanteperdrix.
next prev parent reply other threads:[~2007-08-14 10:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 10:15 [Xenomai-help] Kernel Opps calling rtdm_irq_request Yeoh Chun Yeow
2007-08-14 10:43 ` Gilles Chanteperdrix [this message]
2007-08-15 9:24 ` Yeoh Chun Yeow
2007-08-15 11:14 ` Yeoh Chun Yeow
2007-08-15 12:00 ` Jan Kiszka
2007-08-15 13:09 ` Gilles Chanteperdrix
2007-08-15 17:13 ` Jan Kiszka
2007-08-16 3:16 ` Yeoh Chun Yeow
2007-08-16 5:15 ` 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=18113.34663.646158.524696@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
--cc=yeohchunyeow@domain.hid \
/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.