Re: [Xenomai-core] [PATCH 1/2] Introduce xntbase_ns2ticks_ceil

2007-09-07 Thread Philippe Gerum
On Thu, 2007-08-30 at 09:11 +0200, Jan Kiszka wrote: > This introduces a round-up-variant of xntbase_ns2ticks. It is uninlined > for the non-trivial case due to its text size. Its only user will be > RTDM for now, but maybe the POSIX skin can use it as well. > > Philippe, if you accept this one, I

Re: [Xenomai-core] [PATCH] fix 2.4-kernel build warning

2007-09-07 Thread Philippe Gerum
On Thu, 2007-08-30 at 08:27 +0200, Jan Kiszka wrote: > I noticed some warning during a 2.4 build of trunk which may point out > unexpected side effects: > Merged, thanks. > In file included from pod.c:45: > /usr/src/linux-2.4.35.1/include/asm/xenomai/bits/pod.h:32:1: warning: > "xnarch_tsc_to_n

Re: [Xenomai-core] rtdm_iomap_to_user() with PowerPC

2007-09-07 Thread Philippe Gerum
On Thu, 2007-09-06 at 10:45 +0200, Markus Osterried (BA/EDD) wrote: > Hello, > > I want to use rtdm_iomap_to_user() to map our device registers to user > space. > But this doesn't work, our application just crashes when I read from > the mapped registers. > > When I insert the line > >

Re: [Xenomai-core] rtdm_iomap_to_user() with PowerPC

2007-09-07 Thread Johan Borkhuis
Markus Osterried (BA/EDD) wrote: > > Hello, > > I want to use rtdm_iomap_to_user() to map our device registers to user > space. > But this doesn't work, our application just crashes when I read from > the mapped registers. > > When I insert the line > > vma->vm_page_prot = phys_mem_access

Re: [Xenomai-core] Summary: Xenomai 2.3.2 and 2.4 lock-ups and OOPSes

2007-09-07 Thread Philippe Gerum
On Fri, 2007-09-07 at 11:27 +0200, Peter Soetens wrote: > Just in case you hooked off the long discussion about the issues we found from > Xenomai 2.3.2 on: > > o We are using the xeno_native skin, create Xeno tasks and semaphores, but > have strong indications that the crashes are caused by th

[Xenomai-core] Summary: Xenomai 2.3.2 and 2.4 lock-ups and OOPSes

2007-09-07 Thread Peter Soetens
Just in case you hooked off the long discussion about the issues we found from Xenomai 2.3.2 on: o We are using the xeno_native skin, create Xeno tasks and semaphores, but have strong indications that the crashes are caused by the memory allocation scheme of Xenomai in combination with task cr

Re: [Xenomai-core] [PATCH 2/2] Round up in RTDM converting ns to ticks

2007-09-07 Thread Philippe Gerum
On Thu, 2007-08-30 at 09:11 +0200, Jan Kiszka wrote: > As suggested by Markus, this patch lets RTDM round up when nanoseconds > are to be converted to ticks (only relevant if RTDM runs over a > periodic, tick-based timebase). Merged, thanks. > > This is against trunk only, I haven't yet decided

Re: [Xenomai-core] Make watchdog-timer configurable

2007-09-07 Thread Philippe Gerum
On Tue, 2007-09-04 at 15:12 +0200, Johan Borkhuis wrote: > I made the following change to Xenomai (version 2.3.2, but it could also > be applied to 2.4 as the watchdog code has not been changed). > Merged, with forward port to 2.4. Thanks. > The watchdog timeout is fixed at 4 seconds. For us th

Re: [Xenomai-core] Summary: Xenomai 2.3.2 and 2.4 lock-ups and OOPSes

2007-09-07 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > On Fri, 2007-09-07 at 11:27 +0200, Peter Soetens wrote: > > Just in case you hooked off the long discussion about the issues we found > > from > > Xenomai 2.3.2 on: > > > > o We are using the xeno_native skin, create Xeno tasks and semaphores, > > but > > have

Re: [Xenomai-core] Summary: Xenomai 2.3.2 and 2.4 lock-ups and OOPSes

2007-09-07 Thread Gilles Chanteperdrix
On 9/7/07, Gilles Chanteperdrix <[EMAIL PROTECTED]> wrote: > Philippe Gerum wrote: > > On Fri, 2007-09-07 at 11:27 +0200, Peter Soetens wrote: > > > Just in case you hooked off the long discussion about the issues we > found from > > > Xenomai 2.3.2 on: > > > > > > o We are using the xeno_na