public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Suparna Bhattacharya <suparna@in.ibm.com>
To: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
Cc: "SATHISH.J" <sathish.j@tatainfotech.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux india programming 
	<linux-india-programmers@lists.sourceforge.net>
Subject: Re: How to take a crash dump
Date: Tue, 15 Jan 2002 17:05:14 -0500	[thread overview]
Message-ID: <3C44A79A.6317B059@in.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10201041427001.2221-100000@blrmail> <20020114211408.GB21480@arthur.ubicom.tudelft.nl>

Erik Mouw wrote:
> 
> On Fri, Jan 04, 2002 at 02:30:20PM +0530, SATHISH.J wrote:
> > I have "lcrash" installed on my system. I have 2.4.8 kernel. I would like
> > to know how to make a linux system panic so that I can take a crash dump
> > and analyse using "lcrash". Is there any command to make the system panis
> > as we have on other unices(SVR4 and unixware)?
> 

Have you tried using the Alt+Sysrq+c key combination ? 

We had checked in some changes to enable non-disruptive dumps to be
taken this way as 
well (i.e. you can get a dump without having to reboot the system) but
that piece is going to be in lkcd 4.01. 

BTW, you can also trigger a crash dump conditionally using dprobes.

Regards
Suparna

> I wrote a toy module that does exactly what you want:
> 
>   http://www.lart.tudelft.nl/lartware/port/lart.c
> 
> I still have to get the module into Linus' tree so Christoph Hellwig
> will drive to .nl to buy me a beer :)
> 
> Erik
> 
> --
> J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
> of Information Technology and Systems, Delft University of Technology,
> PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
> Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
> WWW: http://www-ict.its.tudelft.nl/~erik/
> -
> 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/

      reply	other threads:[~2002-01-15 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04  9:00 How to take a crash dump SATHISH.J
2002-01-04 10:16 ` Simon Turvey
2002-01-04 15:36   ` Patrick O'Rourke
2002-01-14 21:14 ` Erik Mouw
2002-01-15 22:05   ` Suparna Bhattacharya [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C44A79A.6317B059@in.ibm.com \
    --to=suparna@in.ibm.com \
    --cc=J.A.K.Mouw@its.tudelft.nl \
    --cc=linux-india-programmers@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sathish.j@tatainfotech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox