lkcd
[Top] [All Lists]

Forcing a kernel dump from the keyboard

To: tds <tds@xxxxxxx>
Subject: Forcing a kernel dump from the keyboard
From: Jeff Moyer <moyer@xxxxxxxxxxx>
Date: Mon, 19 Jun 2000 12:41:10 -0500 (EST)
Cc: lkcd@xxxxxxxxxxx
In-reply-to: <394E4DD3.9CEE2E9@sgi.com>
References: <394E4DD3.9CEE2E9@sgi.com>
Sender: owner-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>