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

3. I tried kernel 2.6.20.2 and the same (SMP) configuration as with 2.6.19.2
I used the Xenomai subversion #2292 and the adeos patch that is in subversion
(adeos-ipipe-2.6.20-i386-1.7-02.patch).
And with that combination it is working! I get the expected "Segmentation 
fault" message.
I don't know why, but it seems to be working!

I will try to use the same Xenomai svn version on the 2.6.19.2 to see if this 
is a 2.6.19 issue...

Regards

Mathias




-- 
Mathias Koehrer
[EMAIL PROTECTED]


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  39,85 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

Attachment: linux_config.gz
Description: GNU Zip compressed data

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

Reply via email to