All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Registering MSI interrupt with Xenomai fails
@ 2007-11-02 11:21 Jeroen Van den Keybus
  2007-11-02 11:50 ` Philippe Gerum
  0 siblings, 1 reply; 9+ messages in thread
From: Jeroen Van den Keybus @ 2007-11-02 11:21 UTC (permalink / raw)
  To: xenomai-core

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

We have a driver that operates on a PCIe card. The card has IRQ17. If we use
it like that (IO-APIC-fasteoi), interrupt registration using
rtdm_irq_request works correctly. (We also use rtdm_irq_enable afterwards,
but it seems that the request already enables the interrupt.)

However, if we redefine our interrupt as MSI using pci_enable_msi(),
rtdm_irq_request freezes the machine. (After pci_enable_msi, the new
interrupt vector is 218 and /proc/interrupts correctly reports
PCI-MSI-edge.)

We have another MSI-enabled card in the system (network card controlled by
Linux) and this one works correctly. So I suspect that the Ipipe is clear
and the bug must reside in Xenomai.

I've been adding printk instrumentation throughout the Ipipe, Xenomai and
RTDM, but the problem is that possibly the contents of the kernel log do not
make it to the terminal upon the freeze (no oops, no panic). Is there any
way of efficiently debugging this ?

Linux 2.6.23
Adeos 1.10-11
Xenomai SVN Rev. 3146

Thanks,


Jeroen.

[-- Attachment #2: Type: text/html, Size: 1262 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-11-12 14:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 11:21 [Xenomai-core] Registering MSI interrupt with Xenomai fails Jeroen Van den Keybus
2007-11-02 11:50 ` Philippe Gerum
     [not found]   ` <fd6a47a90711020549u5630ec9cgda7042c8c6c0f10a@domain.hid>
     [not found]     ` <fd6a47a90711020636t73e357d5ub9cbca0675adc1d7@domain.hid>
2007-11-02 14:30       ` Jeroen Van den Keybus
2007-11-02 14:59         ` Philippe Gerum
2007-11-03 17:42           ` Jeroen Van den Keybus
2007-11-03 18:19             ` Philippe Gerum
2007-11-03 19:36               ` Jeroen Van den Keybus
2007-11-05 19:14                 ` Jeroen Van den Keybus
2007-11-12 14:43                   ` Jeroen Van den Keybus

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.