On Wed, 2007-03-14 at 09:17 +0100, M. Koehrer wrote:
> Hi all,
> 
> thanks for all the feedback on that issue.
> Since yesterday I did a couple of tests on kernel 2.6.19.2
> 1. I used the adeos patch provided with xenomai-2.3.0 
> SMP mode => freeze with my program. I have enclosed the kernel config for 
> this one
> UP mode => freeze with my program
> 
> 2. I added the patch from Philippe (the second one):
> 
> --- ksrc/nucleus/pod.c                 (revision 2293)
> +++ ksrc/nucleus/pod.c                 (working copy)
> @@ -1420,6 +1420,11 @@
>                                   the KICKED bit set, so that 
> xnshadow_relax() is never
>                                   prevented from blocking the current thread. 
> */
>                                if (xnthread_test_info(thread, XNKICKED)) {
> +                                              XENO_ASSERT(NUCLEUS, (mask & 
> XNRELAX) == 0,
> +                                                                  
> xnpod_fatal("Relaxing a kicked thread"
> +                                                                             
>                  "(thread=%s, mask=%lx)?!",
> +                                                                             
>                  thread->name, mask);
> +                                                              );
>                                                xnthread_clear_info(thread, 
> XNRMID | XNTIMEO);
>                                                xnthread_set_info(thread, 
> XNBREAK);
>                                                goto unlock_and_exit;
> 
> I used this patch on the UP kernel 2.6.19.2. Same adeos version as before.
> The result  was the same => PC freeze
> 

Make sure to switch on the nucleus debug option, so that this code
triggers if appropriate.

-- 
Philippe.



_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to