From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: Widespread boot failures on ARM due to "mm/page_alloc.c: calculate zone_start_pfn at zone_spanned_pages_in_node()" Date: Tue, 5 Jan 2016 12:21:51 +0000 Message-ID: <568BB55F.2020709@arm.com> References: <20160104224233.GU16023@sirena.org.uk> <20160104150946.373ed02b8e8b81221340b7c8@linux-foundation.org> <20160104235512.GW16023@sirena.org.uk> <20160104163528.be56a4b1.akpm@linux-foundation.org> <20160105114549.GX16023@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from foss.arm.com ([217.140.101.70]:57916 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751440AbcAEMV4 (ORCPT ); Tue, 5 Jan 2016 07:21:56 -0500 In-Reply-To: <20160105114549.GX16023@sirena.org.uk> Sender: linux-next-owner@vger.kernel.org List-ID: To: Mark Brown , Andrew Morton Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, Stephen Rothwell , Tony Luck , Russell King , kernel-build-reports@lists.linaro.org, Mel Gorman , Tyler.Baker@linaro.org, Dave Hansen , Kevin.Hilman@linaro.org, linux-next@vger.kernel.org, Kamezawa Hiroyuki , Xishi Qiu , Taku Izumi , Matt Fleming On 05/01/16 11:45, Mark Brown wrote: > On Mon, Jan 04, 2016 at 04:35:28PM -0800, Andrew Morton wrote: >> On Mon, 4 Jan 2016 23:55:12 +0000 Mark Brown wrote: >>> On Mon, Jan 04, 2016 at 03:09:46PM -0800, Andrew Morton wrote: > >>>> Thanks. That patch has rather a blooper if >>>> CONFIG_HAVE_MEMBLOCK_NODE_MAP=n. Is that the case in your testing? > >>> Seems to be what's making a difference from a quick run through, yes. > >> OK, thanks. > > Seems like I was mistaken here somehow or there's some other problem - > I've kicked off another bisect for today's -next: > > https://ci.linaro.org/view/people/job/tbaker-boot-bisect-bot/137/console > > and will follow up with any results. > With both patches applied(one already in today's -next), I am able to boot on ARM64 platform but I get huge load(for each pfn) of below warning: -->8 BUG: Bad page state in process swapper pfn:900000 page:ffffffbde4000000 count:0 mapcount:1 mapping: (null) index:0x0 flags: 0x0() page dumped because: nonzero mapcount Modules linked in: Hardware name: ARM Juno development board (r0) (DT) Call trace: [] dump_backtrace+0x0/0x180 [] show_stack+0x14/0x20 [] dump_stack+0x90/0xc8 [] bad_page+0xd8/0x138 [] free_pages_prepare+0x218/0x290 [] __free_pages_ok+0x1c/0xb8 [] __free_pages+0x30/0x50 [] __free_pages_bootmem+0xa0/0xa8 [] free_all_bootmem+0x11c/0x184 [] mem_init+0x48/0x1b4 [] start_kernel+0x224/0x3b4 [<0000000080663000>] 0x80663000 Disabling lock debugging due to kernel taint -- Regards, Sudeep