Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755780Ab0LQSf0 (ORCPT ); Fri, 17 Dec 2010 13:35:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23685 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755188Ab0LQSfY (ORCPT ); Fri, 17 Dec 2010 13:35:24 -0500 Date: Fri, 17 Dec 2010 13:35:07 -0500 From: Vivek Goyal To: Yinghai Lu Cc: "H. Peter Anvin" , Stanislaw Gruszka , Ingo Molnar , Thomas Gleixner , Maxim Uvarov , "linux-kernel@vger.kernel.org" , Neil Horman Subject: Re: kdump broken on 2.6.37-rc4 Message-ID: <20101217183507.GA14502@redhat.com> References: <4D06783C.6040009@zytor.com> <20101214224135.GB19693@redhat.com> <20101215103954.GA2243@redhat.com> <4D09958D.2040907@kernel.org> <4D0AD976.3020504@zytor.com> <3C6B7683-9CDC-4C4A-A32A-56227DE01387@kernel.org> <20101217170146.GC9568@redhat.com> <4D0BA45A.7020402@zytor.com> <20101217180242.GB12425@redhat.com> <4D0BAA24.3080801@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D0BAA24.3080801@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2525 Lines: 59 On Fri, Dec 17, 2010 at 10:21:24AM -0800, Yinghai Lu wrote: > On 12/17/2010 10:02 AM, Vivek Goyal wrote: > > On Fri, Dec 17, 2010 at 09:56:42AM -0800, H. Peter Anvin wrote: > >> On 12/17/2010 09:01 AM, Vivek Goyal wrote: > >>> On Thu, Dec 16, 2010 at 07:58:48PM -0800, Yinghai wrote: > >>>> Please don't do that to 64 bit > >>>> > >>>> My big system with 1024g memory and a lot of cards with rhel 6 to make kdump work must have crashkernel=512m and second kernel need to take pci=nomsi > >>>> > >>> > >>> I agree here that we should not do it for 64 bit. > >>> > >>> - Just because we need it for 32 bit does not mean we should limit it for > >>> 64bit. And we do want to have the capability to boot the kernel from as > >>> high memory as possible so creating another aritificial limit is counter > >>> to that. > >>> > >>> - I would not worry too much about backward compatibility and allow > >>> booting 32bit kernel till 768MB. The reason being that most of the > >>> distros use same kernel for crash dumping as regular kernel. Maintainig > >>> two separate kernels is big hassle. > >>> > >>> So a small set of people who run into issue, would need to change kernel > >>> command line "crashkernel=128M@64M" or something similar. > >>> > >> > >> Do we have actual testing for how high the 64-bit kernel will load? > > > > I will do some experiments on my box today and let you know. > > if bzImage is used, it is 896M. Strangely on my x86_84 systems with 37-rc6, I am trying to reserve memory and nothing shows up on /proc/iomem. dmesg says that I am reaserving 128M at 64M but nothing in /proc/iomeme. Going back to .36 kernel and see what happens. Ok, last time we had looked that kexec-tools had constraint to load bzImage and initrd below 896MB and it must be coming from that. > > or crashkernel=... will take two ranges like one high and one low. > > also kexec bzImage in 64bit should use startup_64 aka 0x200 offset instead of startup_32 in arch/x86/boot/compressed/head_64.S > > then bzImage can be put above 4G... Neil had been trying that but AFAIK, he had no success. I don't know but he was struggling with setting up pages tables in kexec for 64bit startup. But yes, making use of 64bit entry point is in the wish list. Thanks Vivek -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/