* How to debug system freeze (not detected by kernel debug options)
@ 2012-11-09 2:19 Jongman Heo
2012-11-09 11:08 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Jongman Heo @ 2012-11-09 2:19 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 843 bytes --]
Dear kernel hackers,
I have a problem in SMP environment, in x86 platform (Intel Atom based embedded system)
In UP, there is no issue, but in SMP, system freezed in tens of minutes (or shorter), if I perform IO test with flash memory and HDD simultaneously (using dd).
I enabled relevant kernel debug options, like LOCKDEP, DETECT_SOFTLOCKUP, DETECT_HUNG_TASK, along with "nmi_watchdog=1".
(Yeah, this is somewhat old kernel, 2.6.35.14).
But no debug message is shown. (I had checked that NMI interrupt count correctly increase.).
Do you have any thoughts what can cause system freeze without being detected by LOCKDEP, watchdog, and other options.
Thanks in advance,
Jongman.ÿôèº{.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¥
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to debug system freeze (not detected by kernel debug options)
2012-11-09 2:19 How to debug system freeze (not detected by kernel debug options) Jongman Heo
@ 2012-11-09 11:08 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2012-11-09 11:08 UTC (permalink / raw)
To: jongman.heo; +Cc: linux-kernel@vger.kernel.org
On Fri, 09 Nov 2012 02:19:33 +0000 (GMT)
Jongman Heo <jongman.heo@samsung.com> wrote:
>
> Dear kernel hackers,
>
> I have a problem in SMP environment, in x86 platform (Intel Atom based embedded system)
>
> In UP, there is no issue, but in SMP, system freezed in tens of minutes (or shorter), if I perform IO test with flash memory and HDD simultaneously (using dd).
>
> I enabled relevant kernel debug options, like LOCKDEP, DETECT_SOFTLOCKUP, DETECT_HUNG_TASK, along with "nmi_watchdog=1".
> (Yeah, this is somewhat old kernel, 2.6.35.14).
>
> But no debug message is shown. (I had checked that NMI interrupt count correctly increase.).
>
> Do you have any thoughts what can cause system freeze without being detected by LOCKDEP, watchdog, and other options.
Hardware problems, firmware bugs, PATA controller hangs, some
classes of PCI device hang, certain cases where for some reason the crash
is so bad the kernel can't get the message out even though it has detected
the failure.
A good starting point is probably "can you make two identical systems do
it". If you've got a pair of boards which fed the same software set and
have the same flash and hdd crash in the same way its unlikely to be a
faulty board.
You may find it useful to make the NMI timeout handler trigger a directly
detectable event via an I/O port if your platform has a buzzer or LED
directly I/O mapped somewhere.
Failing that the fastest approach may be to use hardware debugging aids
if you have access to them for that platform.
Alan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-09 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-09 2:19 How to debug system freeze (not detected by kernel debug options) Jongman Heo
2012-11-09 11:08 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox