From: Baoquan He <bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Does dracut need start watchdog?
Date: Tue, 10 Dec 2013 16:21:48 +0800 [thread overview]
Message-ID: <52A6CF1C.50206@redhat.com> (raw)
In-Reply-To: <52049855.6050308-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On 08/09/2013 03:20 PM, Harald Hoyer wrote:
> On 08/05/2013 12:19 PM, Baoquan He wrote:
>> Hi Harald,
>>
>> Since some drivers do the soft kicking. That is if BIOS has enabled
>> watchdog, then kernel driver kicks the hardware till user space watchdog
>> daemon comes along. This can help sove the problem in kdump which kdump
>> kernel reboot before vmcore saving is finished. That problem is
>> triggered because watchdog started in 1st kernel and timeout because of
>> stopping being kicked.
>>
>> I noticed in 04watchdog the watchdog.sh will start watchdog if
>> /dev/watchdog exists. I am just wondering if it's needed to start
>> watchdog by accessing /dev/watchdog. If starting watchdog is not needed,
>> I want to make some code change of watchdog.sh.
>>
>> What's your suggestion?
>>
>> Baoquan
>> Thanks a lot
>
> Basically the 04watchdog module was used only in the testsuite. You might
> consider to use the systemd watchdog feature instead.
>
> http://0pointer.de/blog/projects/watchdog.html
>
> or, if 0pointer is down again:
>
> http://webcache.googleusercontent.com/search?q=cache:jYfJU_fFZy8J:0pointer.de/blog/projects/watchdog.html
Hi,
I tried your suggestion, systemd can't help.
In /etc/systemd/system.conf, there are 2 options to control watchdog,
however it need watchdog hardware to be present. That means watchdog
driver need be loaded during startup.
Baoquan
Thanks
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2013-12-10 8:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-05 10:19 Does dracut need start watchdog? Baoquan He
[not found] ` <20130805101929.GA26184-je1gSBvt1Td8jiCoVU1BWR/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2013-08-09 7:20 ` Harald Hoyer
[not found] ` <52049855.6050308-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-12-10 8:21 ` Baoquan He [this message]
[not found] ` <52A6CF1C.50206-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-12-10 11:43 ` Harald Hoyer
[not found] ` <52A6FE79.3050000-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-12-11 7:58 ` Baoquan He
[not found] ` <20131211075800.GD8495-je1gSBvt1TeLcxizHhUEZR/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2013-12-16 2:53 ` Baoquan He
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=52A6CF1C.50206@redhat.com \
--to=bhe-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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