Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] makedumpfile: Xen4: exclude domU pages for Xen4
@ 2012-06-22 15:18 Norbert Trapp
  2012-06-29  4:30 ` Atsushi Kumagai
  0 siblings, 1 reply; 2+ messages in thread
From: Norbert Trapp @ 2012-06-22 15:18 UTC (permalink / raw)
  To: kexec


Saving just the dom0 and Xen pages is a good idea because usually
the crash can be analysed in dom0 and saving just the Xen and dom0 pages
allows the machine to restart quickly.

makedumpfile needs to be modified to exclude domU pages when using Xen4
since the Xen implementation has changed. The Xen version can be determined
in the kcore file and then either Xen3 or Xen4 functions are used. The other
modifications are based on the goal of quickly finding the dom0 and Xen pages.

The domU page exclusion for Xen4 is implemented so far just for x86_64.

The kvtop_xen_x86_64 modification for a faster method to run through the page
table	(last_p.._read)	was seen in the crash utility source code.

 arch/x86_64.c  |  244 ++++++++++++++++++++++++++++----------
 elf_info.c     |    2 +
 makedumpfile.c |  362 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
 makedumpfile.h |   79 +++++++++++--
 4 files changed, 591 insertions(+), 96 deletions(-)

With kind regards

Norbert Trapp
PDG ES&S SWE OS 6

FUJITSU
Fujitsu Technology Solutions GmbH
Domagkstrasse 28, D-80807 Muenchen, Germany
E-mail: Norbert.Trapp@xxxxxxxxxxxxxx
Web: ts.fujitsu.com
Company details: ts.fujitsu.com/imprint
Please be advised that neither Fujitsu, its affiliates, its employees or agents accept liability for any errors,
omissions or damages caused by delays of receipt or by any virus infection in this message or its attachments,
or which may otherwise arise as a result of this e-mail transmission.


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

* Re: [PATCH 0/3] makedumpfile: Xen4: exclude domU pages for Xen4
  2012-06-22 15:18 [PATCH 0/3] makedumpfile: Xen4: exclude domU pages for Xen4 Norbert Trapp
@ 2012-06-29  4:30 ` Atsushi Kumagai
  0 siblings, 0 replies; 2+ messages in thread
From: Atsushi Kumagai @ 2012-06-29  4:30 UTC (permalink / raw)
  To: Norbert.Trapp; +Cc: kexec, fngw.zhang

Hello Norbert,

Thank you for your work.

But, I don't know much about Xen, so I want to ask for help from Zhangfengwei
and other experts in Xen.


Thanks
Atsushi Kumagai


On Fri, 22 Jun 2012 17:18:05 +0200
Norbert Trapp <Norbert.Trapp@ts.fujitsu.com> wrote:

> 
> Saving just the dom0 and Xen pages is a good idea because usually
> the crash can be analysed in dom0 and saving just the Xen and dom0 pages
> allows the machine to restart quickly.
> 
> makedumpfile needs to be modified to exclude domU pages when using Xen4
> since the Xen implementation has changed. The Xen version can be determined
> in the kcore file and then either Xen3 or Xen4 functions are used. The other
> modifications are based on the goal of quickly finding the dom0 and Xen pages.
> 
> The domU page exclusion for Xen4 is implemented so far just for x86_64.
> 
> The kvtop_xen_x86_64 modification for a faster method to run through the page
> table	(last_p.._read)	was seen in the crash utility source code.
> 
>  arch/x86_64.c  |  244 ++++++++++++++++++++++++++++----------
>  elf_info.c     |    2 +
>  makedumpfile.c |  362 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
>  makedumpfile.h |   79 +++++++++++--
>  4 files changed, 591 insertions(+), 96 deletions(-)
> 
> With kind regards
> 
> Norbert Trapp
> PDG ES&S SWE OS 6
> 
> FUJITSU
> Fujitsu Technology Solutions GmbH
> Domagkstrasse 28, D-80807 Muenchen, Germany
> E-mail: Norbert.Trapp@xxxxxxxxxxxxxx
> Web: ts.fujitsu.com
> Company details: ts.fujitsu.com/imprint
> Please be advised that neither Fujitsu, its affiliates, its employees or agents accept liability for any errors,
> omissions or damages caused by delays of receipt or by any virus infection in this message or its attachments,
> or which may otherwise arise as a result of this e-mail transmission.
> 
> 
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2012-06-29  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22 15:18 [PATCH 0/3] makedumpfile: Xen4: exclude domU pages for Xen4 Norbert Trapp
2012-06-29  4:30 ` Atsushi Kumagai

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