From: "M. Koehrer" <mathias_koehrer@domain.hid>
To: gilles.chanteperdrix@xenomai.org, mathias_koehrer@domain.hid
Cc: xenomai@xenomai.org, jan.kiszka@domain.hid
Subject: [Xenomai-help] NMI watchdog: Loading of xeno_native leads to reboot of PC
Date: Tue, 19 Dec 2006 08:54:01 +0100 (CET) [thread overview]
Message-ID: <7145056.1166514841031.JavaMail.ngmail@domain.hid> (raw)
Hi!
Before digging deeper into the issue I have mailed yesterday (see below), I have to solve and
to understand the NMI watchdog feature.
I have enabled the NMI watchdog in the kernel configuration and set the time value to 100 now (100us).
Also, I passed the nmi_watchdog=1 kernel parameter to GRUB.
In dmesg's output I see the line:
Testing NMI watchdog ... OK.
The Xenomai functionality is compiled as modules (as far as it is possible).
Now, I do a
modprobe xeno_nucleus
This looks fine.
Now, I do a
modprobe xeno_native
to load the native skin (I need it for my application to run).
Then the PC reboots directly.
This means I have no chance to start my application as the PC reboots before
I can start it...
I have the impression that some important thing is missing in my test.
The xeno timer is not started after modprobe xenu_nucleus
The contents of /proc/timer is:
status=off:setup=120:tickval=0:jiffies=0
Could this be a reason for the behaviour?
Can I start the timer before loading xeno_native to avoid the NMIs?
Thanks for all help on this topic as without this feature it seems to be impossible
to detect the bug/issue with a freezing system with the latest Xenomai/rtnet and
kernel 2.6.19.1. (see https://mail.gna.org/public/xenomai-help/2006-12/msg00109.html)
Regards
Mathias
----- Original Nachricht ----
Von: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
An: "M. Koehrer" <mathias_koehrer@domain.hid>
Datum: 18.12.2006 16:32
Betreff: Re: Aw: Re: Aw: Re: [RTnet-users] [Xenomai-help] rtnet / Xenomai:
Kernel
> M. Koehrer wrote:
> > O.k,
> >
> > I tried once more with the NMI watchdog stuff.
> > However, it looks as if I do not understand the NMI watchdog correctly...
> > I passed nmi_watchdog=1 as kernel parameter.
> > Now, the NMI watchdog seems to be o.k.
> > I have set the kernel parameter "NMI watchdog latency threshold (us)" to
> 1000000 (1 second).
> > Now I do a modprobe xeno_nucleus.
> > This is o.k.
> > Then I do a modprobe xeno_native.
> > This leads to a watchdog NMI on the console after 1s.
> > "NMI watchdog detected timer latency above 100000us"
> > CPU 1
> > EIP is at mwait_idle 0x23/0x37
> >
> > When I compile the Xenomai functionality directly into the kernel (no
> modules), I never reach
> > the login prompt at my PC as the NMI watchdog from above came first...
> >
> > Well, somehow the NMI stuff seems to work. However, I am not able to start
> my application
> > as my systems gets the NMI before I have the chance to start the
> application...
> > What is wrong here? I think, I miss one piece in the puzzle...
> >
> > Thanks for any support on that strange behaviour.
>
> 1 second is probably way to much and overflow a 32 bits value when
> converted to a processor ticks count. The defaults of 100 us is more
> reasonable.
>
> --
> Gilles Chanteperdrix
>
--
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
next reply other threads:[~2006-12-19 7:54 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-19 7:54 M. Koehrer [this message]
2006-12-19 8:08 ` [Xenomai-help] NMI watchdog: Loading of xeno_native leads to reboot of PC 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 ` [Xenomai-help] Re: Re: A fairly small rtnet/Xenomai application that freezes the M. Koehrer
2006-12-21 9:03 ` [Xenomai-help] " 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=7145056.1166514841031.JavaMail.ngmail@domain.hid \
--to=mathias_koehrer@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--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.