Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-15 Thread Philippe Gerum
On Mon, 2006-09-11 at 20:13 +0200, Wolfgang Grandegger wrote: Matthias Fuchs wrote: On Monday 11 September 2006 17:46, Wolfgang Grandegger wrote: A possible explanation is that configurations only using the timer IRQ are not affected, since the decrementer is not subject to this issue

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-13 Thread Philippe Gerum
On Tue, 2006-09-12 at 12:37 +0200, Wolfgang Grandegger wrote: Matthias Fuchs wrote: On Monday 11 September 2006 20:13, Wolfgang Grandegger wrote: In 2.6 the interrupts are disabled by default. Then the attached patch for Xenomai should help. Wolfgang. Your patch also works fine.

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-13 Thread Philippe Gerum
On Wed, 2006-09-13 at 12:34 +0200, Wolfgang Grandegger wrote: Philippe Gerum wrote: On Tue, 2006-09-12 at 12:37 +0200, Wolfgang Grandegger wrote: Matthias Fuchs wrote: On Monday 11 September 2006 20:13, Wolfgang Grandegger wrote: In 2.6 the interrupts are disabled by default. Then the

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-13 Thread Philippe Gerum
On Wed, 2006-09-13 at 13:36 +0200, Philippe Gerum wrote: On Wed, 2006-09-13 at 12:34 +0200, Wolfgang Grandegger wrote: Philippe Gerum wrote: On Tue, 2006-09-12 at 12:37 +0200, Wolfgang Grandegger wrote: Matthias Fuchs wrote: On Monday 11 September 2006 20:13, Wolfgang Grandegger wrote:

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-13 Thread Philippe Gerum
On Wed, 2006-09-13 at 14:38 +0200, Wolfgang Grandegger wrote: Philippe Gerum wrote: On Wed, 2006-09-13 at 13:36 +0200, Philippe Gerum wrote: On Wed, 2006-09-13 at 12:34 +0200, Wolfgang Grandegger wrote: Philippe Gerum wrote: On Tue, 2006-09-12 at 12:37 +0200, Wolfgang Grandegger wrote:

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-13 Thread Philippe Gerum
On Wed, 2006-09-13 at 14:38 +0200, Wolfgang Grandegger wrote: Philippe Gerum wrote: On Wed, 2006-09-13 at 13:36 +0200, Philippe Gerum wrote: On Wed, 2006-09-13 at 12:34 +0200, Wolfgang Grandegger wrote: Philippe Gerum wrote: On Tue, 2006-09-12 at 12:37 +0200, Wolfgang Grandegger wrote:

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-12 Thread Wolfgang Grandegger
Matthias Fuchs wrote: On Monday 11 September 2006 20:13, Wolfgang Grandegger wrote: In 2.6 the interrupts are disabled by default. Then the attached patch for Xenomai should help. Wolfgang. Your patch also works fine. Now what's the recommended solution? I noticed that Philippe already

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Wolfgang Grandegger
Matthias Fuchs wrote: On Sunday 10 September 2006 13:02, Wolfgang Grandegger wrote: Hi Matthias, Matthias Fuchs wrote: Hi, I was trying to use some external hardware interupts on a PPC405 board as part of a hacking session with Jan to bring up the rtcan driver on this board. Could you

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Philippe Gerum
On Mon, 2006-09-11 at 10:58 +0200, Matthias Fuchs wrote: On Sunday 10 September 2006 13:02, Wolfgang Grandegger wrote: Hi Matthias, Matthias Fuchs wrote: Hi, I was trying to use some external hardware interupts on a PPC405 board as part of a hacking session with Jan to bring

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Matthias Fuchs
Hello Philippe, that helps. I will do some further testing. Matthias On Monday 11 September 2006 12:20, Philippe Gerum wrote: It's likely an Adeos issue. Could you try this patch? TIA, --- arch/ppc/syslib/ppc4xx_pic.c~ 2005-10-28 02:02:08.0 +0200 +++

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Wolfgang Grandegger
Matthias Fuchs wrote: Hello Philippe, that helps. I will do some further testing. Matthias On Monday 11 September 2006 12:20, Philippe Gerum wrote: It's likely an Adeos issue. Could you try this patch? TIA, --- arch/ppc/syslib/ppc4xx_pic.c~ 2005-10-28 02:02:08.0 +0200 +++

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Philippe Gerum
On Mon, 2006-09-11 at 14:20 +0200, Wolfgang Grandegger wrote: Matthias Fuchs wrote: Hello Philippe, that helps. I will do some further testing. Matthias On Monday 11 September 2006 12:20, Philippe Gerum wrote: It's likely an Adeos issue. Could you try this patch? TIA,

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Philippe Gerum
On Mon, 2006-09-11 at 16:22 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Mon, 2006-09-11 at 14:20 +0200, Wolfgang Grandegger wrote: Matthias Fuchs wrote: Hello Philippe, that helps. I will do some further testing. Matthias On Monday 11 September 2006 12:20, Philippe Gerum

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Wolfgang Grandegger
Philippe Gerum wrote: On Mon, 2006-09-11 at 16:22 +0200, Jan Kiszka wrote: Philippe Gerum wrote: On Mon, 2006-09-11 at 14:20 +0200, Wolfgang Grandegger wrote: Matthias Fuchs wrote: Hello Philippe, that helps. I will do some further testing. Matthias On Monday 11 September 2006 12:20,

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Matthias Fuchs
On Monday 11 September 2006 17:46, Wolfgang Grandegger wrote: A possible explanation is that configurations only using the timer IRQ are not affected, since the decrementer is not subject to this issue (the tick handler returns XN_ISR_NOENABLE anyway). I run RT-Socket-CAN on a CAN PCI

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-11 Thread Wolfgang Grandegger
Matthias Fuchs wrote: On Monday 11 September 2006 17:46, Wolfgang Grandegger wrote: A possible explanation is that configurations only using the timer IRQ are not affected, since the decrementer is not subject to this issue (the tick handler returns XN_ISR_NOENABLE anyway). I run RT-Socket-CAN

[Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-10 Thread Matthias Fuchs
Hi, I was trying to use some external hardware interupts on a PPC405 board as part of a hacking session with Jan to bring up the rtcan driver on this board. Here are some versions: Linux Kernel: 2.6.14 Adeos: 1.3-07 Xenomai: from svn (2.3pre, last friday night) The

Re: [Xenomai-core] No hardware interrupts with xenomai on ppc405

2006-09-10 Thread Wolfgang Grandegger
Hi Matthias, Matthias Fuchs wrote: Hi, I was trying to use some external hardware interupts on a PPC405 board as part of a hacking session with Jan to bring up the rtcan driver on this board. Here are some versions: Linux Kernel: 2.6.14 Adeos: 1.3-07 Xenomai: from svn