All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Anderson <anderson@redhat.com>
To: Magnus Damm <magnus.damm@gmail.com>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
	Kazuo Moriwaka <moriwaka@valinux.co.jp>,
	xen-devel@lists.xensource.com,
	Ian Campbell <Ian.Campbell@xensource.com>,
	Akio Takebe <takebe_akio@jp.fujitsu.com>,
	Isaku Yamahata <yamahata@valinux.co.jp>,
	Magnus Damm <magnus@valinux.co.jp>, Horms <horms@verge.net.au>
Subject: Re: [PATCH 00/04] Kexec / Kdump: Release 20061122 (xen-unstable-12502)
Date: Tue, 28 Nov 2006 09:01:30 -0500	[thread overview]
Message-ID: <456C413A.9B2DD113@redhat.com> (raw)
In-Reply-To: aec7e5c30611280030t1df98149me32990d620bdcbf9@mail.gmail.com

Magnus Damm wrote:

> On 11/28/06, Dave Anderson <anderson@redhat.com> wrote:
> > Magnus Damm wrote:
> > > I thought that pointing out pfn_to_mfn_frame_list_list for dom0 was a
> > > better, more portable way to provide Dave with this info than just
> > > handing out CR3.
> > >
> >
> > That's correct.  With this simple additional note, it will be possible
> > to do any of the following:
> >
> >   $ crash vmlinux vmcore       (with the NT_XEN_KDUMP_CR3 note)
> >   $ crash xen-syms vmcore    (with the new "xencrash" patch)
> >   $ gdb xen-syms vmcore
> >
> > I had originally suggested an array of pfn_to_mfn_frame_list_list values,
> > one for each guest domain, in which case you could execute crash
> > sessions for dom0 or any of the guest domains.
> >
> > And now with the new xencrash patch, the crash utility can also
> > be run against the xen-syms binary, which means that the session
> > will be run from the perspective of the hypervisor binary, i.e., with its
> > own set of hypervisor-specific commands.
> >
> > Anyway, we compromised on just the dom0 pfn_to_mfn_frame_list_list
> > value, given that in the majority of dom0/hypervisor crashes, the cause
> > of the crash will most likely be in the dom0 kernel code.
>
> Thanks for the comments! The value for NT_XEN_KDUMP_CR3, do you have
> any strong feelings to keep that? We have an unique string now, so I'm
> tempted to just set it to 0...
>

Obviously as long as it doesn't clash with the NT_XXX type #define's in elf.h,
it's OK.  For diskdump vmcores, they created an un-clashable NT_DISKDUMP
type value of 0x70000001, and so the use of 0x10000001 for NT_XEN_KDUMP_CR3
apparently followed that model.  But, since you're asking, I don't particularly
like the use of 0; it just seems too ambiguous.

Dave

  reply	other threads:[~2006-11-28 14:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-22  7:10 [PATCH 00/04] Kexec / Kdump: Release 20061122 (xen-unstable-12502) Magnus Damm
2006-11-22  7:10 ` [PATCH 01/04] Kexec / Kdump: Generic code Magnus Damm
2006-11-22  7:11 ` [PATCH 02/04] Kexec / Kdump: Code shared between x86_32 and x86_64 Magnus Damm
2006-11-22  7:11 ` [PATCH 03/04] Kexec / Kdump: x86_32 specific code Magnus Damm
2006-11-22  7:11 ` [PATCH 04/04] Kexec / Kdump: x86_64 " Magnus Damm
2006-11-22 18:24 ` [PATCH 00/04] Kexec / Kdump: Release 20061122 (xen-unstable-12502) Ian Campbell
2006-11-27  9:19   ` Magnus Damm
2006-11-27 12:09     ` Ian Campbell
2006-11-28  8:28       ` Magnus Damm
2006-11-28  9:26         ` Ian Campbell
2006-11-27 15:27     ` Dave Anderson
2006-11-28  8:30       ` Magnus Damm
2006-11-28 14:01         ` Dave Anderson [this message]
2006-11-29  2:35           ` Magnus Damm
2006-11-29  9:36             ` Ian Campbell
2006-11-29 10:59               ` Magnus Damm
2006-11-29 11:06                 ` Ian Campbell
2006-11-28 18:24 ` Ian Campbell
2006-11-28 18:50   ` Keir Fraser
2006-11-29  4:30   ` Magnus Damm
2006-11-29  7:54     ` Keir Fraser
2006-11-29  8:17       ` Magnus Damm
2006-11-29  9:35         ` Ian Campbell
2006-11-29 11:13           ` Magnus Damm
2006-11-29 11:42             ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456C413A.9B2DD113@redhat.com \
    --to=anderson@redhat.com \
    --cc=Ian.Campbell@xensource.com \
    --cc=horms@verge.net.au \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=magnus.damm@gmail.com \
    --cc=magnus@valinux.co.jp \
    --cc=moriwaka@valinux.co.jp \
    --cc=takebe_akio@jp.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=yamahata@valinux.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.