From: Aristeu Rozanski <arozansk@redhat.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org, jvillalo@redhat.com
Subject: [PATCH] NMI: fix watchdog failure message
Date: Fri, 15 Aug 2008 08:36:14 -0400 [thread overview]
Message-ID: <20080815123610.GU7154@redhat.com> (raw)
In-Reply-To: <20080815121614.GT7154@redhat.com>
> it just won't work at boot time - the second logic unit will be stuck:
>
> Booting processor 1/2 APIC 0x1
> Initializing CPU#1
> Calibrating delay using timer specific routine.. 5586.12 BogoMIPS (lpj=2793063)
> CPU: Trace cache: 12K uops, L1 D cache: 16K
> CPU: L2 cache: 1024K
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 1
> CPU1: Thermal monitoring enabled (TM1)
> Intel(R) Pentium(R) D CPU 2.80GHz stepping 04
> Brought up 2 CPUs
> testing NMI watchdog ... <4>WARNING: CPU#1: NMI appears to be stuck (0->0)!
while at it...
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
---
arch/x86/kernel/nmi.c | 4 ++++
1 file changed, 4 insertions(+)
--- linus-2.6.orig/arch/x86/kernel/nmi.c 2008-08-12 11:13:35.000000000 -0400
+++ linus-2.6/arch/x86/kernel/nmi.c 2008-08-15 08:33:57.000000000 -0400
@@ -142,11 +142,15 @@ int __init check_nmi_watchdog(void)
if (!per_cpu(wd_enabled, cpu))
continue;
if (get_nmi_count(cpu) - prev_nmi_count[cpu] <= 5) {
+ printk("\n");
printk(KERN_WARNING "WARNING: CPU#%d: NMI "
"appears to be stuck (%d->%d)!\n",
cpu,
prev_nmi_count[cpu],
get_nmi_count(cpu));
+ printk(KERN_WARNING "Please report this to "
+ "linux-kernel@vger.kernel.org and attach "
+ "the output of 'dmesg' command.\n");
per_cpu(wd_enabled, cpu) = 0;
atomic_dec(&nmi_active);
}
next prev parent reply other threads:[~2008-08-15 12:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-14 20:32 [PATCH] perfctr: don't use CCCR_OVF_PMI1 on Pentium 4Ds Aristeu Rozanski
2008-08-15 11:59 ` Ingo Molnar
2008-08-15 12:16 ` Aristeu Rozanski
2008-08-15 12:36 ` Aristeu Rozanski [this message]
2008-08-15 13:36 ` [PATCH] NMI: fix watchdog failure message Ingo Molnar
2008-08-15 14:02 ` Aristeu Rozanski
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=20080815123610.GU7154@redhat.com \
--to=arozansk@redhat.com \
--cc=jvillalo@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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