Return-path: Received: from out02.mta.xmission.com ([166.70.13.232]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1JqXZm-000869-F5 for kexec@lists.infradead.org; Mon, 28 Apr 2008 17:55:42 +0000 From: ebiederm@xmission.com (Eric W. Biederman) References: <20080422151622.43c85a00@strauss.suse.de> <20080423103400.6e3d9d90@strauss.suse.de> <20080428102213.63eeaba1@strauss.suse.de> Date: Mon, 28 Apr 2008 10:55:21 -0700 In-Reply-To: <20080428102213.63eeaba1@strauss.suse.de> (Bernhard Walle's message of "Mon, 28 Apr 2008 10:22:13 +0200") Message-ID: MIME-Version: 1.0 Subject: Re: kexec --real-mode 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@lists.infradead.org To: Bernhard Walle Cc: kexec@lists.infradead.org, Jamey Sharp Bernhard Walle writes: > Hi, > > * Eric W. Biederman [2008-04-23 07:00]: >> Bernhard Walle writes: >> > * Jamey Sharp [2008-04-22 16:44]: >> >> >> >> On Tue, Apr 22, 2008 at 6:16 AM, Bernhard Walle wrote: >> >> > did anybody try the --real-mode option with current release? I tried >> >> > it on two machines, and on one machine it just reboots, on the other >> >> > machine it hangs. >> >> >> >> I think you're experiencing a bug that I just proposed a patch for. :-) >> >> You can confirm that: try adding the "--debug" option to your kexec >> >> call. If that works correctly, then I think you'll find that the patch >> >> in "[PATCH 2/9] Fix copy-paste bug: entry16 does not start at >> >> entry16_debug" will solve your problem. That's archived here: >> >> >> >> http://lists.infradead.org/pipermail/kexec/2008-April/001581.html >> > >> > No, I used --debug already. >> >> If this used to work when booting older kernels on your hardware. >> Jamey's patch 3/9 might help. > > Well, now it goes until DEBUG_CHAR('j'). But the kernel doesn't boot. > >> Otherwise if this is the first time you are trying it you may >> simply have encountered the reason that --real-mode is not the default. >> BIOS can get really strange after the kernel has been running. > That might be the case. Thanks for the information. > >> You might try booting kexec_test and see where that puts you. > > But that's ELF and not bzImage. It is a different code path. It is designed to exercise the 16bit BIOS calls that the kernel uses with a lot of serial port debugging so we can see if that is the problem. Eric _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec