[PATCH] kdump : check flags field from drconf memory

Simon Horman horms at verge.net.au
Wed Oct 22 20:13:49 EDT 2008


On Fri, Oct 17, 2008 at 11:25:54PM +0530, Chandru wrote:
> On a powerpc machine when memory is dynamically removed/added from an lpar, the 
> corresponding flags field in the drconf memory reflects the same with the bits 
> unset/set accordingly. The kernel does a check on these flags while booting. 
> Following are the similar changes brought in to kexec-tools.  This makes 
> kexec-tools to skip those memory regions that do not belong or are not 
> assigned to the current partition ( but are available to dynamically add them 
> back ). Without this patch (and with memory remove operation) copying vmcore 
> fails with error as
> 
> Copying data                       : [ 84 %] readmem: Can't read the dump 
> memory(/proc/vmcore). Bad address
> read_pfn: Can't get the page data.
> 
> 
> Signed-off-by : Chandru S <chandru at in.ibm.com>


Thanks, applied.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en




More information about the kexec mailing list