public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how to debug watchdog reset problems
@ 2015-07-09 20:09 Ryan
  2015-07-10  1:54 ` Mike Galbraith
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan @ 2015-07-09 20:09 UTC (permalink / raw)
  To: linux-kernel

Hello,

I am using a 3.10 kernel on a product. As soon as i get the shell
prompt is displayed - The serial console freezes indicating an
apparent hang
and watchdog does a hardware reset.


I wanted to check if there is a way of debugging such an issue. I know
that record saying "entering function" and "exiting function"
somewhere
in the memory which i could access after reset and then find out who
cause the freeze.

However, then i need to add such an instrumentation to the whole
kernel. which is very time consuming and a real pain.

Could anyone suggest a better way of debugging kernel freeze.


Thanks and Regards,
Ryan.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to debug watchdog reset problems
  2015-07-09 20:09 how to debug watchdog reset problems Ryan
@ 2015-07-10  1:54 ` Mike Galbraith
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Galbraith @ 2015-07-10  1:54 UTC (permalink / raw)
  To: Ryan; +Cc: linux-kernel

On Fri, 2015-07-10 at 01:39 +0530, Ryan wrote:

> Could anyone suggest a better way of debugging kernel freeze.

If the serial console is locking up on you, you could try netconsole.

	-Mike


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-10  1:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 20:09 how to debug watchdog reset problems Ryan
2015-07-10  1:54 ` Mike Galbraith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox