Re: Testing watchdog timer card...?

Richard B. Johnson (root@chaos.analogic.com)
Fri, 16 Oct 1998 08:27:53 -0400 (EDT)


On 14 Oct 1998, Jim Dennis wrote:

>
> Is there a way I can force a kernel to hang
> so as to test the functionality of a watchdog timer
> card?
>
> If so, how?
>

In some driver that you already use, that executes within the kernel,

insert:
panic("Testing Watchdog");
... in its initialization code.

Then, when your watchdog is enabled, insmod it.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.123 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

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