lkml.org 
[lkml]   [2005]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Crashing red hat linux
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/
>
-
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/

\
 
 \ /
  Last update: 2005-05-10 19:57    [W:0.518 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site