All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Supported I-pipe versions?
@ 2010-02-16 20:21 Steve Deiters
  2010-02-16 23:42 ` Steve Deiters
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Deiters @ 2010-02-16 20:21 UTC (permalink / raw)
  To: xenomai

Is there a list of supported I-pipe versions, or is it assumed that any
version is compatible with the current versions of Xenomai?  I have a
PowerPC architecture kernel version 2.6.24.6, using the following adeos
patch:
http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2.6
.24.6-powerpc-DENX-2.4-03.patch.
 
I believe this patch was included in the 2.4.10 installer, but I've had
to include this myself for the 2.5.1 installer.
 
The only reason I ask is because with the Xenomai 2.5.1 I now get
exceptions of the type "BUG: scheduling while atomic" for programs that
previously worked in 2.4.10.  I am still trying to track down more
information.  I just wanted to first make sure I am not having problems
due to the version of kernel and adeos patch.  I am still trying to make
a minimal example that exhibits the issue.

This is the stack trace I get for one particular program:
 
[  363.207532] BUG: scheduling while atomic: zc_test/1459/0x00000002
[  363.213683] Call Trace:
[  363.216110] [c7155da0] [c00094e8] show_stack+0x60/0x1a8 (unreliable)
[  363.222616] [c7155de0] [c000965c] dump_stack+0x2c/0x44
[  363.227829] [c7155df0] [c001cee8] __schedule_bug+0x7c/0x94
[  363.233307] [c7155e10] [c02cdfb8] schedule+0x4d4/0x4e0
[  363.238517] [c7155e70] [c0076c60] xnshadow_harden+0xf8/0x178
[  363.244168] [c7155e90] [c0076d90] losyscall_event+0xb0/0x380
[  363.249946] [c7155ee0] [c0061ab0] __ipipe_dispatch_event+0x1d4/0x2b8
[  363.256291] [c7155f30] [c000b2f8] __ipipe_syscall_root+0x54/0x144
[  363.262516] [c7155f40] [c0013d60] DoSyscall+0x20/0x5c
[  363.267640] --- Exception: c01 at 0xffd3c60
[  363.271824]     LR = 0xffd3c04
[  363.297702] BUG: scheduling while atomic: zc_test/1459/0x00000002
[  363.303821] Call Trace:
[  363.306546] [c7155da0] [c00094e8] show_stack+0x60/0x1a8 (unreliable)
[  363.313652] [c7155de0] [c000965c] dump_stack+0x2c/0x44
[  363.318883] [c7155df0] [c001cee8] __schedule_bug+0x7c/0x94
[  363.324359] [c7155e10] [c02cdfb8] schedule+0x4d4/0x4e0
[  363.329626] [c7155e70] [c0076c60] xnshadow_harden+0xf8/0x178
[  363.335275] [c7155e90] [c0076d90] losyscall_event+0xb0/0x380
[  363.341071] [c7155ee0] [c0061ab0] __ipipe_dispatch_event+0x1d4/0x2b8
[  363.347562] [c7155f30] [c000b2f8] __ipipe_syscall_root+0x54/0x144
[  363.353656] [c7155f40] [c0013d60] DoSyscall+0x20/0x5c
[  363.358789] --- Exception: c01 at 0xff38eac
[  363.362974]     LR = 0xff38e14



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai-help] Supported I-pipe versions?
  2010-02-16 20:21 [Xenomai-help] Supported I-pipe versions? Steve Deiters
@ 2010-02-16 23:42 ` Steve Deiters
  2010-02-20  6:05   ` Steve Deiters
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Deiters @ 2010-02-16 23:42 UTC (permalink / raw)
  To: xenomai

Not sure if this is related to my earlier issue, but the following
simple program does not work with my setup described below.  In 2.5.1
the rt_cond_wait always returns immediately with success.  I am
expecting a 10 second delay, followed by an error of ETIMEDOUT.  This
works properly using 2.4.10.

--------------------------
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/mman.h>

#include <native/task.h>
#include <native/mutex.h>
#include <native/cond.h>
#include <native/timer.h>

static RT_COND cond;
static RT_MUTEX mutex;
static RT_TASK rt_main;

int main(int argc, char **argv)
{
   int err;
   mlockall(MCL_CURRENT|MCL_FUTURE);
   rt_task_shadow(&rt_main, "rt_main", 1, 0);

   if(rt_mutex_create(&mutex,NULL) < 0)
   {
      perror("rt_mutex_create");
      exit(EXIT_FAILURE);
   }
   if(rt_cond_create(&cond,NULL) < 0)
   {
      perror("rt_cond_create");
      exit(EXIT_FAILURE);
   }

   rt_mutex_acquire(&mutex,TM_INFINITE);
   err = rt_cond_wait(&cond,&mutex,rt_timer_ns2ticks(10000000000ULL));
   rt_mutex_release(&mutex);

   errno = -err;
   perror("rt_cond_wait");

   rt_cond_delete(&cond);
   rt_mutex_delete(&mutex);

   return 0;
}





-----Original Message-----
From: xenomai-help-bounces@domain.hid [mailto:xenomai-help-bounces@domain.hid]
On Behalf Of Steve Deiters
Sent: Tuesday, February 16, 2010 2:21 PM
To: xenomai@xenomai.org
Subject: [Xenomai-help] Supported I-pipe versions?

Is there a list of supported I-pipe versions, or is it assumed that any
version is compatible with the current versions of Xenomai?  I have a
PowerPC architecture kernel version 2.6.24.6, using the following adeos
patch:
http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2.6
.24.6-powerpc-DENX-2.4-03.patch.
 
I believe this patch was included in the 2.4.10 installer, but I've had
to include this myself for the 2.5.1 installer.
 
The only reason I ask is because with the Xenomai 2.5.1 I now get
exceptions of the type "BUG: scheduling while atomic" for programs that
previously worked in 2.4.10.  I am still trying to track down more
information.  I just wanted to first make sure I am not having problems
due to the version of kernel and adeos patch.  I am still trying to make
a minimal example that exhibits the issue.

This is the stack trace I get for one particular program:
 
[  363.207532] BUG: scheduling while atomic: zc_test/1459/0x00000002 [
363.213683] Call Trace:
[  363.216110] [c7155da0] [c00094e8] show_stack+0x60/0x1a8 (unreliable)
[  363.222616] [c7155de0] [c000965c] dump_stack+0x2c/0x44 [  363.227829]
[c7155df0] [c001cee8] __schedule_bug+0x7c/0x94 [  363.233307] [c7155e10]
[c02cdfb8] schedule+0x4d4/0x4e0 [  363.238517] [c7155e70] [c0076c60]
xnshadow_harden+0xf8/0x178 [  363.244168] [c7155e90] [c0076d90]
losyscall_event+0xb0/0x380 [  363.249946] [c7155ee0] [c0061ab0]
__ipipe_dispatch_event+0x1d4/0x2b8
[  363.256291] [c7155f30] [c000b2f8] __ipipe_syscall_root+0x54/0x144 [
363.262516] [c7155f40] [c0013d60] DoSyscall+0x20/0x5c [  363.267640] ---
Exception: c01 at 0xffd3c60
[  363.271824]     LR = 0xffd3c04
[  363.297702] BUG: scheduling while atomic: zc_test/1459/0x00000002 [
363.303821] Call Trace:
[  363.306546] [c7155da0] [c00094e8] show_stack+0x60/0x1a8 (unreliable)
[  363.313652] [c7155de0] [c000965c] dump_stack+0x2c/0x44 [  363.318883]
[c7155df0] [c001cee8] __schedule_bug+0x7c/0x94 [  363.324359] [c7155e10]
[c02cdfb8] schedule+0x4d4/0x4e0 [  363.329626] [c7155e70] [c0076c60]
xnshadow_harden+0xf8/0x178 [  363.335275] [c7155e90] [c0076d90]
losyscall_event+0xb0/0x380 [  363.341071] [c7155ee0] [c0061ab0]
__ipipe_dispatch_event+0x1d4/0x2b8
[  363.347562] [c7155f30] [c000b2f8] __ipipe_syscall_root+0x54/0x144 [
363.353656] [c7155f40] [c0013d60] DoSyscall+0x20/0x5c [  363.358789] ---
Exception: c01 at 0xff38eac
[  363.362974]     LR = 0xff38e14


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai-help] Supported I-pipe versions?
  2010-02-16 23:42 ` Steve Deiters
@ 2010-02-20  6:05   ` Steve Deiters
  2010-02-20 10:38     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Deiters @ 2010-02-20  6:05 UTC (permalink / raw)
  To: xenomai

Sorry to keep bringing this up, but does anybody know if there are
compatibility issues with Xenomai 2.5.1, PowerPC Linux 2.6.24.6, and the
following adeos patch:
http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2.6
.24.6-powerpc-DENX-2.4-03.patch?

Thanks.


-----Original Message-----
From: xenomai-help-bounces@domain.hid [mailto:xenomai-help-bounces@domain.hid]
On Behalf Of Steve Deiters
Sent: Tuesday, February 16, 2010 5:42 PM
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Supported I-pipe versions?

Not sure if this is related to my earlier issue, but the following
simple program does not work with my setup described below.  In 2.5.1
the rt_cond_wait always returns immediately with success.  I am
expecting a 10 second delay, followed by an error of ETIMEDOUT.  This
works properly using 2.4.10.

--------------------------
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/mman.h>

#include <native/task.h>
#include <native/mutex.h>
#include <native/cond.h>
#include <native/timer.h>

static RT_COND cond;
static RT_MUTEX mutex;
static RT_TASK rt_main;

int main(int argc, char **argv)
{
   int err;
   mlockall(MCL_CURRENT|MCL_FUTURE);
   rt_task_shadow(&rt_main, "rt_main", 1, 0);

   if(rt_mutex_create(&mutex,NULL) < 0)
   {
      perror("rt_mutex_create");
      exit(EXIT_FAILURE);
   }
   if(rt_cond_create(&cond,NULL) < 0)
   {
      perror("rt_cond_create");
      exit(EXIT_FAILURE);
   }

   rt_mutex_acquire(&mutex,TM_INFINITE);
   err = rt_cond_wait(&cond,&mutex,rt_timer_ns2ticks(10000000000ULL));
   rt_mutex_release(&mutex);

   errno = -err;
   perror("rt_cond_wait");

   rt_cond_delete(&cond);
   rt_mutex_delete(&mutex);

   return 0;
}





-----Original Message-----
From: xenomai-help-bounces@domain.hid [mailto:xenomai-help-bounces@domain.hid]
On Behalf Of Steve Deiters
Sent: Tuesday, February 16, 2010 2:21 PM
To: xenomai@xenomai.org
Subject: [Xenomai-help] Supported I-pipe versions?

Is there a list of supported I-pipe versions, or is it assumed that any
version is compatible with the current versions of Xenomai?  I have a
PowerPC architecture kernel version 2.6.24.6, using the following adeos
patch:
http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2.6
.24.6-powerpc-DENX-2.4-03.patch.
 
I believe this patch was included in the 2.4.10 installer, but I've had
to include this myself for the 2.5.1 installer.
 
The only reason I ask is because with the Xenomai 2.5.1 I now get
exceptions of the type "BUG: scheduling while atomic" for programs that
previously worked in 2.4.10.  I am still trying to track down more
information.  I just wanted to first make sure I am not having problems
due to the version of kernel and adeos patch.  I am still trying to make
a minimal example that exhibits the issue.

This is the stack trace I get for one particular program:
 
[  363.207532] BUG: scheduling while atomic: zc_test/1459/0x00000002 [
363.213683] Call Trace:
[  363.216110] [c7155da0] [c00094e8] show_stack+0x60/0x1a8 (unreliable)
[  363.222616] [c7155de0] [c000965c] dump_stack+0x2c/0x44 [  363.227829]
[c7155df0] [c001cee8] __schedule_bug+0x7c/0x94 [  363.233307] [c7155e10]
[c02cdfb8] schedule+0x4d4/0x4e0 [  363.238517] [c7155e70] [c0076c60]
xnshadow_harden+0xf8/0x178 [  363.244168] [c7155e90] [c0076d90]
losyscall_event+0xb0/0x380 [  363.249946] [c7155ee0] [c0061ab0]
__ipipe_dispatch_event+0x1d4/0x2b8
[  363.256291] [c7155f30] [c000b2f8] __ipipe_syscall_root+0x54/0x144 [
363.262516] [c7155f40] [c0013d60] DoSyscall+0x20/0x5c [  363.267640] ---
Exception: c01 at 0xffd3c60
[  363.271824]     LR = 0xffd3c04
[  363.297702] BUG: scheduling while atomic: zc_test/1459/0x00000002 [
363.303821] Call Trace:
[  363.306546] [c7155da0] [c00094e8] show_stack+0x60/0x1a8 (unreliable)
[  363.313652] [c7155de0] [c000965c] dump_stack+0x2c/0x44 [  363.318883]
[c7155df0] [c001cee8] __schedule_bug+0x7c/0x94 [  363.324359] [c7155e10]
[c02cdfb8] schedule+0x4d4/0x4e0 [  363.329626] [c7155e70] [c0076c60]
xnshadow_harden+0xf8/0x178 [  363.335275] [c7155e90] [c0076d90]
losyscall_event+0xb0/0x380 [  363.341071] [c7155ee0] [c0061ab0]
__ipipe_dispatch_event+0x1d4/0x2b8
[  363.347562] [c7155f30] [c000b2f8] __ipipe_syscall_root+0x54/0x144 [
363.353656] [c7155f40] [c0013d60] DoSyscall+0x20/0x5c [  363.358789] ---
Exception: c01 at 0xff38eac
[  363.362974]     LR = 0xff38e14



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai-help] Supported I-pipe versions?
  2010-02-20  6:05   ` Steve Deiters
@ 2010-02-20 10:38     ` Gilles Chanteperdrix
  2010-02-20 18:58       ` Steve Deiters
  0 siblings, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-20 10:38 UTC (permalink / raw)
  To: Steve Deiters; +Cc: xenomai

Steve Deiters wrote:
> Sorry to keep bringing this up, but does anybody know if there are
> compatibility issues with Xenomai 2.5.1, PowerPC Linux 2.6.24.6, and the
> following adeos patch:
> http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2.6
> .24.6-powerpc-DENX-2.4-03.patch?

2.6.24 has a bug which has only be fixed with recent patches. So, even
if you use it with an older Xenomai version, and it seems to work, in
fact it does not.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai-help] Supported I-pipe versions?
  2010-02-20 10:38     ` Gilles Chanteperdrix
@ 2010-02-20 18:58       ` Steve Deiters
  2010-02-20 19:04         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Deiters @ 2010-02-20 18:58 UTC (permalink / raw)
  To: xenomai

> -----Original Message-----
> From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org
> Sent: Saturday, February 20, 2010 4:39 AM
> To: Steve Deiters
> Cc: xenomai@xenomai.org
> Subject: Re: [Xenomai-help] Supported I-pipe versions?
> 
> Steve Deiters wrote:
> > Sorry to keep bringing this up, but does anybody know if there are 
> > compatibility issues with Xenomai 2.5.1, PowerPC Linux 
> 2.6.24.6, and 
> > the following adeos patch:
> > 
> http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2
> > .6
> > .24.6-powerpc-DENX-2.4-03.patch?
> 
> 2.6.24 has a bug which has only be fixed with recent patches. 
> So, even if you use it with an older Xenomai version, and it 
> seems to work, in fact it does not.
> 
> -- 
> 					    Gilles.
> 

Could you elaborate on this a bit more?  Is there a bug in the kernel or
the I-pipe patch?  Should I upgrade the kernel version, or I-pipe, or
both?

Is there a list of supported versions somewhere, or do I assume that it
is not supported if the I-pipe patch is not bundled with the tarball?

Thanks.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai-help] Supported I-pipe versions?
  2010-02-20 18:58       ` Steve Deiters
@ 2010-02-20 19:04         ` Gilles Chanteperdrix
  2010-02-20 21:25           ` Steve Deiters
  0 siblings, 1 reply; 9+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-20 19:04 UTC (permalink / raw)
  To: Steve Deiters; +Cc: xenomai

Steve Deiters wrote:
>> -----Original Message-----
>> From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org] 
>> Sent: Saturday, February 20, 2010 4:39 AM
>> To: Steve Deiters
>> Cc: xenomai@xenomai.org
>> Subject: Re: [Xenomai-help] Supported I-pipe versions?
>>
>> Steve Deiters wrote:
>>> Sorry to keep bringing this up, but does anybody know if there are 
>>> compatibility issues with Xenomai 2.5.1, PowerPC Linux 
>> 2.6.24.6, and 
>>> the following adeos patch:
>>>
>> http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2
>>> .6
>>> .24.6-powerpc-DENX-2.4-03.patch?
>> 2.6.24 has a bug which has only be fixed with recent patches. 
>> So, even if you use it with an older Xenomai version, and it 
>> seems to work, in fact it does not.
>>
>> -- 
>> 					    Gilles.
>>
> 
> Could you elaborate on this a bit more?  Is there a bug in the kernel or
> the I-pipe patch?

The I-pipe patch. For details, search the archives, the bug was
announced publicly on this list.

> Should I upgrade the kernel version, or I-pipe, or
> both?

I do not understand this question.

> 
> Is there a list of supported versions somewhere, or do I assume that it
> is not supported if the I-pipe patch is not bundled with the tarball?

Looks to me like you have not read ksrc/arch/powerpc/patches/README.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai-help] Supported I-pipe versions?
  2010-02-20 19:04         ` Gilles Chanteperdrix
@ 2010-02-20 21:25           ` Steve Deiters
  2010-02-20 21:55             ` Gilles Chanteperdrix
  2010-02-20 22:48             ` Gilles Chanteperdrix
  0 siblings, 2 replies; 9+ messages in thread
From: Steve Deiters @ 2010-02-20 21:25 UTC (permalink / raw)
  To: xenomai

> -----Original Message-----
> From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org
> Sent: Saturday, February 20, 2010 1:04 PM
> To: Steve Deiters
> Cc: xenomai@xenomai.org
> Subject: Re: [Xenomai-help] Supported I-pipe versions?
> 
> Steve Deiters wrote:
> >> -----Original Message-----
> >> From: Gilles Chanteperdrix 
> [mailto:gilles.chanteperdrix@xenomai.org]
> >> Sent: Saturday, February 20, 2010 4:39 AM
> >> To: Steve Deiters
> >> Cc: xenomai@xenomai.org
> >> Subject: Re: [Xenomai-help] Supported I-pipe versions?
> >>
> >> Steve Deiters wrote:
> >>> Sorry to keep bringing this up, but does anybody know if 
> there are 
> >>> compatibility issues with Xenomai 2.5.1, PowerPC Linux
> >> 2.6.24.6, and
> >>> the following adeos patch:
> >>>
> >> 
> http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-
> >> 2
> >>> .6
> >>> .24.6-powerpc-DENX-2.4-03.patch?
> >> 2.6.24 has a bug which has only be fixed with recent patches. 
> >> So, even if you use it with an older Xenomai version, and 
> it seems to 
> >> work, in fact it does not.
> >>
> >> -- 
> >> 					    Gilles.
> >>
> > 
> > Could you elaborate on this a bit more?  Is there a bug in 
> the kernel 
> > or the I-pipe patch?
> 
> The I-pipe patch. For details, search the archives, the bug 
> was announced publicly on this list.

I will check the list archives.

> 
> > Should I upgrade the kernel version, or I-pipe, or both?
> 
> I do not understand this question.

I was simply asking to what the bug you were referring to applies, the
kernel version, or to the I-pipe patch version, and for which one of
these I should look for updates if there is some issue with 2.6.24.6.

> > 
> > Is there a list of supported versions somewhere, or do I 
> assume that 
> > it is not supported if the I-pipe patch is not bundled with 
> the tarball?
> 
> Looks to me like you have not read ksrc/arch/powerpc/patches/README.
> 
> -- 
> 					    Gilles.
> 

I have read that.  In the README it lists the 2.6.24.6-DENX-2.4-03 patch
in the list of older patches, and only makes a note that they are not
guaranteed to work, but likely will as you try to maintain backward
compatibility.  This patch was included in Xenomai 2.4.10 as
'ksrc/arch/powerpc/patches/adeos-ipipe-2.6.24.6-powerpc-DENX-2.4-03.patc
h', which seems to be leading to my confusion as this patch and kernel
version seem to no longer work, and you are telling me it should have
never worked.


So as to not dwell on this issue, is there a recommended version of the
Linux kernel for running a PowerPC?  I was using a branch of the DENX
tree for 2.6.24.6, as it had support for the MPC5121e.  The latest
mainstream kernel that seems to have good support for this is the 2.6.33
series, but I do not see an adeos patch for that version of the kernel
either.  Maybe the 2.6.32 patch will work, but I haven't tried it.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai-help] Supported I-pipe versions?
  2010-02-20 21:25           ` Steve Deiters
@ 2010-02-20 21:55             ` Gilles Chanteperdrix
  2010-02-20 22:48             ` Gilles Chanteperdrix
  1 sibling, 0 replies; 9+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-20 21:55 UTC (permalink / raw)
  To: Steve Deiters; +Cc: xenomai

Steve Deiters wrote:

> I have read that.  In the README it lists the 2.6.24.6-DENX-2.4-03 patch
> in the list of older patches, and only makes a note that they are not
> guaranteed to work, but likely will as you try to maintain backward
> compatibility.  This patch was included in Xenomai 2.4.10 as
> 'ksrc/arch/powerpc/patches/adeos-ipipe-2.6.24.6-powerpc-DENX-2.4-03.patc
> h', which seems to be leading to my confusion as this patch and kernel
> version seem to no longer work, and you are telling me it should have
> never worked.

I told you that it could appear to work, but was in fact buggy.

> 
> 
> So as to not dwell on this issue, is there a recommended version of the
> Linux kernel for running a PowerPC?  I was using a branch of the DENX
> tree for 2.6.24.6, as it had support for the MPC5121e.  The latest
> mainstream kernel that seems to have good support for this is the 2.6.33
> series, but I do not see an adeos patch for that version of the kernel
> either.  Maybe the 2.6.32 patch will work, but I haven't tried it.

The latest mainstream kernel release is 2.6.32, 2.6.33 was not yet
released, as you will find out by connecting to http://www.kernel.org.
So, there is a patch for the latest mainstream kernel release, and it is
included in Xenomai package, so, as said in the README file, you should
get better chances than by using a one year old kernel.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Xenomai-help] Supported I-pipe versions?
  2010-02-20 21:25           ` Steve Deiters
  2010-02-20 21:55             ` Gilles Chanteperdrix
@ 2010-02-20 22:48             ` Gilles Chanteperdrix
  1 sibling, 0 replies; 9+ messages in thread
From: Gilles Chanteperdrix @ 2010-02-20 22:48 UTC (permalink / raw)
  To: Steve Deiters; +Cc: xenomai

Steve Deiters wrote:
>> -----Original Message-----
>> From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org] 
>> Sent: Saturday, February 20, 2010 1:04 PM
>> To: Steve Deiters
>> Cc: xenomai@xenomai.org
>> Subject: Re: [Xenomai-help] Supported I-pipe versions?
>>
>> Steve Deiters wrote:
>>>> -----Original Message-----
>>>> From: Gilles Chanteperdrix 
>> [mailto:gilles.chanteperdrix@xenomai.org]
>>>> Sent: Saturday, February 20, 2010 4:39 AM
>>>> To: Steve Deiters
>>>> Cc: xenomai@xenomai.org
>>>> Subject: Re: [Xenomai-help] Supported I-pipe versions?
>>>>
>>>> Steve Deiters wrote:
>>>>> Sorry to keep bringing this up, but does anybody know if 
>> there are 
>>>>> compatibility issues with Xenomai 2.5.1, PowerPC Linux
>>>> 2.6.24.6, and
>>>>> the following adeos patch:
>>>>>
>> http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-
>>>> 2
>>>>> .6
>>>>> .24.6-powerpc-DENX-2.4-03.patch?
>>>> 2.6.24 has a bug which has only be fixed with recent patches. 
>>>> So, even if you use it with an older Xenomai version, and 
>> it seems to 
>>>> work, in fact it does not.
>>>>
>>>> -- 
>>>> 					    Gilles.
>>>>
>>> Could you elaborate on this a bit more?  Is there a bug in 
>> the kernel 
>>> or the I-pipe patch?
>> The I-pipe patch. For details, search the archives, the bug 
>> was announced publicly on this list.
> 
> I will check the list archives.

The commit I am referring to is:

http://git.denx.de/?p=ipipe-2.6.git;a=commit;h=b1947dc2ed54e0f838965918dbb36cf8c8d97fb6

Which took place in the 2.6.29 development branch. In 2.5.1, you should
not see the bug if you are compiling with unlocked context switches.

I made a public announce for the same problem on ARM, but not for powerpc.


-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-20 22:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 20:21 [Xenomai-help] Supported I-pipe versions? Steve Deiters
2010-02-16 23:42 ` Steve Deiters
2010-02-20  6:05   ` Steve Deiters
2010-02-20 10:38     ` Gilles Chanteperdrix
2010-02-20 18:58       ` Steve Deiters
2010-02-20 19:04         ` Gilles Chanteperdrix
2010-02-20 21:25           ` Steve Deiters
2010-02-20 21:55             ` Gilles Chanteperdrix
2010-02-20 22:48             ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.