watchdog pet in kernel module

Vipul Jain vipulsj at
Tue Dec 3 16:15:32 EST 2013

On Mon, Dec 2, 2013 at 11:32 PM, anish singh <anish198519851985 at>wrote:

> On Mon, Dec 2, 2013 at 10:34 PM, Vipul Jain <vipulsj at> wrote:
> > Hi,
> >
> > I would like to move the hardware watchdog pet code from user space to
> > kernel space inside the ipmi module and would like to know how to go
> about
> > pet the hardware watchdog at periodic interval. Any pointers help will be
> a cursory glance at Documentation/ipmi.txt states that IPMI comes with
> a standard watchdog timer.
> So what are you looking for?

Hi Anish,

currently we configure/pet the watchdog from user space via /dev/ipmi0
device interface and I would like to do the pet part from kernel module. It
looks like we do have ipmi_watchdog.c driver that does pet but I am not
able to understand what I need to do in order to make it independent of
user space and keep pet by its own. Wondering if you could please help me

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list