lkcd
[Top] [All Lists]

Re: how to make kernel do system dump ?

To: ak@xxxxxxx (Andi Kleen)
Subject: Re: how to make kernel do system dump ?
From: hkannan@xxxxxxxxxxx (Hari Kannan)
Date: Fri, 3 Nov 2000 15:03:00 -0800 (PST)
Cc: tjm@xxxxxxx (Tom Morano), hiren_mehta@xxxxxxxxxxx, lkcd@xxxxxxxxxxx
In-reply-to: <20001103235346.A5125@gruyere.muc.suse.de> from "Andi Kleen" at Nov 03, 2000 11:53:46 PM
Sender: owner-lkcd@xxxxxxxxxxx
Isnt it true that lkcd cannot show stack backtraces for loadable modules?

Hari

> 
> On Fri, Nov 03, 2000 at 02:08:11PM -0800, Tom Morano wrote:
> > 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.
> 
> That sounds rather complicated. Why don't you just load a small kernel
> module for it ? 
> 
> #include <linux/module.h>
> int init_module(void)
> {
>       panic("Dump"); 
> }
> 
> 
> gcc -O2 -DMODULE -c module.c 
> insmod module.o
> 
> 
> 
> 
> -Andi
> 


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