Re: [PATCH] doc: watchdog: Add an usage note on hpwdt with hp-asrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux