Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-30 Thread Fillod Stephane
Philippe Gerum wrote: [...] This rounding was missing too. We need the previous one for kernel local heaps, and the one below to meet the stricter PAGE_SIZE constraint for shareable heaps. --- ksrc/nucleus/heap.c(revision 3095) +++ ksrc/nucleus/heap.c(working copy) @@ -1103,7

Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-30 Thread Philippe Gerum
Fillod Stephane wrote: Philippe Gerum wrote: [...] This rounding was missing too. We need the previous one for kernel local heaps, and the one below to meet the stricter PAGE_SIZE constraint for shareable heaps. --- ksrc/nucleus/heap.c (revision 3095) +++ ksrc/nucleus/heap.c

Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-27 Thread Philippe Gerum
Fillod Stephane wrote: Philippe Gerum wrote: Fillod Stephane wrote: For the legacy RTAI application to load, the attached patch was necessary. The patch against ksrc/skins/rtai/shm.c is somewhat defeating the purpose of a lower XNCORE_PAGE_SIZE, so a better fix might be expected. This one

Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-25 Thread Fillod Stephane
Philippe Gerum wrote: Fillod Stephane wrote: For the legacy RTAI application to load, the attached patch was necessary. The patch against ksrc/skins/rtai/shm.c is somewhat defeating the purpose of a lower XNCORE_PAGE_SIZE, so a better fix might be expected. This one should prevent -EINVAL

[Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-22 Thread Fillod Stephane
Hi, As Philippe has been suggesting it, I've been testing v2.4-rc4 on x86 (not favourite board though :) with the RTAI skin (not my favourite skin too). Anyway, a legacy RTAI application which was fine with v2.3.2/2.6.20, is now freezing the box randomly in the first 30 seconds. On the other

Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-22 Thread Gilles Chanteperdrix
On 10/22/07, Fillod Stephane [EMAIL PROTECTED] wrote: In the mean time, does anyone have a clue where to look particularly? A case of freeze is a system call called in a loop which fails without its return value being checked. -- Gilles

Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-22 Thread Fillod Stephane
Hi Gilles, Thanks for the quick reply. Gilles Chanteperdrix wrote: A case of freeze is a system call called in a loop which fails without its return value being checked. I forget to say that the RTAI application is running in kernel land, because no port of the RTAI skin has been made yet to

Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-22 Thread Philippe Gerum
Fillod Stephane wrote: Hi, As Philippe has been suggesting it, I've been testing v2.4-rc4 on x86 (not favourite board though :) with the RTAI skin (not my favourite skin too). Anyway, a legacy RTAI application which was fine with v2.3.2/2.6.20, is now freezing the box randomly in the

Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-22 Thread Philippe Gerum
Fillod Stephane wrote: Hi Gilles, Thanks for the quick reply. Gilles Chanteperdrix wrote: A case of freeze is a system call called in a loop which fails without its return value being checked. I forget to say that the RTAI application is running in kernel land, because no port of the

Re: [Xenomai-core] Xenomai v2.4-rc4: freeze with RTAI skin, fine with other skins

2007-10-22 Thread Gilles Chanteperdrix
On 10/22/07, Fillod Stephane [EMAIL PROTECTED] wrote: Hi Gilles, Thanks for the quick reply. Gilles Chanteperdrix wrote: A case of freeze is a system call called in a loop which fails without its return value being checked. I forget to say that the RTAI application is running in kernel