From: Don Zickus <dzickus@redhat.com>
To: linux-watchdog@vger.kernel.org
Cc: kexec@lists.infradead.org, vgoyal@redhat.com, amwang@redhat.com
Subject: watchdogs and kdump
Date: Thu, 27 Oct 2011 16:30:29 -0400 [thread overview]
Message-ID: <20111027203029.GR3452@redhat.com> (raw)
Hi,
I was assisting a customer the other day debugging a kdump[1] problem, when we
noticed the real problem was the hardware watchdog was firing and
rebooting the box.
Of course, this can be inconvienant if the panic happens right before the
watchdog is supposed to be kicked, leading to a spontaneous reboot before
the second kernel finishes booting and loading the watchdog module.
I was trying to think of a way to solve this and thought, one way to
minimize the problem is to kick the watchdog before we jump into the kdump
kernel. Another way is to disable the watchdog entirely, but that doesn't
work on all hardware I believe.
Anyway, I was posting on the watchdog mailing list to see if anyone had any
ideas that might help. And if my above idea to kick the watchdog before
jumping into the kdump kernel seems ok, then an api would need to be
developed.
I am willing to do any coding and testing necessary, but before I did, I
wanted help to get a direction to go in first.
Thoughts?
Cheers,
Don
[1] - I am ignorantly assuming everyone knows what kdump is. Kdumping is
the ability to jump into a previously loaded kernel in the case of a
panic. This kdump (second) kernel would run in reserved memory, copy the
first kernel's memory to a file and save it to a pre-determined location.
There is no system reboot in between the first and second kernel, so no
chance for the watchdog to disarm itself.
next reply other threads:[~2011-10-27 20:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 20:30 Don Zickus [this message]
2011-10-27 21:43 ` watchdogs and kdump Pádraig Brady
2011-10-28 13:39 ` Don Zickus
2011-10-28 15:46 ` Alejandro Cabrera
2011-10-28 15:48 ` Don Zickus
2011-10-28 16:13 ` Alejandro Cabrera
2011-10-28 16:22 ` Don Zickus
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=20111027203029.GR3452@redhat.com \
--to=dzickus@redhat.com \
--cc=amwang@redhat.com \
--cc=kexec@lists.infradead.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=vgoyal@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).