public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Crashing red hat linux
@ 2005-05-10  8:26 dipankar das
  2005-05-10  9:42 ` Coywolf Qi Hunt
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: dipankar das @ 2005-05-10  8:26 UTC (permalink / raw)
  To: akt-announce; +Cc: LKML

Hi
 Does Red hat like Monta vista allow crashing the
kernel by writing to  "/dev/crash" if not whats the
easiest way ?



 -- Dipankar.


		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Crashing red hat linux
  2005-05-10  8:26 Crashing red hat linux dipankar das
@ 2005-05-10  9:42 ` Coywolf Qi Hunt
  2005-05-10 10:03 ` Raj Inguva
  2005-05-10 15:42 ` Lee Revell
  2 siblings, 0 replies; 9+ messages in thread
From: Coywolf Qi Hunt @ 2005-05-10  9:42 UTC (permalink / raw)
  To: dipankar das; +Cc: akt-announce, LKML

On 5/10/05, dipankar das <dipankar_dd@yahoo.com> wrote:
> Hi
>  Does Red hat like Monta vista allow crashing the
> kernel by writing to  "/dev/crash" if not whats the
> easiest way ?

Is it practically useful? How is it used in monta vista?

-- 
Coywolf Qi Hunt
http://sosdg.org/~coywolf/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Crashing red hat linux
  2005-05-10  8:26 Crashing red hat linux dipankar das
  2005-05-10  9:42 ` Coywolf Qi Hunt
@ 2005-05-10 10:03 ` Raj Inguva
  2005-05-10 10:44   ` Coywolf Qi Hunt
  2005-05-10 15:42 ` Lee Revell
  2 siblings, 1 reply; 9+ messages in thread
From: Raj Inguva @ 2005-05-10 10:03 UTC (permalink / raw)
  To: dipankar das; +Cc: akt-announce, LKML

>  Does Red hat like Monta vista allow crashing the
> kernel by writing to  "/dev/crash" if not whats the
> easiest way ?
> 

I used to insmod a driver which calls panic() during module
initialization. I used to do this for testing lkcd.

Raj

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Crashing red hat linux
  2005-05-10 10:03 ` Raj Inguva
@ 2005-05-10 10:44   ` Coywolf Qi Hunt
  0 siblings, 0 replies; 9+ messages in thread
From: Coywolf Qi Hunt @ 2005-05-10 10:44 UTC (permalink / raw)
  To: Raj Inguva; +Cc: dipankar das, akt-announce, LKML

On 5/10/05, Raj Inguva <inguva@gmail.com> wrote:
> >  Does Red hat like Monta vista allow crashing the
> > kernel by writing to  "/dev/crash" if not whats the
> > easiest way ?
> >
> 
> I used to insmod a driver which calls panic() during module
> initialization. I used to do this for testing lkcd.


Now we have crashdump shipped with kexec.

-- 
Coywolf Qi Hunt
http://sosdg.org/~coywolf/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Crashing red hat linux
  2005-05-10  8:26 Crashing red hat linux dipankar das
  2005-05-10  9:42 ` Coywolf Qi Hunt
  2005-05-10 10:03 ` Raj Inguva
@ 2005-05-10 15:42 ` Lee Revell
  2005-05-10 17:52   ` James Washer
  2 siblings, 1 reply; 9+ messages in thread
From: Lee Revell @ 2005-05-10 15:42 UTC (permalink / raw)
  To: dipankar das; +Cc: akt-announce, LKML

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Crashing red hat linux
  2005-05-10 15:42 ` Lee Revell
@ 2005-05-10 17:52   ` James Washer
  2005-05-10 18:38     ` Tommy Reynolds
  0 siblings, 1 reply; 9+ messages in thread
From: James Washer @ 2005-05-10 17:52 UTC (permalink / raw)
  To: Lee Revell; +Cc: dipankar_dd, akt-announce, linux-kernel

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/
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Crashing red hat linux
  2005-05-10 17:52   ` James Washer
@ 2005-05-10 18:38     ` Tommy Reynolds
  2005-05-10 21:37       ` James Washer
  0 siblings, 1 reply; 9+ messages in thread
From: Tommy Reynolds @ 2005-05-10 18:38 UTC (permalink / raw)
  To: James Washer; +Cc: rlrevell, dipankar_dd, akt-announce, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

Uttered James Washer <washer@trlp.com>, spake thus:

> Why oh why would one do that?? 

So you could check fail-over?  or the crash dump setup?  That's why I sent the patch.

Cheers

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Crashing red hat linux
  2005-05-10 18:38     ` Tommy Reynolds
@ 2005-05-10 21:37       ` James Washer
  2005-05-10 21:39         ` Tommy Reynolds
  0 siblings, 1 reply; 9+ messages in thread
From: James Washer @ 2005-05-10 21:37 UTC (permalink / raw)
  To: Tommy Reynolds; +Cc: rlrevell, dipankar_dd, akt-announce, linux-kernel


My "why oh why" response was directed at the suggestion of "cat /dev/dsp > /dev/kmem should do it"

I understand the many reasons why one might wish to force a panic.


what patch??


 - jim


On Tue, 10 May 2005 13:38:06 -0500
Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> wrote:

> Uttered James Washer <washer@trlp.com>, spake thus:
> 
> > Why oh why would one do that?? 
> 
> So you could check fail-over?  or the crash dump setup?  That's why I sent the patch.
> 
> Cheers
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Crashing red hat linux
  2005-05-10 21:37       ` James Washer
@ 2005-05-10 21:39         ` Tommy Reynolds
  0 siblings, 0 replies; 9+ messages in thread
From: Tommy Reynolds @ 2005-05-10 21:39 UTC (permalink / raw)
  To: James Washer; +Cc: rlrevell, dipankar_dd, akt-announce, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

Uttered James Washer <washer@trlp.com>, spake thus:

> I understand the many reasons why one might wish to force a panic.
> 
> 
> what patch??

Internal RH patch, many moons ago.

Cheers!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-05-10 21:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-10  8:26 Crashing red hat linux dipankar das
2005-05-10  9:42 ` Coywolf Qi Hunt
2005-05-10 10:03 ` Raj Inguva
2005-05-10 10:44   ` Coywolf Qi Hunt
2005-05-10 15:42 ` Lee Revell
2005-05-10 17:52   ` James Washer
2005-05-10 18:38     ` Tommy Reynolds
2005-05-10 21:37       ` James Washer
2005-05-10 21:39         ` Tommy Reynolds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox