* [Xenomai-core] rtdm_irq_request
@ 2006-08-21 9:56 Harkema, G.A.
2006-08-21 10:42 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Harkema, G.A. @ 2006-08-21 9:56 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
Hello,
I' am having some problems with using the rtdm_irq_request() function. I
disabled my local APIC support in the kernel (2.6.17, xenomai 2.2.0). My
device (USB-HOST controller) shares his IRQ with the Ethernet
card(e1000). After calling rtdm_irq_request() my system hangs. I tried
to unload the e1000 module first and it seems to work fine. Can I share
non-realtime interrupts whit real-time interrupts. If yes, what went
wrong.
Who can help me.
Kind regards,
Gerard
[-- Attachment #2: Type: text/html, Size: 2710 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] rtdm_irq_request
2006-08-21 9:56 [Xenomai-core] rtdm_irq_request Harkema, G.A.
@ 2006-08-21 10:42 ` Jan Kiszka
2006-08-21 22:22 ` Dmitry Adamushko
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2006-08-21 10:42 UTC (permalink / raw)
To: Harkema, G.A.; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 943 bytes --]
Harkema, G.A. wrote:
> Hello,
>
>
>
> I' am having some problems with using the rtdm_irq_request() function. I
> disabled my local APIC support in the kernel (2.6.17, xenomai 2.2.0). My
> device (USB-HOST controller) shares his IRQ with the Ethernet
> card(e1000). After calling rtdm_irq_request() my system hangs. I tried
> to unload the e1000 module first and it seems to work fine. Can I share
> non-realtime interrupts whit real-time interrupts. If yes, what went
> wrong.
Nope you can't share. The e1000 driver could otherwise cause priority
inversions when an Ethernet-related IRQ is pending, the IRQ line will
get disabled therefore, and thus succeeding RT-USB-originated IRQs will
be shadowed until Linux gets a chance to run again.
That the system hangs is due to the ungraceful way we currently handle
such exceptions. [@Dmitry: This is one example of the frequent problems
I was referring to...]
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] rtdm_irq_request
2006-08-21 10:42 ` Jan Kiszka
@ 2006-08-21 22:22 ` Dmitry Adamushko
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Adamushko @ 2006-08-21 22:22 UTC (permalink / raw)
To: Jan Kiszka; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]
On 21/08/06, Jan Kiszka <jan.kiszka@domain.hid> wrote:
>
> > I' am having some problems with using the rtdm_irq_request() function. I
> > disabled my local APIC support in the kernel (2.6.17, xenomai 2.2.0). My
> > device (USB-HOST controller) shares his IRQ with the Ethernet
> > card(e1000). After calling rtdm_irq_request() my system hangs. I tried
> > to unload the e1000 module first and it seems to work fine. Can I share
> > non-realtime interrupts whit real-time interrupts. If yes, what went
> > wrong.
>
> Nope you can't share. The e1000 driver could otherwise cause priority
> inversions when an Ethernet-related IRQ is pending, the IRQ line will
> get disabled therefore, and thus succeeding RT-USB-originated IRQs will
> be shadowed until Linux gets a chance to run again.
>
> That the system hangs is due to the ungraceful way we currently handle
> such exceptions. [@Dmitry: This is one example of the frequent problems
> I was referring to...]
confirm. ok, I thought that the inter-domain irq sharing is not that
frequently required (any % of potential users out there? :) and it is not
worth adding a general support wrt some additional complexity it will likely
add.
Are all these cases really caused by the lack of free interrupt lines,
meaning that the conflicting devices can't even be re-configured so to
provide a separate line for the "real-time" - handled device?
Anyway, this system hang is definitely something unacceptable. So should be
fixed
[@ Jan : your second mail is still pending as well as some related code
reading as, honestly, I don't have a clue at the moment. should be handled
asap :]
Jan
>
>
--
Best regards,
Dmitry Adamushko
[-- Attachment #2: Type: text/html, Size: 2198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-21 22:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 9:56 [Xenomai-core] rtdm_irq_request Harkema, G.A.
2006-08-21 10:42 ` Jan Kiszka
2006-08-21 22:22 ` Dmitry Adamushko
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.