[Xenomai-core] Odd behaviour of vxworks

2006-09-15 Thread Niklaus Giger
Hi First I was surprised that a lot of vxworks return -1 unless running inside a thread created by taskSpawn, e.g. taskIdSelf or taskMCreate return -1. Then I did added a very simple sequence of semMCreate semTake semGive and now semGive returned me -1 (ERROR). This puzzled me even more, as this

Re: [Xenomai-core] [PATCH, RFC] Make ioremap'ed memory available through rtdm_mmap_to_user()

2006-09-15 Thread Jan Kiszka
Stelian Pop wrote: > Hi, > > I need to be able to map an IO memory buffer to userspace from a RTDM > driver. > > rtdm_mmap_to_user() seems to do what I need, but it doesn't work. Its > code thinks that all virtual addresses between VMALLOC_START and > VMALLOC_END are obtained through vmalloc() an

[Xenomai-core] [PATCH, RFC] Make ioremap'ed memory available through rtdm_mmap_to_user()

2006-09-15 Thread Stelian Pop
Hi, I need to be able to map an IO memory buffer to userspace from a RTDM driver. rtdm_mmap_to_user() seems to do what I need, but it doesn't work. Its code thinks that all virtual addresses between VMALLOC_START and VMALLOC_END are obtained through vmalloc() and tries to call xnarch_remap_vm_pag

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 i

[Xenomai-core] Re: [Xenomai-help] Bad EIP kernel-Oops

2006-09-15 Thread Dmitry Adamushko
On 15/09/06, Philippe Gerum <[EMAIL PROTECTED]> wrote: On Fri, 2006-09-15 at 00:12 +0200, Dmitry Adamushko wrote:[...]>> And it's not a good idea to get ipipe_catch_event() buzy spinning as> (as I understand) ipipe_dispatch_event() may take, in general, an > unbounded amount of time.>Actually, this

[Xenomai-core] Re: [Xenomai-help] Bad EIP kernel-Oops

2006-09-15 Thread Philippe Gerum
On Fri, 2006-09-15 at 10:33 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > diff -uNrp 2.6.17-ipipe-1.3-10/kernel/ipipe/core.c > > 2.6.17-ipipe/kernel/ipipe/core.c > > --- 2.6.17-ipipe-1.3-10/kernel/ipipe/core.c 2006-09-15 10:13:15.0 > > +0200 > > +++ 2.6.17-ipipe/kernel/ipipe/core.c

[Xenomai-core] Re: [Xenomai-help] Bad EIP kernel-Oops

2006-09-15 Thread Jan Kiszka
Philippe Gerum wrote: > diff -uNrp 2.6.17-ipipe-1.3-10/kernel/ipipe/core.c > 2.6.17-ipipe/kernel/ipipe/core.c > --- 2.6.17-ipipe-1.3-10/kernel/ipipe/core.c 2006-09-15 10:13:15.0 > +0200 > +++ 2.6.17-ipipe/kernel/ipipe/core.c 2006-09-14 20:09:22.0 +0200 > ... > @@ -638,6 +642,7

[Xenomai-core] Re: [Xenomai-help] Bad EIP kernel-Oops

2006-09-15 Thread Philippe Gerum
On Fri, 2006-09-15 at 00:12 +0200, Dmitry Adamushko wrote: [...] > > And it's not a good idea to get ipipe_catch_event() buzy spinning as > (as I understand) ipipe_dispatch_event() may take, in general, an > unbounded amount of time. > Actually, this is not an issue, since there is no requirem