From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZSdGD-0007UU-Iy for kexec@lists.infradead.org; Fri, 21 Aug 2015 03:44:57 +0000 Date: Fri, 21 Aug 2015 09:14:33 +0530 From: Pratyush Anand Subject: Re: [PATCH] makedumpfile: Support ARM64 Message-ID: <20150821034433.GB26132@dhcppc13.redhat.com> References: <20150624033241.GA22348@localhost.localdomain> <558A25A3.60504@codeaurora.org> <20150627082256.GE21646@localhost.localdomain> <20150703043241.GC21990@dhcppc13.redhat.com> <2c41ac3516494a1cc5d05462494b333b.squirrel@www.codeaurora.org> <20150820112150.GA26132@dhcppc13.redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: sgoel@codeaurora.org Cc: virajm@codeaurora.org, Timur Tabi , Azriel Samson , kexec@lists.infradead.org, ats-kumagai@wm.jp.nec.com Hi Sameer, On 20/08/2015:04:11:24 PM, sgoel@codeaurora.org wrote: > Hi Pratush, > I have made the change now. > > The reason for changing the KVBASE was to get non zero value for mem_map > as seen from the crash tool. If KVBASE stays at page offset we do not get > into the function that looks for the free pages. OK.. I made the change for KVBASE and pushed it to my github repo. > > After looking at the page usage using the crash tool it seems that ~80% of > the pages are free. > > Maybe there is something else that I am missing here. The page look up > fails when writing the crashdump file. Not sure if you can share the output with --message-level 31, but do you see any thing susceptible there? # makedumpfile -l --message-level 31 rawvmcore makedumpfilevmcore Can you compare "Virtual kernel memory layout:" print of Linux kernel boot with makedumpfile print for page_offset, vmalloc_start, vmemmap_start etc, and see if they match? They should match. ~Pratyush _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec