Imanol Martínez wrote:
> Hello all,
> 
> I have installed xenomai 2.4.9 in a linux 2.6.30 kernel. It seems that
> all the boot is done correctly but when reaching the point to access the
> nfs filesystem I get the following error:
> 
> <4>[   32.879389] WARNING: at net/sched/sch_generic.c:226
> dev_watchdog+0x2c0/0x2e0()
> [   32.879389] WARNING: at net/sched/sch_generic.c:226
> dev_watchdog+0x2c0/0x2e0()
> <6>[   33.055929] NETDEV WATCHDOG: eth0 (): transmit timed out
> [   33.055929] NETDEV WATCHDOG: eth0 (): transmit timed out
> 
> and after some seconds
> 
> <7>[   39.438510] eth0: Tx timed out, lost interrupt? TSR=0x1, ISR=0x3,
> t=160.
> <7>[   49.765548] eth0: Tx timed out, lost interrupt? TSR=0x1, ISR=0x2,
> t=1025.
> <7>[   51.765562] eth0: Tx timed out, lost interrupt? TSR=0x1, ISR=0x2,
> t=124
> 
> Any idea or help to solve this problem...

Please check that when starting from the configuration where you have
the bug, if you disable Xenomai (CONFIG_XENOMAI) and the interrupt
pipeline (CONFIG_IPIPE), the system works.

If it works, could you try the attached patch?
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
index f6e0300..f8a25d5 100644
--- a/arch/arm/mach-pxa/irq.c
+++ b/arch/arm/mach-pxa/irq.c
@@ -111,7 +111,11 @@ static void __init pxa_init_low_gpio_irq(set_wake_t fn)

        for (irq = IRQ_GPIO0; irq <= IRQ_GPIO1; irq++) {
                set_irq_chip(irq, &pxa_low_gpio_chip);
+#ifndef CONFIG_IPIPE
                set_irq_handler(irq, handle_edge_irq);
+#else /* CONFIG_IPIPE */
+               set_irq_handler(irq, handle_level_irq);
+#endif /* CONFIG_IPIPE */
                set_irq_flags(irq, IRQF_VALID);
        }




-- 
                                          Gilles


_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to