Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754918AbcDNMDc (ORCPT ); Thu, 14 Apr 2016 08:03:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56969 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754886AbcDNMD3 (ORCPT ); Thu, 14 Apr 2016 08:03:29 -0400 Date: Thu, 14 Apr 2016 20:03:21 +0800 From: Dave Young To: torvalds@linux-foundation.org Cc: kexec@lists.infradead.org, linux-kernel@vger.kernel.org, zhezhang@redhat.com, ebiederm@xmission.com, vgoyal@redhat.com Subject: kexec loading fails without kernel code address in /proc/iomem Message-ID: <20160414120321.GA3502@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 14 Apr 2016 12:03:29 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1007 Lines: 28 Hi, Linus Zhengyu Zhang found a kexec failure caused by below commit: commit c4004b02f8e5b9ce357a0bb1641756cc86962664 Author: Linus Torvalds Date: Wed Apr 6 13:45:07 2016 -0700 x86: remove the kernel code/data/bss resources from /proc/iomem Let's see if anybody even notices. I doubt anybody uses this, and it does expose addresses that should be randomized, so let's just remove the code. It's old and traditional, and it used to be cute, but we should have removed this long ago. If it turns out anybody notices and this breaks something, we'll have to revert this, and maybe we'll end up using other approaches instead (using %pK or similar). But removing unnecessary code is always the preferred option. Noted-by: Emrah Demir Signed-off-by: Linus Torvalds Probably we should revert the commit and do it in other way .. Thanks Dave