Hi, So sorry if my expression is not meaninful... ,I want to write a module for watchdog's NMI,it can reboot automatically while my program lose control,so I think I need a device driver module,while NMI interrupt,it can start this module and the module can reboot at once.I think I need to know how to write NMI module and the function of reboot. Thanks for your response, Best regard, Michael ----- Original Message ----- From: "Ish Rattan" <[EMAIL PROTECTED]> To: "MAIXY" <[EMAIL PROTECTED]> Cc: "rtl" <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 10:20 PM Subject: Re: [rtl] reboot function > On Thu, 21 Jun 2001, MAIXY wrote: > > > Hi, > > I want to reboot the operating system in my device driver module,if anyone can >tell me which function which can reboot the system and it can be used in the linux >kernel? > OS in driver module? > > To reboot, at shell level try -- sync; reboot > > To unload/remove a module try -- rmmod > > hth > ----- End of forwarded message from [EMAIL PROTECTED] ----- -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/