[Xenomai-core] kernel BUG running cyclictest on powerpc 405

2007-10-25 Thread Steven A. Falco
I have built a 2.6.23-rc7 kernel (from Denx git) with Xenomai 2.4-rc3. Architecture is powerpc, processor is a 405GP. I had to make some additions to arch/powerpc/kernel/head_40x.S, and I can submit a patch if someone tells me where to post it. However, while the kernel boots and runs, the

Re: [Xenomai-core] kernel BUG running cyclictest on powerpc 405

2007-10-25 Thread Philippe Gerum
Steven A. Falco wrote: I have built a 2.6.23-rc7 kernel (from Denx git) with Xenomai 2.4-rc3. Architecture is powerpc, processor is a 405GP. I had to make some additions to arch/powerpc/kernel/head_40x.S, and I can submit a patch if someone tells me where to post it. Here would be nice,

Re: [Xenomai-core] kernel BUG running cyclictest on powerpc 405

2007-10-25 Thread Steven A. Falco
Thanks! I'll try your patch and report if I still have trouble. I've attached my patch for PPC405. Steve Philippe Gerum wrote: Steven A. Falco wrote: I have built a 2.6.23-rc7 kernel (from Denx git) with Xenomai 2.4-rc3. Architecture is powerpc, processor is a 405GP. I had to make

Re: [Xenomai-core] kernel BUG running cyclictest on powerpc 405

2007-10-25 Thread Philippe Gerum
Steven A. Falco wrote: Thanks! I'll try your patch and report if I still have trouble. I've attached my patch for PPC405. Thanks. You may also want to upgrade to this I-pipe patch; it should apply properly against -rc7:

Re: [Xenomai-core] kernel BUG running cyclictest on powerpc 405

2007-10-25 Thread Steven A. Falco
I upgraded to the new ipipe patch and your uic fix. Attached is a new patch I needed - without it, I get the error message: .../include/linux/ipipe.h:298: warning: 'struct mm_struct' declared inside parameter list .../include/linux/ipipe.h:298: warning: its scope is only this definition or

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] Proposed arch/powerpc/sysdev/uic.c patch

2007-10-25 Thread Steven A. Falco
I applied the uic patch: diff --git a/arch/powerpc/sysdev/uic.c b/arch/powerpc/sysdev/uic.c index eeb38e2..5a38086 100644 --- a/arch/powerpc/sysdev/uic.c +++ b/arch/powerpc/sysdev/uic.c @@ -48,7 +48,7 @@ struct uic { int index; int dcrbase; - spinlock_t lock; +

Re: [Xenomai-core] Proposed arch/powerpc/sysdev/uic.c patch

2007-10-25 Thread Philippe Gerum
Steven A. Falco wrote: I applied the uic patch: diff --git a/arch/powerpc/sysdev/uic.c b/arch/powerpc/sysdev/uic.c index eeb38e2..5a38086 100644 --- a/arch/powerpc/sysdev/uic.c +++ b/arch/powerpc/sysdev/uic.c @@ -48,7 +48,7 @@ struct uic { int index; int dcrbase; -

Re: [Xenomai-core] Proposed arch/powerpc/sysdev/uic.c patch

2007-10-25 Thread Jan Kiszka
Philippe Gerum wrote: Steven A. Falco wrote: I applied the uic patch: diff --git a/arch/powerpc/sysdev/uic.c b/arch/powerpc/sysdev/uic.c index eeb38e2..5a38086 100644 --- a/arch/powerpc/sysdev/uic.c +++ b/arch/powerpc/sysdev/uic.c @@ -48,7 +48,7 @@ struct uic { int index; int

Re: [Xenomai-core] Proposed arch/powerpc/sysdev/uic.c patch

2007-10-25 Thread Philippe Gerum
Jan Kiszka wrote: Philippe Gerum wrote: Steven A. Falco wrote: I applied the uic patch: diff --git a/arch/powerpc/sysdev/uic.c b/arch/powerpc/sysdev/uic.c index eeb38e2..5a38086 100644 --- a/arch/powerpc/sysdev/uic.c +++ b/arch/powerpc/sysdev/uic.c @@ -48,7 +48,7 @@ struct uic { int

[Xenomai-core] Compile-time patch for mm_struct

2007-10-25 Thread Steven A. Falco
I needed the following patch to fix a forward reference (caught by gcc 4.1.1). I posted this as part of an earlier discussion, but I then realized that it might be overlooked, so I'm reposting it as a new thread: --- /home/sfalco/ipipe.h2007-10-25 12:59:12.0 -0400 +++

Re: [Xenomai-core] Compile-time patch for mm_struct

2007-10-25 Thread Philippe Gerum
Steven A. Falco wrote: I needed the following patch to fix a forward reference (caught by gcc 4.1.1). I posted this as part of an earlier discussion, but I then realized that it might be overlooked, so I'm reposting it as a new thread: Thanks. This one was caught a few days back and only

Re: [Xenomai-core] Compile-time patch for mm_struct

2007-10-25 Thread Philippe Gerum
Philippe Gerum wrote: Steven A. Falco wrote: I needed the following patch to fix a forward reference (caught by gcc 4.1.1). I posted this as part of an earlier discussion, but I then realized that it might be overlooked, so I'm reposting it as a new thread: Thanks. This one was caught a

Re: [Xenomai-core] Compile-time patch for mm_struct

2007-10-25 Thread Steven A. Falco
Thank you very much. I hate to make extra work for you - is there a git repository for adeos-ipipe that I should be pulling from? Steve Philippe Gerum wrote: Philippe Gerum wrote: Steven A. Falco wrote: I needed the following patch to fix a forward reference (caught by gcc