* [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd
@ 2014-04-25 10:52 Masanari Iida
2014-04-25 13:02 ` Guenter Roeck
2014-04-25 20:38 ` Randy Dunlap
0 siblings, 2 replies; 5+ messages in thread
From: Masanari Iida @ 2014-04-25 10:52 UTC (permalink / raw)
To: wim, linux-watchdog, thomas.mingarelli, linux-kernel; +Cc: Masanari Iida
An agent software called hp-asrd from Hewlett Packard
updates same iLO watchdog timer as hpwdt does update.
So they can not be uses simultaneously.
Add this usage note in hpwdt.txt.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
Documentation/watchdog/hpwdt.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/watchdog/hpwdt.txt b/Documentation/watchdog/hpwdt.txt
index 9488078..719c38d 100644
--- a/Documentation/watchdog/hpwdt.txt
+++ b/Documentation/watchdog/hpwdt.txt
@@ -89,7 +89,8 @@ Last reviewed: 06/02/2009
Hypertransport/CSI Error 31h
-
+hpwdt can not work as expected if hp-asrd is running simultaneously.
+Because both hpwdt and hp-asrd update same iLO watchdog timer.
-- Tom Mingarelli
(thomas.mingarelli@hp.com)
--
2.0.0.rc0.38.g1697bf3
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd
2014-04-25 10:52 [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd Masanari Iida
@ 2014-04-25 13:02 ` Guenter Roeck
2014-04-25 13:06 ` Mingarelli, Thomas
2014-04-25 20:38 ` Randy Dunlap
1 sibling, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2014-04-25 13:02 UTC (permalink / raw)
To: Masanari Iida, wim, linux-watchdog, thomas.mingarelli,
linux-kernel
On 04/25/2014 03:52 AM, Masanari Iida wrote:
> An agent software called hp-asrd from Hewlett Packard
> updates same iLO watchdog timer as hpwdt does update.
> So they can not be uses simultaneously.
> Add this usage note in hpwdt.txt.
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> Documentation/watchdog/hpwdt.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/watchdog/hpwdt.txt b/Documentation/watchdog/hpwdt.txt
> index 9488078..719c38d 100644
> --- a/Documentation/watchdog/hpwdt.txt
> +++ b/Documentation/watchdog/hpwdt.txt
> @@ -89,7 +89,8 @@ Last reviewed: 06/02/2009
>
> Hypertransport/CSI Error 31h
>
> -
> +hpwdt can not work as expected if hp-asrd is running simultaneously.
> +Because both hpwdt and hp-asrd update same iLO watchdog timer.
>
How about adding a note here explaining that hp-asrd is a user space application
from HP (assuming that is what it is) ?
Guenter
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd
2014-04-25 13:02 ` Guenter Roeck
@ 2014-04-25 13:06 ` Mingarelli, Thomas
2014-04-25 14:14 ` Masanari Iida
0 siblings, 1 reply; 5+ messages in thread
From: Mingarelli, Thomas @ 2014-04-25 13:06 UTC (permalink / raw)
To: Guenter Roeck, Masanari Iida, wim@iguana.be,
linux-watchdog@vger.kernel.org
Yes I need to review this before it being submitted. Some confusion here.
-----Original Message-----
From: Guenter Roeck [mailto:linux@roeck-us.net]
Sent: Friday, April 25, 2014 8:03 AM
To: Masanari Iida; wim@iguana.be; linux-watchdog@vger.kernel.org; Mingarelli, Thomas; linux-kernel@vger.kernel.org
Subject: Re: [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd
On 04/25/2014 03:52 AM, Masanari Iida wrote:
> An agent software called hp-asrd from Hewlett Packard updates same iLO
> watchdog timer as hpwdt does update.
> So they can not be uses simultaneously.
> Add this usage note in hpwdt.txt.
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> Documentation/watchdog/hpwdt.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/watchdog/hpwdt.txt
> b/Documentation/watchdog/hpwdt.txt
> index 9488078..719c38d 100644
> --- a/Documentation/watchdog/hpwdt.txt
> +++ b/Documentation/watchdog/hpwdt.txt
> @@ -89,7 +89,8 @@ Last reviewed: 06/02/2009
>
> Hypertransport/CSI Error 31h
>
> -
> +hpwdt can not work as expected if hp-asrd is running simultaneously.
> +Because both hpwdt and hp-asrd update same iLO watchdog timer.
>
How about adding a note here explaining that hp-asrd is a user space application from HP (assuming that is what it is) ?
Guenter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd
2014-04-25 13:06 ` Mingarelli, Thomas
@ 2014-04-25 14:14 ` Masanari Iida
0 siblings, 0 replies; 5+ messages in thread
From: Masanari Iida @ 2014-04-25 14:14 UTC (permalink / raw)
To: Mingarelli, Thomas
Cc: Guenter Roeck, wim@iguana.be, linux-watchdog@vger.kernel.org
I have encountered a symptom that I could not use hpwdt
with hp-asrd on BL460c Gen8 + RHEL6.4.
How to reproduce
(1) Start hp-asrd with ASR timeout as 600 seconds
(2) Load hpwdt with soft_margin as 30 seconds.
(3) # echo 1 > /dev/watchdog and wait 30 sec to reboot.
Actual Result
No reboot happen.
(4) Stop hp-asrd
(5) # echo 1 > /dev/watchdog and wait 30sec to reboot
Actual Result
Reboot after 30 sec.
And my colleague wrote a small tool to send an ioctl to
/dev/watchdog to get WDIOC_GETTIMELEFT.
(6) Run a tool to monitor time left.
(7) # echo 1 > /dev/watchdog
(8) Before 30sec timeout expire, start hp-asrd .
Result
time left=22
time left=20
time left=19
time left=19
time left=18
time left=17
time left=16
time left=14
time left=13
time left=13
time left=12
time left=599 <= The time when hp-asrd started
time left=599
time left=599
time left=599
So this is the reason why hp-asrd and hpwdt update the same timer.
So I conclude they can not run simultaneously.
Masanari
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd
2014-04-25 10:52 [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd Masanari Iida
2014-04-25 13:02 ` Guenter Roeck
@ 2014-04-25 20:38 ` Randy Dunlap
1 sibling, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2014-04-25 20:38 UTC (permalink / raw)
To: Masanari Iida, wim, linux-watchdog, thomas.mingarelli,
linux-kernel
On 04/25/14 03:52, Masanari Iida wrote:
> An agent software called hp-asrd from Hewlett Packard
> updates same iLO watchdog timer as hpwdt does update.
> So they can not be uses simultaneously.
> Add this usage note in hpwdt.txt.
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> Documentation/watchdog/hpwdt.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/watchdog/hpwdt.txt b/Documentation/watchdog/hpwdt.txt
> index 9488078..719c38d 100644
> --- a/Documentation/watchdog/hpwdt.txt
> +++ b/Documentation/watchdog/hpwdt.txt
> @@ -89,7 +89,8 @@ Last reviewed: 06/02/2009
>
> Hypertransport/CSI Error 31h
>
> -
> +hpwdt can not work as expected if hp-asrd is running simultaneously.
cannot ,
> +Because both hpwdt and hp-asrd update same iLO watchdog timer.
because update the same
>
> -- Tom Mingarelli
> (thomas.mingarelli@hp.com)
>
--
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-04-25 20:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-25 10:52 [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd Masanari Iida
2014-04-25 13:02 ` Guenter Roeck
2014-04-25 13:06 ` Mingarelli, Thomas
2014-04-25 14:14 ` Masanari Iida
2014-04-25 20:38 ` Randy Dunlap
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).