mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joerg Sommrey <jo175@sommrey.de>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: nmi watchdog failure on dual Athlon box
Date: Tue, 28 Sep 2004 20:31:03 +0200	[thread overview]
Message-ID: <20040928183103.GA10593@sommrey.de> (raw)
In-Reply-To: <Pine.LNX.4.58L.0409281802270.32231@blysk.ds.pg.gda.pl>

On Tue, Sep 28, 2004 at 06:08:37PM +0100, Maciej W. Rozycki wrote:
> On Tue, 28 Sep 2004, Joerg Sommrey wrote:
> 
> > just tried Ingo's "lockupcli" nmi watchdog test - it fails to unlock the
> > box.
> > 
> > boot-parm:
> > ...nmi_watchdog=2...
> 
>  The local APIC NMI watchdog has limited capabilities.  It may fail to 
> trigger for certain lockups because there is no available event that would 
> happen periodically regardless of the CPU state.  I can only suspect what 
> "lockupcli" does (where is it available from, anyway?), but if it runs 
> "cli; hlt", then the watchdog *will* fail.

Here's the quote from Ingo's mail:
In <2Jo20-7ry-33@gated-at.bofh.it> Ingo Molnar <mingo@elte.hu> writes:
|once the NMI watchdog is up and running it should catch all hard lockups
|and print backtraces to the serial console - even if you are within X
|while the lockup happens. You can test hard lockups by running the
|attached 'lockupcli' userspace code as root - it turns off interrupts
|and goes into an infinite loop => instant lockup. The NMI watchdog
|should notice this condition after a couple of seconds and should abort
|the task, printing a kernel trace as well. Your box should be back in
|working order after that point.

[...]

|--- lockupcli.c
|
|main ()
|{
|	iopl(3);
|	for (;;) asm("cli");
|}

Does this mean there is a good reason for further investigations on why
the IO-APIC NMI watchdog doesn't work? Until now I thought it would
be ok as long as the local APIC NMI watchdog is set up.

-jo

-- 
-rw-r--r--  1 jo users 63 2004-09-28 18:42 /home/jo/.signature

  reply	other threads:[~2004-09-28 18:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-28 16:33 Joerg Sommrey
2004-09-28 17:08 ` Maciej W. Rozycki
2004-09-28 18:31   ` Joerg Sommrey [this message]
2004-09-28 21:08     ` Maciej W. Rozycki
2004-09-29 20:27       ` Joerg Sommrey
2004-09-28 20:20 ` Chris Wedgwood

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=20040928183103.GA10593@sommrey.de \
    --to=jo175@sommrey.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macro@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome