85
APPENDIX
A
Watchdog Timer Application Mode
This appendix gives information on the watchdog timer application mode on the
server. It provides the following sections to help you understand how to configure
and use the watchdog timer and to program Alarm3:
ā āUnderstanding the Watchdog Timer Application Modeā on page 85
ā āWatchdog Timer Limitationsā on page 86
ā āUsing the ntwdt Driverā on page 88
ā āUnderstanding the User APIā on page 88
ā āUsing the Watchdog Timerā on page 89
ā āProgramming Alarm3ā on page 92
ā āWatchdog Timer Error Messagesā on page 94
Note ā Once the application watchdog timer is in use, it is necessary to reboot the
Solaris operating system in order to return to the default (non-programmable)
watchdog timer and default LED behavior (no Alarm3).
Understanding the Watchdog Timer
Application Mode
The watchdog mechanism detects a system hang, or an application hang or crash,
should they occur. The watchdog is a timer that is continually reset by a user
application as long as the operating system and user application are running.
When the application is rearming the application watchdog, an expiration can be
caused by:
ā Crash of the rearming application
ā Hang or crash of the rearming thread in the application
ā System hang