From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-f180.google.com ([209.85.192.180]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d49Zv-0000sz-VA for kexec@lists.infradead.org; Fri, 28 Apr 2017 17:21:12 +0000 Received: by mail-pf0-f180.google.com with SMTP id q66so7337351pfi.3 for ; Fri, 28 Apr 2017 10:20:51 -0700 (PDT) Subject: Re: Kexec on ARM - memory detection References: <125ffde4-2103-48b5-2c46-886436619124@redhat.com> From: Pratyush Anand Message-ID: Date: Fri, 28 Apr 2017 22:50:43 +0530 MIME-Version: 1.0 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Kristian Kielhofner Cc: kexec@lists.infradead.org On Wednesday 26 April 2017 10:45 PM, Kristian Kielhofner wrote: > On Fri, Apr 21, 2017 at 6:27 AM, Pratyush Anand wrote: >> Hi Kristian, >> >> Sorry, I missed this mail. >> Are you still on it, or it is solved? > > No problem, I'm still experiencing the issue but I haven't > investigated it further. > >> >> >> How does kexec-tools see above memory ranges? >> As per your /proc/iomem, it should have been >> 42000000-5fffffff (0) >> >> Can you put some extra debug print in your code and check why do you have >> above behavior? >> > > Can you point towards some examples or documentation for what you're > looking for? kexec-tools:kexec/arch/arm/kexec-arm.c:get_memory_ranges() is telling you that you have MEMORY RANGES 00012028b6d27010-bea6aee700000004 (0) However, you /proc/iomem is telling you: 42000000-5fffffff : System RAM get_memory_ranges() is reading /proc/iomem and finding out the available ram locations. So, can you debug this kexec-tools function and see why you do not get the range which is coming from /proc/iomem ~Pratyush _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec