Re: Whats a sure fire way to crash the kernel? (fwd)

Hans Lermen (
Mon, 23 Jun 1997 14:44:43 +0200 (MET DST)

On Mon, 23 Jun 1997, Jim Nance wrote:

> > Need to test a watchdog card.....
> > What's a sure fire way to lock the kernel?
> This will probably work:
> cat /dev/zero >/dev/kmem

Maybe then the kernel reboots prior by tripple fault and not by the
watchdog :-(

Better try this tiny program (as root):

#include <unistd.h>
void main(void)
1: jmp 1b

Ahem, this is the same sequence that locks Windows95 :-)))

WARNING: You need a hardware watchdog to recover from this !!!!
( but you apparently have this one )