All of lore.kernel.org
 help / color / mirror / Atom feed
From: "M. Koehrer" <mathias_koehrer@domain.hid>
To: jan.kiszka@domain.hid, mathias_koehrer@domain.hid
Cc: xenomai@xenomai.org
Subject: [Xenomai-help] Re: Re: A fairly small rtnet/Xenomai application that freezes the
Date: Thu, 21 Dec 2006 09:48:09 +0100 (CET)	[thread overview]
Message-ID: <15069404.1166690889417.JavaMail.ngmail@domain.hid> (raw)
In-Reply-To: <31078593.1166623877982.JavaMail.ngmail@domain.hid>

Hi Jan,

meanwhile I have done a couple of additional tests.
With one of the PCs I have, I have disabled the Memory Cache to slow it down.
The effect was the very same. 
I have reproduced the behaviour on another PC (also P4, but different mainboard).
The system freezes as well.
And finally, I have found out that printing out a line with printf() directly after the system() call provides
a workaround.Then the system is stable.

I have replaced the system() call where I called rtroute with a simple call to "ls -l" (i.e system("ls -l") ).
Then the system freezes as well.
It looks to me as if a system() call out of the realtime task is not properly handled.
An printf() after the system() call seems to move the system back on track...

Hope that helps a little bit to identify the issue...

Regards

Mathias 

> Hi Jan,
> 
> enclosed is the ethereal dump file.
> Unfortunately I do not have a slow machine... (We try to get the fastest
> machines running...).
> 
> Thanks for checking the application.
> 
> Mathias
> > > after a long debug-reboot-try-again-session I was able to reduce the
> > problem I had
> > > to a very short application that leads to a complete system freeze on a
> > 2.6.19.1 kernel.
> > > As with my PC I am not able to run the NMI stuff within Xenomai, I
> forward
> > the application to you
> > > and the list. Perhaps somebody can try out the enclosed application
> with
> > the latest Xenomai version
> > > on 2.6.19.1.
> > 
> > Thanks for the test case, I will give this a try ASAP.
> > 
> > > Please adjust the IP settings in the C file and in the xenorun script
> to
> > your setup.
> > > It is sufficient to send out UDP frames, if the remote device does not
> > answer this does not hurt.
> > > However the remote device should listen on a specified port to avoid
> ICMP
> > complains about
> > > no-opened UDP ports...
> > > Using Ethereal I monitored the traffic.
> > > Here is the summary of it:
> > > ARP request/response (from the xenorun script)
> > > ARP request/response (from the applicaion)
> > > UDP message to port 18765 (no answer)
> > > 2 seconds later: UDP message to port 18765 (no answer)
> > > 2+5=7 seconds later: ARP request/response (from the application)
> > > 2 seconds later: UDP message to port 18765
> > > Here the system freezes. I do not see the message "Step A".
> > 
> > Could you set me the Ethereal dump for reference? Just in case the test
> > does not kick immediately for me and I need to check the event flow.
> > 
> > > 
> > > One important piece is the system() call out of the realtime
> application
> > to do a rtroute.
> > > When I remove this call, there is no error...
> > > 
> > > 
> > > I am using Xenomai SVN #1969 and the included 2.6.19.1 patch. Pentium 4
> > UP.
> > 
> > Do you have a different (slower) execution platform at hand to check if
> > the CPU speed as influence on the lock-up? I hope it is not the case -
> > makes tracking easier. But it wouldn't be the first time.
> > 
> > > 
> > > Any feedback on this is highly welcome!
> > > 
> > 
> > You will get it.
> > 
> > Thanks again,
> > Jan
> > 
> > 
> 
> -- 
> Mathias Koehrer
> mathias_koehrer@domain.hid
> 


-- 
Mathias Koehrer
mathias_koehrer@domain.hid


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


  reply	other threads:[~2006-12-21  8:48 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-19  7:54 [Xenomai-help] NMI watchdog: Loading of xeno_native leads to reboot of PC M. Koehrer
2006-12-19  8:08 ` Jan Kiszka
2006-12-19  8:14   ` Re: [Xenomai-help] NMI watchdog: Loading of xeno_native leads to M. Koehrer
2006-12-19  8:29     ` Jan Kiszka
2006-12-19  8:59       ` Aw: " M. Koehrer
2006-12-19  9:26         ` [Xenomai-help] NMI watchdog: Loading of xeno_native leads M. Koehrer
2006-12-19  9:36           ` Jan Kiszka
2006-12-19 12:04             ` Aw: " M. Koehrer
2006-12-19 13:05               ` Gilles Chanteperdrix
2006-12-19 13:07               ` Jan Kiszka
2006-12-19 14:13                 ` Aw: " M. Koehrer
2006-12-20 13:25                 ` [Xenomai-help] A fairly small rtnet/Xenomai application that freezes the PC M. Koehrer
2006-12-20 13:58                   ` [Xenomai-help] " Jan Kiszka
2006-12-20 14:11                     ` [Xenomai-help] Aw: " M. Koehrer
2006-12-21  8:48                       ` M. Koehrer [this message]
2006-12-21  9:03                         ` [Xenomai-help] Re: A fairly small rtnet/Xenomai application that freezes the Jan Kiszka
2006-12-21 10:21                           ` M. Koehrer
2006-12-21 10:45                             ` Dmitry Adamushko
2006-12-21 11:19                               ` [Xenomai-help] " M. Koehrer
2006-12-21 11:28                                 ` Philippe Gerum
2006-12-21 11:51                                   ` [Xenomai-help] Re: Re: Re: A fairly small rtnet/Xenomai M. Koehrer
2006-12-21 13:09                                     ` Dmitry Adamushko
2006-12-21 13:36                                       ` [Xenomai-help] " M. Koehrer
2006-12-21 14:13                                         ` Philippe Gerum
2006-12-21 15:00                                           ` [Xenomai-help] " M. Koehrer
2006-12-21 15:17                                             ` Dmitry Adamushko
2006-12-21 15:36                                               ` [Xenomai-help] " M. Koehrer
2006-12-21 15:43                                                 ` Dmitry Adamushko
2006-12-21 18:18                                                   ` [Xenomai-help] " Gilles Chanteperdrix
2006-12-22  9:06                                                     ` [Xenomai-help] " M. Koehrer
2006-12-22  9:24                                                       ` Dmitry Adamushko
2006-12-22  9:24                                                       ` [Xenomai-help] " Gilles Chanteperdrix
2006-12-22  9:38                                                         ` [Xenomai-help] " M. Koehrer
2006-12-22  9:40                                                         ` [Xenomai-help] " Dmitry Adamushko
2006-12-22 10:15                                                           ` Gilles Chanteperdrix
2006-12-22 10:27                                                             ` [Xenomai-help] " M. Koehrer
2006-12-22 10:42                                                               ` Dmitry Adamushko
2006-12-22 11:20                                                               ` Philippe Gerum
2006-12-22 11:40                                                                 ` [Xenomai-help] " M. Koehrer
2006-12-22 12:09                                                                   ` Philippe Gerum
2006-12-27  9:25                                                                   ` [Xenomai-help] " Gilles Chanteperdrix
2006-12-27  9:29                                                                     ` [Xenomai-help] Aw: " M. Koehrer
2006-12-27 10:44                                                                     ` [Xenomai-help] " Philippe Gerum
2007-01-02  8:23                                                                       ` M. Koehrer
2007-01-02  9:53                                                                         ` Philippe Gerum
2007-01-02 14:09                                                                           ` Niklaus Giger
2007-01-04 20:57                                                                           ` Niklaus Giger
2007-01-05 10:57                                                                             ` Philippe Gerum
2006-12-27 17:32                                                                     ` [Xenomai-help] COW-disable patch Philippe Gerum
2006-12-22 11:03                                                             ` [Xenomai-help] Re: A fairly small rtnet/Xenomai Jan Kiszka
2006-12-21 15:19                                           ` [Xenomai-help] Re: Re: Re: " M. Koehrer
2006-12-21 16:50                                             ` Jan Kiszka
2006-12-21 16:54                                             ` Philippe Gerum
2006-12-21 17:13                                         ` [Xenomai-help] " Jan Kiszka
2006-12-21 17:47                                           ` Jan Kiszka
2006-12-21 10:53                             ` [Xenomai-help] Re: A fairly small rtnet/Xenomai application that freezes the Gilles Chanteperdrix
2006-12-21 11:35                               ` [Xenomai-help] " M. Koehrer
2006-12-21 12:14                                 ` M. Koehrer
2006-12-21 11:35                               ` [Xenomai-help] " Jan Kiszka
2006-12-21 12:50                                 ` Dmitry Adamushko
2006-12-21 13:26                                   ` Gilles Chanteperdrix
2006-12-21 14:45                                     ` Gilles Chanteperdrix
2006-12-21 15:12                                       ` Dmitry Adamushko
2006-12-22  9:19                                 ` Gilles Chanteperdrix
2006-12-21 12:48                             ` Jan Kiszka
2006-12-19  9:26         ` Aw: Re: [Xenomai-help] NMI watchdog: Loading of xeno_native leads to Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15069404.1166690889417.JavaMail.ngmail@domain.hid \
    --to=mathias_koehrer@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.