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
|