Where can I get some information on using the hardware watchdog timer (which I think does exist) in a RedHat Enterprise Linux 3.0 environment on a PE 1850 or PE SC1425? I think the timer is related to the BMC function on the box, but I can't find any specific documentation. I'd like the box to auto-reboot if my application goes out to lunch and doesn't refresh the time.
Thanks for the reply and the link on the RHEL site.
In the section on Configuring a Hardware Watchdog Time D.1.2.3, it mentions it's hard to tell if a system has a hardware timer and I was wondering if the Dell PE1850 does, and if so, what value for the alias command I should use for it would be.
once you have the watchdog device and nmi_watchdog=1 in grub or lilo, you should reboot. Then cat /proc/interupts. You should see a line for NMI. If NMI has a number next to it, then the hardware watch dog is enabled. (the number will vary). The 1850 as well as all rack mount poweredge servers have a hardware watchdog.
NMI: Non Maskable Interrupt
which get executed even if the system is otherwise locked up hard).
This can be used to debug hard kernel lockups. By executing periodic
NMI interrupts, the kernel can monitor whether any CPU has locked up,
and print out debugging messages if so.
From your description, would it be accurate to say that the operating system is the "program" that controls the timer? What I want to do is have my custom application control the refresh/reset of the timer in case it hangs because alot of times the OS is fine, but the application hangs, and that's what I want to make sure is running.
That being the case, are there any docs on how to directly access and control the timer from a user application?
Thanks
Message Edited by emfjsullivan on 10-18-2005 10:08 AM
Eric BY
2 Intern
•
815 Posts
662
0
Posted October 17th, 2005 18:00