Skip to contentSkip to conversation

doc: watchdog: Add an usage note on hpwdt with hp-asrd

PATCH In review Masanari Iida 4 participants 5 messages Apr 25, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: watchdog: Add an usage note on hpwdt with hp-asrd

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.

---
 Documentation/watchdog/hpwdt.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/watchdog/hpwdt.txt +2 -1
index 9488078..719c38d 100644
@@ -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
     ([email protected])
Signature · 1 line
2.0.0.rc0.38.g1697bf3
maintainer
#1 lore raw
Quoted 15 lines · 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.

---
  Documentation/watchdog/hpwdt.txt | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/watchdog/hpwdt.txt +0 -0
index 9488078..719c38d 100644

Documentation/watchdog/hpwdt.txt Last reviewed: 06/02/2009 · line 94

Quoted 7 lines
Documentation/watchdog/hpwdt.txt +2 -1
@@ -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

#2 lore raw

Yes I need to review this before it being submitted. Some confusion here.

-----Original Message-----
From: Guenter Roeck [mailto:[email protected]]
Sent: Friday, April 25, 2014 8:03 AM
To: Masanari Iida; [email protected]; [email protected]; Mingarelli, Thomas; [email protected]
Subject: Re: [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd

Quoted 16 lines · 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.

---
  Documentation/watchdog/hpwdt.txt | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/watchdog/hpwdt.txt +0 -0
index 9488078..719c38d 100644

Documentation/watchdog/hpwdt.txt Last reviewed: 06/02/2009 · line 94

Quoted 7 lines
Documentation/watchdog/hpwdt.txt +2 -1
@@ -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

#3 lore raw

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

reviewer
#4 lore raw
In reply to Masanari Iida
Quoted 15 lines · 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.

---
 Documentation/watchdog/hpwdt.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/watchdog/hpwdt.txt +0 -0
index 9488078..719c38d 100644

Documentation/watchdog/hpwdt.txt Last reviewed: 06/02/2009 · line 92

Quoted 5 lines
Documentation/watchdog/hpwdt.txt +1 -1
@@ -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 ,

Documentation/watchdog/hpwdt.txt Last reviewed: 06/02/2009 · line 93

Quoted 1 line
Documentation/watchdog/hpwdt.txt +1 -0
+Because both hpwdt and hp-asrd update same iLO watchdog timer.

because update the same

Quoted 4 lines
Documentation/watchdog/hpwdt.txt +0 -0
  -- Tom Mingarelli
     ([email protected])
 
Signature · 1 line
~Randy