Steven A. Falco wrote:
> I am testing kernel 2.6.23 ARCH=powerpc with Xenomai 2.4-rc4.  The 
> clocktest and cyclictest work perfectly with the uic/spinlock patches.  
> However, the irqloop test fails with the Oops shown below.
>

Please try the patch below. It looks like the chip descriptor does not implement
any unmask handler, which seems odd. This patch should tell us a bit more about
this issue.

-- 
Philippe.
Index: ksrc/arch/powerpc/hal.c
===================================================================
--- ksrc/arch/powerpc/hal.c	(revision 3095)
+++ ksrc/arch/powerpc/hal.c	(working copy)
@@ -245,6 +245,11 @@
 
     rthal_irq_desc_status(irq) &= ~IRQ_DISABLED;
 
+    if (rthal_irq_handlerp(irq)->unmask == NULL) {
+      printk("NULL ->unmask handler, IRQ %d, chip %s\n", irq, rthal_irq_handlerp(irq)->typename);
+      return 0;
+    }
+
     return rthal_irq_chip_enable(irq);
 }
 
_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to