Hi Jan! I have modified my test to use a sleep(1) at the end of the task functions. I have enclosed the strace logs to this mail. The file strace.tls is the one that uses the /lib/tls/... libraries. The file strace is the one that uses the /lib/... libraries.
I hope that helps... BTW: I have updated to the latest SVN version of Xenomai (kernel is 2.6.17.7) - the same effect here. Thanks for the feedback! Regards Mathias > > First, I give you some more information about the error. > > The output is the following: > > Hi, I am task A Hello > > Hi, I am task B World > > Main waits for A > > This is the end of A > > Main waits for B > > > > Then the system hangs. > > You mean completely? Or just that application? Please enable the Xenomai > watchdog to see if we have a run-away RT thread in that case. Only the application hangs! > > > > > I have done two tests to verify if there is an SMP issue. > > First, I have set all CPUs in use with the application to CPU 0. > > There was no change. However, I am able to stop the application with > CTRL-C > > and everything is cleaned up fine. > > > > Then, I have modified the BIOS settings of the PC to disable > Hyperthreading. > > [Which is recommended anyway to keep latencies bounded - HT is evil for > RT!] > > > Again, no change. The same effect as with the test before. > > > > The strange thing here is, when I use the original test (main on CPU 0, rt > tasks on CPU 1) > > on a SMP machine, I am not able to terminate the application with CTRL-C. > > I have to reboot the PC. > > > > That means, there seems to be a relation to SMP... > > Probably in so far that the symptom changes. But !SMP doesn't make it go > away. > > > > > Another thing I have detected: > > When I modify the program to replace the final rt_task_delete by > > a sleep(1) call everything runs perfectly again. > > Ok, could you try on a non-hanging setup to grab what is happening via > strace? -- 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 44,85 inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2
strace.tgz
Description: Binary data
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
