All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] External PCIe device: MSI interrupt install hangs up the CPU
@ 2008-11-21 15:44 Rubio, Martial
  2008-11-21 16:45 ` Jan Kiszka
  0 siblings, 1 reply; 8+ messages in thread
From: Rubio, Martial @ 2008-11-21 15:44 UTC (permalink / raw)
  To: xenomai; +Cc: jeanfrancois.gilot, Dupeyrou, Gilles

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

Hello everybody
 
I'm working with following config : 
 
CPU (0=>3) AMD Dual Core AMD Opteron 
Linux version 2.6.25-pae
Xenomai : hal / i386
Xenomai : real time nucleus v2.4.5
 
Here's below the state of /proc/interrupts :
 
in red fonts the range of PCIe(xpress)-MSI vectors :
 
hurle-bise [anaisvs](34):more /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
  0:        146          0          0          0    XT-PIC-XT
timer
  1:       1039          0          0          0    XT-PIC-XT
i8042
  2:          0          0          0          0    XT-PIC-XT
cascade
  4:          5          0          0          0    XT-PIC-XT
  5:          2          0          0          0    XT-PIC-XT
ehci_hcd:usb2
  6:          5          0          0          0    XT-PIC-XT
floppy
  7:      16300          0          0          0    XT-PIC-XT
ohci_hcd:usb1
 10:     155104          0          0          0    XT-PIC-XT
ioc0, sata_nv, sata_nv, ohci1394
 11:      47305          0          0          0    XT-PIC-XT
sata_nv, HDA Intel
 14:          0          0          0          0    XT-PIC-XT
pata_amd
 15:          0          0          0          0    XT-PIC-XT
pata_amd
212:          0          9        487    1942504   PCI-MSI-edge
eth0
213:          0          0          0          0   PCI-MSI-edge
shpchp
NMI:          0          0          0          0   Non-maskable
interrupts
LOC:    3722798    3722767    3722730    3722768   Local timer
interrupts
RES:      39386      37672      23570      25780   Rescheduling
interrupts
CAL:       1112       1273       1280        250   function call
interrupts
TLB:       6144       8510       6271       9025   TLB shootdowns
TRM:          0          0          0          0   Thermal event
interrupts
SPU:          0          0          0          0   Spurious interrupts
ERR:          1
MIS:          0
 
I try to install a new MSI interrupt via rtdm package (rtdm_irq_request)
with
a vector number (211) given by the call to pci_msi_enable for the new
PCIe device.
 
The system hangs up immediatly (sometimes I can catch the stack trace
with dmesg
the last reference seems to be in rt_hal package)
 
If I replace (for debug only!!!) this vector number by an unused
"classical" vector number (for instance
14 or 15) ... no problem.
 
Have you allready test this kind of configuration ... if so a little
help from your part would be
greatly appreciated!
 
Kind regards
 
Martial Rubio    

Eurocopter France - ETZSR

Technical software manager

 

* : <mailto:martial.rubio@domain.hid
<mailto:martial.rubio@domain.hid> >

(  04 42 85 68 11 

7      04 42 85 88 35


 

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

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

end of thread, other threads:[~2008-12-01 23:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21 15:44 [Xenomai-help] External PCIe device: MSI interrupt install hangs up the CPU Rubio, Martial
2008-11-21 16:45 ` Jan Kiszka
2008-11-24 16:55   ` Rubio, Martial
2008-11-25 13:13     ` Rubio, Martial
2008-11-29  1:24       ` Jan Kiszka
2008-11-29 10:18         ` Philippe Gerum
2008-12-01 16:33         ` Rubio, Martial
2008-12-01 23:14           ` Jan Kiszka

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.