[PATCH 0/3] makedumpfile: Add support of mm randomization

Baoquan He bhe at redhat.com
Thu Sep 22 01:57:15 PDT 2016


On 09/22/16 at 04:48pm, Dave Young wrote:
> Fix email address of Atsushi Kumagai..
> 
> On 09/22/16 at 04:45pm, Dave Young wrote:
> > Hi, Baoquan
> > 
> > On 08/29/16 at 04:54pm, Baoquan He wrote:
> > > Hi Atsushi and Thomas,

Did you apply below kexec patch either?

kexec/arch/i386: Add support for KASLR memory randomization

Please search it in kexec mailing list, Thomas posted it.

> > > 
> > > This is a draft patchset. I just checked x86_64 implementation according to
> > > Thomas's mm randomization related patches. Not sure if this will affect
> > > other ARCH or XEN. Especially for patch 1/3 and patch 2/3, just a original
> > > idea. I tested on x86_64, passed.
> > > 
> > > And also kernel patch need be adjusted so that number_table.X of makedumpfile
> > > can be used. Will add comment to Thomas's kernel patch.
> > > 
> > > Baoquan He (3):
> > >   makedumpfile: Get info->kernel_version from SYMBOL(init_uts_ns)
> > >     earlier
> > >   makedumpfile: Move get_versiondep_info calling earlier
> > >   makedumpfile: Add support for MM randomization
> > > 
> > >  arch/x86_64.c  | 26 +++++++++-----------------
> > >  makedumpfile.c | 45 ++++++++++++++++++++++++++++++++++++---------
> > >  makedumpfile.h |  3 +++
> > >  3 files changed, 48 insertions(+), 26 deletions(-)
> > > 
> > 
> > With these patch applied, I still get a makedumpfile failure below in Fedora:
> > Kernel applied your patch to export the 3 symbols.
> > 
> > kdump: saving vmcore-dmesg.txt complete                                        
> > kdump: saving vmcore                                                           
> > kdump: saving vmcore failed                                                    
> > [FAILED] Failed to start Kdump Vmcore Save Service. 
> > 
> > Thanks
> > Dave



More information about the kexec mailing list