All of lore.kernel.org
 help / color / mirror / Atom feed
* kexec's v1 compatibility code
@ 2015-05-08 13:34 Jan Beulich
  2015-05-08 13:45 ` Andrew Cooper
  2015-05-08 15:53 ` David Vrabel
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Beulich @ 2015-05-08 13:34 UTC (permalink / raw)
  To: David Vrabel; +Cc: xen-devel

David,

now that we're putting Xen 4.4.x underneath an older distro (SLE11)
we've got to see that kexec doesn't work there. Initial investigation
of our kexec person revealed that the destinations attempted to be
written to by kexec_reloc()'s code following the is_source and
is_zero labels have no mappings in the kexec page tables. Comparing
kexec_do_load_v1() with kexec_load() I wonder whether the former
isn't simply lacking a call to kimage_load_segments().

He worked around this (I haven't seen the code yet that he used)
to then find that the dump kernel (other than an "ordinary" kexec
one) also expects at least the low 640k to be mapped. He's
suggesting that Linux'es kexec code sets up an identity mapping of
all memory, and that we should do the same. I can't say I'm
convinced of this though, as it seems bogus to me that the dump
kernel should depend on anything beyond a bare minimum
environment it is being handed control in; I would instead expect
the crash kernel to be responsible for any such specific needs.

May I also ask whether that compatibility code got tested?

Jan

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

end of thread, other threads:[~2015-05-11  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-08 13:34 kexec's v1 compatibility code Jan Beulich
2015-05-08 13:45 ` Andrew Cooper
2015-05-08 15:53 ` David Vrabel
2015-05-11  9:25   ` Jan Beulich
2015-05-11  9:53     ` David Vrabel

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.