[Crash-utility] dom0cut script updated

Kazuo Moriwaka moriwaka at valinux.co.jp
Wed Sep 13 03:42:24 UTC 2006


Hi Dave,

From: Kazuo Moriwaka <moriwaka at valinux.co.jp>
Subject: Re: [Crash-utility] dom0cut script updated
Date: Wed, 13 Sep 2006 11:34:20 +0900 (JST)

> Hi Dave,
> 
> > > Have you abandoned the idea of adding an ELF note (or some other
> > > mechanism) for passing the "pfn_to_mfn_frame_list_list" mfn value
> > > from the shared, per-domain, "arch_shared_info" structure(s)?
> 
> I talked with our kdump patch managers.  They don't want to change
> kernel level codes..  I'm sorry for I didn't tell this to you.  I'll
> talk with them again.

pfn_to_mfn_frame_list_list can included into ELF core :)
I think you need shared_info.arch.max_pfn, too, don't you?

> > Furthermore -- if you could pass the "pfn_to_mfn_frame_list_list" mfn
> > values for all existing domains, it would be possible to bring up
> > crash sessions for dom0, as well as for any of the domU's -- all
> > with a single unmodified vmcore.
> 
> It sounds good.

Writing variable length data in ELF core header with kexec-tool is
difficult, because ELF core header length should be fixed when kexec loads
kdump kernel.  It makes multiple domain support difficult by this technique.

Using domain_list and idle_pg_table (and follow domain list to find
domain) is one solution; but it needs to treat xen hypervisor address
space and xen data structures.

regards,
-- 
Kazuo Moriwaka <moriwaka at valinux.co.jp>




More information about the Crash-utility mailing list