On RedHat,  I validate  ipmi watchdog to reset machine when kernel panic:

1.  I disable auto reset when kernel panic by echo "0" > /proc/sys/kernel/panic

2.  modprobe ipmi_watchdog timeout=120 action=reset

3.  Load a driver, the driver will call panic() when  ioctl to call into the 
driver.

4.  By ioctl call into the driver,  panic the system

It fail to reset the machine.    I check the IPMI SEL there is no SEL log about 
watchdog information.   

What's else I need to do to enable watchdog to reset machine when kernel 
panic???  

Addition:

If I run  modprobe ipmi_watchdog timeout=120 action=reset start_now=1,  the 
watchdog will reset the machine and record SEL log about watchdog.




Thanks & Regards,
Song Youquan
OTC-Beijing
Intel SSG/SSD
MOB: 13681289076
TEL: 010-82611515-1326
INET: 8-758-1326
LOC: Raycom 6W062

-----Original Message-----
From: Corey Minyard [mailto:[EMAIL PROTECTED] 
Sent: 2007年11月9日 0:04
To: Song, Youquan
Cc: ipmitool-devel@lists.sourceforge.net
Subject: Re: [Ipmitool-devel] How to set PEF action?

Song, Youquan wrote:
>
> Hi,
>
>         I want try to do: If watchdog timer expire, IPMI BMC to power 
> reset the system.  By IPMI spec, I know I can set PEF watchdog expire 
> event's action to power reset.
>
> But by ipmitool, I can not set PEF action. 
>            What's can I do to power reset system by watchdog timer 
> expire?
>
>            If Linux kernel panic, can BMC notice it?  Is there linux 
> dameon to notice BMC it?
>
There is a watchdog timer driver as part of the Linux IPMI driver, and 
the ability to put panic information into the event log (SEL).  See 
Documentation/IPMI.txt in the kernel sources for details on it.  It will 
do what you want.
>
-corey

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to