[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to reset system using nmi_watchdog on spinlock



Hi,
 
I like to reset the system when struck in a spinlock.   I try "nmi_watchdog=1" on /etc/grub.conf but no luck.
Any recommendation?  
I think hardware timer watchdog will work but if there is any other more generic way to do that?
 
I have written a small loadable module.  During insmod, it will call spinlock but not calling spinunlock. Then during rmmod, it will call spinlock.  Obviously, the system was hung (this is an SMP system).   "panic=10" in the /etc/grub.conf did not help in such situation.
 
Thanks in advance.
 
-- Tony