public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [RFC]Kexec based crash dumping
@ 2004-08-18 23:45 Itsuro Oda
  2004-08-20 14:28 ` Tonnerre
  0 siblings, 1 reply; 6+ messages in thread
From: Itsuro Oda @ 2004-08-18 23:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: oda

Hi.

It is interesting.

We(*) also make crash dump acording to similer concept.
    (*) NTT Data Corporation & VA Linux Systems Japan K.K.

Our main idea is the following.

- prepare a kernel which does only dump real memory to block
  device. ("dump mini kernel")
- pre-allocate the memory (4MB is enough) used by the dump mini
  kernel and pre-load the dump mini kernel.
- when crash occur exec the dump mini kernel.
- the dump mini kernel stands in and only uses pre-allocated
  area.

We made mkexec(mini kernel exec) based on kexec code but 
simplify a lot. Mkexec can co-exist kexec and can be kernel
module. We made also "dump mini kernel". 
(now i386 only)

We will open our code shortly. (maybe I think)
I think there are many items to be able to cooperate.

Thank you.
-- 
Itsuro ODA <oda@valinux.co.jp>


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [RFC]Kexec based crash dumping
@ 2004-08-17 12:04 Hariprasad Nellitheertha
  2004-08-17 22:44 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Hariprasad Nellitheertha @ 2004-08-17 12:04 UTC (permalink / raw)
  To: linux-kernel, fastboot
  Cc: akpm, Suparna Bhattacharya, mbligh, litke, ebiederm

Hi,

The patches that follow contain the initial implementation for kexec based
crash dumping that we are working on. I had sent this to the fastboot mailing 
list a couple of weeks ago and this set of patches includes the changes made as
per feedback from Andrew, Eric and others.

Main Idea

- Whenever a panic occurs, reboot to a new kernel using kexec using a small
  amount of memory (16MB). The rest of the memory is preserved across the
  reboot.
- In the second kernel, the memory contents from the failed kernel is 
  available as an ELF format file for write-out.

Details on the design and implementation and on how to setup this facility
are available in the first of the patches that follow. The patches have
been made for the 2.6.8.1 kernel.

Kindly review these patches and provide feedback.

Thanks to Martin Bligh and Suparna for the design ideas and to Adam Litke
who hacked up most of the memory preserving reboot code and the dump
device abstraction code.

Regards, Hari
-- 
Hariprasad Nellitheertha
Linux Technology Center
India Software Labs
IBM India, Bangalore

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-22 23:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-18 23:45 [RFC]Kexec based crash dumping Itsuro Oda
2004-08-20 14:28 ` Tonnerre
2004-08-22 23:06   ` Itsuro Oda
  -- strict thread matches above, loose matches on Subject: below --
2004-08-17 12:04 Hariprasad Nellitheertha
2004-08-17 22:44 ` Andrew Morton
2004-08-18 12:28   ` Hariprasad Nellitheertha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox