lkcd
[Top] [All Lists]

Re: how to make kernel do system dump ?

To: hiren_mehta@xxxxxxxxxxx
Subject: Re: how to make kernel do system dump ?
From: Tom Morano <tjm@xxxxxxx>
Date: Fri, 03 Nov 2000 14:08:11 -0800
Cc: lkcd@xxxxxxxxxxx
References: <FEEBE78C8360D411ACFD00D0B74779718808DB@xxxxxxxxxxxxxxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
hiren_mehta@xxxxxxxxxxx wrote:
> 
> Hi All,
> 
> I applied the patches for system crash dump on my linux system.
> Now, I want to make sure that the dump is working properly.
> does anybody know how to initiate the crash dump on LINUX ?
> 
> THanks
> -hiren

Information on how to modify your kernel so that you can force
a crash from a user application can be found in the following
FAQ:

  http://oss.sgi.com/projects/lkcd/faq.html

It contains an example of how you to modify the sys_setpriority()
function so that, it causes either a panic or a SEGV trap. There is
also a sample program that calls setpriority() to initiate the dump.

Tom

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