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

2016-09-22 Thread Dave Young
On 09/22/16 at 05:07pm, Baoquan He wrote: > On 09/22/16 at 05:03pm, Dave Young wrote: > > Hi, > > > > > 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. > > > >

Re: [PATCH v26 3/7] arm64: kdump: add kdump support

2016-09-22 Thread Matthias Brugger
On 09/07/2016 06:29 AM, AKASHI Takahiro wrote: On crash dump kernel, all the information about primary kernel's system memory (core image) is available in elf core header. The primary kernel will set aside this header with reserve_elfcorehdr() at boot time and inform crash dump kernel of its

makedumpfile issues many readpage_elf: Attempt to read non-existent page

2016-09-22 Thread Louis Bouchard
Hello, I am investigating an issue with makedumpfile and kernel 4.8 where makedumpfile (1.6.0) exits on error with the following message : get_mem_map: Can't distinguish the memory type. I found commit 2c21d4656e8d3c2af2b1e14809d076941ae69e96 in the upstream development branch that is

Re: [PATCH v26 1/7] arm64: kdump: reserve memory for crash dump kernel

2016-09-22 Thread Matthias Bruger
On 09/07/2016 06:29 AM, AKASHI Takahiro wrote: On the startup of primary kernel, the memory region used by crash dump kernel must be specified by "crashkernel=" kernel parameter. reserve_crashkernel() will allocate and reserve the region for later use. User space tools, like kexec-tools, will

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

2016-09-22 Thread Baoquan He
On 09/22/16 at 05:03pm, Dave Young wrote: > Hi, > > > 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. > > Yes, applied. message-level 31 could help to find out what's

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

2016-09-22 Thread Dave Young
Hi, > 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. Yes, applied. Thanks Dave ___ kexec mailing list kexec@lists.infradead.org

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

2016-09-22 Thread Baoquan He
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

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

2016-09-22 Thread Dave Young
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, > > > > This is a draft patchset. I just checked x86_64 implementation according to > > Thomas's mm randomization related

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

2016-09-22 Thread Dave Young
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,

Re: [PATCH v1] kexec/arch/i386: Add support for KASLR memory randomization

2016-09-22 Thread Dave Young
Hi, Thomas On 08/17/16 at 09:47am, Thomas Garnier wrote: > Multiple changes were made on KASLR (right now in linux-next). One of > them is randomizing the virtual address of the physical mapping, vmalloc > and vmemmap memory sections. It breaks kdump ability to read physical > memory. What is