mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ray Lee" <ray-lk@madrabbit.org>
To: "Lee Howard" <faxguy@howardsilvan.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: troubleshooting/debugging hard locks
Date: Wed, 14 May 2008 15:43:46 -0700	[thread overview]
Message-ID: <2c0942db0805141543n20e6eb6eq5fe13fe1cb50d67e@mail.gmail.com> (raw)
In-Reply-To: <482B3D21.5020903@howardsilvan.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 4130 bytes --]

On Wed, May 14, 2008 at 12:27 PM, Lee Howard <faxguy@howardsilvan.com> wrote:> (Please reply also directly to my e-mail address since I am not subscribed> to the list.)>>  Hello,>>  I am using Fedora 9 (and have been for the last few weeks of the "preview"> period... constantly updating if possible) and testing for a fax server> using Mainpine IQ Express (PCIe) multi-modem fax cards (they use the 8250> serial driver).>>  My testing involves queuing up and sending 2000 fax jobs using HylaFAX+> 5.2.4 to send out on two ports (1000 jobs on each port) of a 4-port card -> receiving those calls on the other two ports.>>  This exact hardware works perfectly fine with similar testing in Windows XP> Pro SP2.  However, usually on Fedora 9 (and even occasionally on Fedora 8)> the system will lock up hard (i.e. the Numlock key does not light up the LED> on the keyboard and SysReq keys do nothing) somewhere during the process.> This happens infrequently when the OS is Fedora 8 and usually (but not> always) when using Fedora 9.>>  There are no kernel messages on the monitor.  I've set up a remote serial> console on ttyS0, and there are usually no messages there, either, when this> happens.  Twice I did get messages that looked like a lot of this:>>  CPU1: Temperature above threshold, cpu clock throttled (total events = 1)>  CPU0: Temperature/speed normal>  CPU1: Temperature above threshold, cpu clock throttled (total events = 275)>  CPU0: Temperature/speed normal>  CPU1: Temperature above threshold, cpu clock throttled (total events = 577)>  CPU0: Temperature/speed normal>  CPU1: Temperature above threshold, cpu clock throttled (total events = 696)>  CPU0: Temperature/speed normal>>  ... but there was nothing more.  The side of the system chassis is removed,> the fans are moving, and the hard lock still occurs even if I point a large> fan at the open system and prevent the temperature warnings from occurring.> I've used sensors to monitor the temperature during the test with the> external fan pointed at the open system, and the temperatures stay roughly> as this:>>  [root@localhost ~]# sensors>  it8718-isa-0290>  Adapter: ISA adapter>  in0:         +1.23 V  (min =  +0.00 V, max =  +4.08 V)  in1:         +1.82> V  (min =  +0.00 V, max =  +4.08 V)  in2:         +3.26 V  (min =  +0.00 V,> max =  +4.08 V)  in3:         +2.94 V  (min =  +0.00 V, max =  +4.08 V)> in4:         +0.00 V  (min =  +0.00 V, max =  +4.08 V)   ALARM>  in5:         +0.00 V  (min =  +0.00 V, max =  +4.08 V)   ALARM>  in6:         +1.28 V  (min =  +0.00 V, max =  +4.08 V)  in7:         +3.07> V  (min =  +0.00 V, max =  +4.08 V)  in8:         +3.28 V>  fan1:        688 RPM  (min =    0 RPM)>  fan2:          0 RPM  (min =    0 RPM)>  fan3:          0 RPM  (min =    0 RPM)>  temp1:       +37.0°C  (low  = +127.0°C, high = +127.0°C)  sensor => transistor>  temp2:       +30.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal> diode>  temp3:        -2.0°C  (low  = +127.0°C, high = +127.0°C)  sensor => transistor>  cpu0_vid:   +1.063 V>>  So I tend to think that the temperature warnings are a result of a looming> hard-lock or they're simply a red herring.>>  But, without kernel messages indicating where to look to debug... what is> the best approach to start troubleshooting and debugging this condition?  Is> there some general debug feature that can be enabled in the kernel that> would help hone in on the culprit?
There's something called the NMI watchdog, that will print debuggingmessages out if it finds the system has hard locked. The short versionis that you should add "nmi_watchdog=1" (no quotes) to the line inGRUB that has the kernel options. That assumes you have an APIC on thesystem. If that's not the case (you're on Uniprocessor, and no APIC)then you can try nmi_watchdog=2 instead. That'll only work on somesystems, though.
Better docs (than my cheesy writeup) are inDocumentation/nmi_watchdog.txt in the kernel source distribution.ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

  reply	other threads:[~2008-05-14 22:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 19:27 Lee Howard
2008-05-14 22:43 ` Ray Lee [this message]
2008-05-14 23:42   ` Zan Lynx
2008-05-15  3:43     ` Lee Howard
2008-05-20 20:47       ` Lee Howard
2008-05-20 21:19         ` Ray Lee

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=2c0942db0805141543n20e6eb6eq5fe13fe1cb50d67e@mail.gmail.com \
    --to=ray-lk@madrabbit.org \
    --cc=faxguy@howardsilvan.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®