Re: Available watchdog test cases

Rusty Lynch (rusty@linux.co.intel.com)
09 Mar 2003 21:23:08 -0800


On Sun, 2003-03-09 at 01:40, Paul Rolland wrote:
> Just a quick question : is there an easy to force the kernel to Oops,
> to make sure that the watchdog will even be working under such
> conditions ?
>
> I know people are all trying to avoid Oops... but I think the testplan
> should include that too...
>
> Regards,
> Paul

You can write a kernel module that when loaded will disable all
interrupts and sit and spin, or even easier just call panic().

--rustyl

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/