Re: Crashing red hat linux

James Washer
2005-05-10T17:53:58Z

Why oh why would one do that??

On any recent redhat kernel, simply enable magic sysrq by:
echo 1 > /proc/sys/kernel/sysrq

Then force a panic at the console by hitting ALT-SysRq-c
or by
echo c > /proc/sysrq-trigger

On Tue, 10 May 2005 11:42:39 -0400
Lee Revell <rlrevell@joe-job.com> wrote:

> On Tue, 2005-05-10 at 01:26 -0700, dipankar das wrote:
> > Hi
> > Does Red hat like Monta vista allow crashing the
> > kernel by writing to "/dev/crash" if not whats the
> > easiest way ?
>
> cat /dev/dsp > /dev/kmem should do it.
>
> Lee
>
> -
> 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/
>