Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S979524AbdDYAli (ORCPT ); Mon, 24 Apr 2017 20:41:38 -0400 Received: from mail-it0-f50.google.com ([209.85.214.50]:38759 "EHLO mail-it0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760222AbdDYAl3 (ORCPT ); Mon, 24 Apr 2017 20:41:29 -0400 MIME-Version: 1.0 In-Reply-To: <20170424230738.GA11734@x1> References: <20170419133630.GA2311@x1> <20170420132632.GD2311@x1> <20170424230738.GA11734@x1> From: Thomas Garnier Date: Mon, 24 Apr 2017 17:41:27 -0700 Message-ID: Subject: Re: KASLR causes intermittent boot failures on some systems To: Baoquan He Cc: Dan Williams , Jeff Moyer , Ingo Molnar , LKML , "linux-nvdimm@lists.01.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 626 Lines: 17 On Mon, Apr 24, 2017 at 4:07 PM, Baoquan He wrote: > Yeah, according to my debugging tracking, it goes as Dan said. And the > is_ram is REGION_DISJOINT. And till arch_add_memory, the parameters > passed to arch_add_memory are "arch_add_memory, align_start:0x10000000000, align_size:0x3000000000", > seems it's going well. Hum ok, I hope it was another path given it seems the page table is correctly setup on this one. Maybe looking at the PTEs with and without crash might help? (setting this if statement to 1: http://lxr.free-electrons.com/source/arch/x86/mm/init_64.c#L360) Thanks Baoquan, -- Thomas