Re: How to crash a system and take a dump?

From: Gianni Tedesco (gianni@ecsc.co.uk)
Date: Mon Feb 04 2002 - 07:31:55 EST


On Mon, 2002-02-04 at 11:26, sathish jayapalan wrote:
> Hi,
> I have a doubt. I know that linux kernel doesn't crash
> so easily. Is there any way to panic the system? Can I
> go to the source area and insert/modify a variable in
> kernel code so that the kernel references a null
> pointer and crashes while running the kernel compiled
> with this variable. My aim is to learn crash dump
> analysis with 'Lcrash tool". Please help me out with
> this.

Im not sure about the Lcrash tool, but core dumps can be obtained from
the kernel at any time simply by reading /proc/kcore.

Hope that helps.

-- 
// Gianni Tedesco <gianni@ecsc.co.uk>
80% of all email is a figment of procmails imagination.

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



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:33 EST