Re: [Fastboot] Re: [PATCH] Fix for broken kexec on panic

From: Maneesh Soni
Date: Thu Feb 24 2005 - 07:22:58 EST


On Thu, Feb 24, 2005 at 01:13:12AM -0800, Andrew Morton wrote:
> Vivek Goyal <vgoyal@xxxxxxxxxx> wrote:
> >
> > Kexec on panic is broken on i386 in 2.6.11-rc3-mm2 because of
> > re-organization of boot memory allocator initialization code.
>
> OK...
>
> Where are we up to with these patches, btw? Do you consider them
> close-to-complete? Do you have a feel for what proportion of machines will
> work correctly?

After the rework of kexec patches, there is very minimal kernel code needed
for kdump and most of the code is in user space kexec-tools. The changes
needed in kexec-tools to load the crashdump kernel and generate ELF headers,
for x86 architecture are done and will be posted for comments today by Vivek.

Currently the work remaining is to capture the old-kernel memory during second
kernel boot up. There is some lack of consensus whether this functionality
should go in kernel-space (/proc/vmcore) or user-space (a separate utility
which can be run from initrd). Before the last kexec rework, kdump has the
facility to do /proc/vmcore and now it has to be re-done accordingly. There is
some code already done by Eric to do it in user-space. We are evaluating both
the approaches and should arrive at the conclusion asap.

Thanks
Maneesh

--
Maneesh Soni
Linux Technology Center,
IBM India Software Labs,
Bangalore, India
email: maneesh@xxxxxxxxxx
Phone: 91-80-25044990
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/