lkcd
[Top] [All Lists]

Re: Forcing a kernel dump from the keyboard

To: Jeff Moyer <moyer@xxxxxxxxxxx>
Subject: Re: Forcing a kernel dump from the keyboard
From: Timothy Sirianni <tds@xxxxxxx>
Date: Mon, 19 Jun 2000 15:18:49 -0500 (CDT)
Cc: lkcd@xxxxxxxxxxx
References: <394E4DD3.9CEE2E9@sgi.com>
Sender: owner-lkcd@xxxxxxxxxxx
Jeff,

Thanks for the pointer.  I'm putting a call to panic() into 
drivers/char/sysrq.c to see if that does what I need.

Regards,
Tim

> From moyer@xxxxxxxxxxx  Mon Jun 19 11:43:57 2000
> Cc: lkcd@xxxxxxxxxxx
> 
> ==> Regarding Forcing a kernel dump from the keyboard; tds <tds@xxxxxxx> adds:
> 
> tds> LKCD, I've got a quick question about LKCD.  Is it possible to force a
> tds> panic from the keyboard?  I don't think the alt-sysrequest "magic key"
> tds> can generate a panic, but maybe you know another way.
> 
>     It is trivial to implement such a mechanism via Magic Sysrq.  For an
>     example, you can check out
>     http://www.missioncriticallinux.com/downloads.  You're looking for the
>     in memory core dump patch.  I'm not sure how lkcd will handle taking a
>     dump at interrupt level (using Magic Sysrq is in the context of an
>     interrupt), but you can give it a try.
> 
>     Once you apply the kernel patch, the file you want to look at is
>     drivers/char/sysrq.c.
> 
> -Jeff

<Prev in Thread] Current Thread [Next in Thread>