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

Dave Young dyoung at redhat.com
Thu Sep 22 01:45:02 PDT 2016


Hi, Baoquan

On 08/29/16 at 04:54pm, Baoquan He wrote:
> Hi Atsushi and Thomas,
> 
> 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