From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUMD6-0002yY-PZ for qemu-devel@nongnu.org; Tue, 03 Feb 2009 09:25:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUMD5-0002yK-FR for qemu-devel@nongnu.org; Tue, 03 Feb 2009 09:25:08 -0500 Received: from [199.232.76.173] (port=53760 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUMD5-0002yH-7q for qemu-devel@nongnu.org; Tue, 03 Feb 2009 09:25:07 -0500 Received: from mx2.suse.de ([195.135.220.15]:50962) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUMD4-0006P5-SS for qemu-devel@nongnu.org; Tue, 03 Feb 2009 09:25:07 -0500 Message-ID: <49885555.4020102@suse.de> Date: Tue, 03 Feb 2009 15:31:49 +0100 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Add multi-boot kernel loading support References: <49873680.2040603@exactcode.de> <49883F87.9000903@suse.de> <49884D56.8000603@exactcode.de> In-Reply-To: <49884D56.8000603@exactcode.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rene Rebe Cc: qemu-devel@nongnu.org, Alexander Graf Rene Rebe schrieb: > Hi, > > Kevin Wolf wrote: >> Rene Rebe schrieb: >>> Hi all, >>> >>> Alexander Graf implemented multi-boot kernel loading during >>> his work to run Darwin inside Qemu/KVM. As the boot loader >>> expects to load the kernel in an EFI environment a custom >>> booter is used to load the kernel using a legacy BIOS. >>> >>> This is a port of the patch to the new extload / INT 19 >>> machinery (including minor cleanups). >> >> The memory map doesn't seem to work. It's all zeros for me (haven't >> looked for the reason yet) and that kills my kernel. When I disable the >> memory map part, the kernel seems to boot correctly and it sees all the >> modules with the right command lines. >> >> Once these basic things work, another nice feature would be gzip >> support. It took me some minutes until I realized that I tried to feed >> it a gzipped kernel which didn't work, of course. > > I think I noticed the same with the GRUB example kernel. I'll > take a look at some later hour. > > Is your kernel something you can share for testing? Sure. I tried it with with several homebrew kernels from http://lowlevel.brainsware.org/wiki/index.php/Kategorie:Betriebssystem (page is in German) - to be precise it was tyndur, meinOS, Xantorix and lightOS. Links to the sources and/or binaries for each one are in the respective Wiki articles. I could also send you a tarball with all of them off-list if you like. Kevin