From: Jan Kiszka <jan.kiszka@domain.hid>
To: DOURNES Guillaume <Guillaume.DOURNES@lgm.fr>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Interrupt management under rtdm driver
Date: Fri, 16 May 2008 09:11:47 +0200 [thread overview]
Message-ID: <482D33B3.9070700@domain.hid> (raw)
In-Reply-To: <0C9896A4B6D338488AD6FFFE58BAEF100276E025@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1672 bytes --]
DOURNES Guillaume wrote:
> Thanks a lot for your attention. And sorry for my poor english.
> I change my context into a real RT context and my problem disappears.
>
> Nevertheless, I have other questions about the IRQ management.
>
> In fact, after executing my software application (so after the rtdm_close call, and so the free irq), I obtain a syslog message : kernel Disabling IRQ #11. This message doesn't affect my software if I run it again, but may be there are some side effect. In dmesg, the following error message appears : irq 11: nobody cared (try booting with the "irqpoll" option).
> In my open function I call :
> - request_region
> - rtdm_irq_request
> In my close function I call :
> - rtdm_irq_free
> - release_region
> May be there is a function to call to avoid this disabling irq ?
Are you sure that you properly configured your device to no longer
generate IRQs before unregistering the handler?
>
>
> Moreover, when I'm using my discrets I/O driver (on the IRQ 11) and I add an USB Key (on this IRQ 11) the software freeze. Note that my USB Key works normaly before I call my open function, and doesn't work after my software execution, may be because of the Disabling IRQ.
> Note that the freeze appears with the 16550A rtdm driver use. For example, when my keyboard irq is the same as the seria board irq, the computer freeze when the driver is running and the keyboard is using at the same moment.
> I think that the linux irq and xenomai irq are not usable at the same time !
>
> Note that my kernel is configured with shared interrupt.
Please read the FAQ in the wiki about shared RT/non-RT IRQS.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next prev parent reply other threads:[~2008-05-16 7:11 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 9:18 [Xenomai-help] gdb + multi-threaded application + Intel dual core processor + Xenomai => frozen system Kaeppeler, Oliver
2008-05-13 9:36 ` Jan Kiszka
2008-05-13 10:46 ` [Xenomai-help] Interrupt management under rtdm driver DOURNES Guillaume
2008-05-13 11:03 ` Jan Kiszka
2008-05-13 13:11 ` DOURNES Guillaume
2008-05-13 14:47 ` Jan Kiszka
2008-05-13 16:36 ` DOURNES Guillaume
2008-05-13 16:58 ` Jan Kiszka
2008-05-14 9:55 ` DOURNES Guillaume
2008-05-14 19:21 ` Jan Kiszka
2008-05-14 19:35 ` Jan Kiszka
2008-05-15 10:24 ` DOURNES Guillaume
2008-05-16 7:11 ` Jan Kiszka [this message]
2008-05-16 10:08 ` DOURNES Guillaume
2008-05-16 11:28 ` [Xenomai-help] Serial driver and TX events Anders Blomdell
2008-05-16 12:49 ` Jan Kiszka
2008-05-16 13:12 ` Anders Blomdell
2008-05-16 13:25 ` Jan Kiszka
2008-05-16 17:56 ` Anders Blomdell
2008-06-19 19:41 ` [Xenomai-help] Weird rt_dev_socket behaviour Anders Blomdell
2008-06-20 10:54 ` Jan Kiszka
2008-05-13 14:06 ` [Xenomai-help] gdb + multi-threaded application + Intel dual core processor + Xenomai => frozen system Kaeppeler, Oliver
2008-05-13 14:44 ` Jan Kiszka
2008-05-14 6:13 ` Jan Kiszka
2008-05-14 12:02 ` Kaeppeler, Oliver
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=482D33B3.9070700@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Guillaume.DOURNES@lgm.fr \
--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.