Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751462AbdGQUto (ORCPT ); Mon, 17 Jul 2017 16:49:44 -0400 Received: from ms.lwn.net ([45.79.88.28]:44360 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751325AbdGQUtl (ORCPT ); Mon, 17 Jul 2017 16:49:41 -0400 Date: Mon, 17 Jul 2017 14:49:39 -0600 From: Jonathan Corbet To: Zhouyi Zhou Cc: jason.wessel@windriver.com, kgdb-bugreport@lists.sourceforge.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/1] docs: disable KASLR when debugging kernel Message-ID: <20170717144939.3d07c209@lwn.net> In-Reply-To: <1499411506-29546-1-git-send-email-zhouzhouyi@gmail.com> References: <1499411506-29546-1-git-send-email-zhouzhouyi@gmail.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 385 Lines: 13 On Fri, 7 Jul 2017 15:11:46 +0800 Zhouyi Zhou wrote: > commit 6807c84652b0 ("x86: Enable KASLR by default") enables KASLR > by default on x86. While KASLR will confuse gdb which resolve kernel > symbol address from symbol table of vmlinux. We should turn off KASLR for > kernel debugging. These two patches have been applied to the docs tree. Thanks, jon