Re: [Xenomai-core] CONFIG_XENO_HW_UNLOCKED_SWITCH=y causes random process corruption in xenomai 2.6.0 on powerpc.

2012-01-04 Thread Philippe Gerum
On 12/23/2011 06:33 PM, Lennart Sorensen wrote: > After spending quite a while trying to explain how things like /bin/echo > could possibly segfault, I finally discovered that the new feature in > xenomai 2.6.0 (new when moving from 2.4.10 that is) of having preemptible > context switches is what i

Re: [Xenomai-core] CONFIG_XENO_HW_UNLOCKED_SWITCH=y causes random process corruption in xenomai 2.6.0 on powerpc.

2011-12-23 Thread Philippe Gerum
On 12/23/2011 10:55 PM, Lennart Sorensen wrote: On Fri, Dec 23, 2011 at 10:48:29PM +0100, Philippe Gerum wrote: Is it reproducible with the basic latency or cyclic tests if waiting for long enough? Running ltp in parallel would trigger a decent load, but sometimes two shell loops forking command

Re: [Xenomai-core] CONFIG_XENO_HW_UNLOCKED_SWITCH=y causes random process corruption in xenomai 2.6.0 on powerpc.

2011-12-23 Thread Lennart Sorensen
On Fri, Dec 23, 2011 at 10:48:29PM +0100, Philippe Gerum wrote: > Is it reproducible with the basic latency or cyclic tests if waiting > for long enough? Running ltp in parallel would trigger a decent > load, but sometimes two shell loops forking commands in the > background are enough to trigger a

Re: [Xenomai-core] CONFIG_XENO_HW_UNLOCKED_SWITCH=y causes random process corruption in xenomai 2.6.0 on powerpc.

2011-12-23 Thread Philippe Gerum
On 12/23/2011 09:25 PM, Lennart Sorensen wrote: On Fri, Dec 23, 2011 at 09:08:11PM +0100, Philippe Gerum wrote: Do you have a typical test scenario which triggers this bug? It can take a couple of hours under pretty heavy load to get one occourance. But with preemptible context swiches off we

Re: [Xenomai-core] CONFIG_XENO_HW_UNLOCKED_SWITCH=y causes random process corruption in xenomai 2.6.0 on powerpc.

2011-12-23 Thread Lennart Sorensen
On Fri, Dec 23, 2011 at 09:08:11PM +0100, Philippe Gerum wrote: > Do you have a typical test scenario which triggers this bug? It can take a couple of hours under pretty heavy load to get one occourance. But with preemptible context swiches off we haven't seen any in a week. For sure xenomai tas

Re: [Xenomai-core] CONFIG_XENO_HW_UNLOCKED_SWITCH=y causes random process corruption in xenomai 2.6.0 on powerpc.

2011-12-23 Thread Philippe Gerum
On 12/23/2011 07:32 PM, Lennart Sorensen wrote: On Fri, Dec 23, 2011 at 07:17:09PM +0100, Philippe Gerum wrote: Papering over a bug this way is certainly not an option. Long term it certainly isn't. Which kernel version, what ppc hardware? 3.0.13, 3.0.9, 3.0.8. mpc8360e. xenomai 2.6.0 wi

Re: [Xenomai-core] CONFIG_XENO_HW_UNLOCKED_SWITCH=y causes random process corruption in xenomai 2.6.0 on powerpc.

2011-12-23 Thread Lennart Sorensen
On Fri, Dec 23, 2011 at 07:17:09PM +0100, Philippe Gerum wrote: > Papering over a bug this way is certainly not an option. Long term it certainly isn't. > Which kernel version, what ppc hardware? 3.0.13, 3.0.9, 3.0.8. mpc8360e. xenomai 2.6.0 with ipipe 3.0.8-powerpc-2.13-04 -- Len Sorensen

Re: [Xenomai-core] CONFIG_XENO_HW_UNLOCKED_SWITCH=y causes random process corruption in xenomai 2.6.0 on powerpc.

2011-12-23 Thread Philippe Gerum
On 12/23/2011 06:33 PM, Lennart Sorensen wrote: After spending quite a while trying to explain how things like /bin/echo could possibly segfault, I finally discovered that the new feature in xenomai 2.6.0 (new when moving from 2.4.10 that is) of having preemptible context switches is what is corr