From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUhL5-00037W-5U for qemu-devel@nongnu.org; Wed, 04 Feb 2009 07:58:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUhL2-00037J-37 for qemu-devel@nongnu.org; Wed, 04 Feb 2009 07:58:46 -0500 Received: from [199.232.76.173] (port=47390 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUhL1-00037F-Rn for qemu-devel@nongnu.org; Wed, 04 Feb 2009 07:58:43 -0500 Received: from ns.suse.de ([195.135.220.2]:53859 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUhL1-0002iI-9D for qemu-devel@nongnu.org; Wed, 04 Feb 2009 07:58:43 -0500 Message-ID: <49899294.5060507@suse.de> Date: Wed, 04 Feb 2009 14:05:24 +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> <49885555.4020102@suse.de> <5C0CBE70-6FE4-4756-B1D1-0B8D7D83D9E8@exactcode.de> In-Reply-To: <5C0CBE70-6FE4-4756-B1D1-0B8D7D83D9E8@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: >>> 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. > > From reading the last mails I thought you would have your own kernel. Well, I didn't say that I'm not involved in one of these. tyndur is the one, even if the broken multiboot patch proved that there is room for improvement in the error handling. (*cough* Triple fault... ;-)) > I now have the mmap, memory sizes (kB, not Bytes) fixed and some > other comments from the list taken into account (ARRAY_SIZE, etc.). > > > http://svn.exactcode.de/t2/trunk/package/emulators/kvm/09-qemu-multiboot.patch > > > As I did not yet feel like extracting all the kernels and their modules > from the cited disk / floppy images so it's not yet tested with those > "homebrew" kernels. Looks much better now. Not all systems complete the boot (I would suspect the OSes to be buggy here though), but no horrible crashes any more. Well, except that with the lightOS kernel I still managed to get a qemu segfault in the fread in pc.c:939 when loading a module, and other modules failed to load ("read error on multiboot module abc (0 != x)"). Interestingly the same modules are loaded without any problem if I use a different kernel. I guess we'd better fix that before committing. Kevin