Re: How to take a crash dump

Suparna Bhattacharya (suparna@in.ibm.com)
Tue, 15 Jan 2002 17:05:14 -0500


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/
-
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/