Return-path: Received: from gprs189-60.eurotel.cz ([160.218.189.60] helo=amd.ucw.cz) by canuck.infradead.org with esmtp (Exim 4.63 #1 (Red Hat Linux)) id 1IHlGT-0001Oq-6m for kexec@lists.infradead.org; Sun, 05 Aug 2007 14:55:48 -0400 Date: Sun, 5 Aug 2007 20:55:58 +0200 From: Pavel Machek Subject: Re: [PATH 0/1] Kexec jump - v2 - the first step to kexec based hibernation Message-ID: <20070805185558.GE1758@elf.ucw.cz> References: <1184483593.1898.98.camel@caritas-dev.intel.com> <20070731110458.GA1777@elf.ucw.cz> <1185932071.1363.13.camel@caritas-dev.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1185932071.1363.13.camel@caritas-dev.intel.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: "Huang, Ying" Cc: david@lang.hm, nigel@nigel.suspend2.net, Kexec Mailing List , linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Alan Stern , "Eric W. Biederman" , Andrew Morton , linux-pm@lists.linux-foundation.org, Jeremy Maitin-Shepard Hi! > > root@amd:~# kexec -p /data/l/linux/arch/i386/boot/bzImage --append="init=/bin/bash kexec_jump_buf_pfn=`cat /sys/kernel/kexec_jump_buf_pfn`" > > Could not find a free area of memory of 9000 bytes... > > locate_hole failed > > root@amd:~# > > > > What am I doing wrong? > > The kexec-tools version 1.101 does not work perfectly with relocatable > kernel. This would have been solved if I worked against kexec-tools > testing tree. I will work against testing tree in the next version. > > But, with some trick, it can work. When configure kernel, make sure the > following option is set: > > CONFIG_PHYSICAL_START=0x4000000 # if crashkernel=M@64M Did the trick, I got the kernel to load, and it even attempted exec... but I got doublefault (or what is it?) Int 6: ... EIP: c4739906. Address is in reserve_bootmem_core. Do I have to disable ACPI completely? I tried with acpi=off, nosmp... but problem does not seem device related. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec