From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1I2Muu-0008Rt-NZ for mharc-grub-devel@gnu.org; Sun, 24 Jun 2007 03:53:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2Mut-0008RW-6y for grub-devel@gnu.org; Sun, 24 Jun 2007 03:53:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2Mur-0008RC-R4 for grub-devel@gnu.org; Sun, 24 Jun 2007 03:53:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2Mur-0008R9-Kg for grub-devel@gnu.org; Sun, 24 Jun 2007 03:53:49 -0400 Received: from pne-smtpout4-sn2.hy.skanova.net ([81.228.8.154]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I2Mur-000449-3o for grub-devel@gnu.org; Sun, 24 Jun 2007 03:53:49 -0400 Received: from [127.0.0.1] (88.193.32.97) by pne-smtpout4-sn2.hy.skanova.net (7.2.075) id 45B62169007835FD for grub-devel@gnu.org; Sun, 24 Jun 2007 09:53:45 +0200 Message-ID: <467E2314.5010200@nic.fi> Date: Sun, 24 Jun 2007 10:53:56 +0300 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: The development of GRUB 2 References: <8c0c43de0706232131t48e63e45jf99963529a2f2304@mail.gmail.com> In-Reply-To: <8c0c43de0706232131t48e63e45jf99963529a2f2304@mail.gmail.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-kernel: Solaris 8 (1) Subject: Re: Loading boot image retrieved from CD-ROM X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2007 07:53:51 -0000 Alex Roman wrote: > Hello, > > As you may recall, I'm working on the Google Summer of Code project to > enable GRUB2 to boot off CDs. > > I can now read boot images from CDs using int 13h BIOS calls :) And > I've confirmed I'm actually reading the ISOLINUX image because I can > perform some manual disassembly and it matches what I see in the > ISOLINUX source code :) > > The problem is that QEMU freezes when I call the asm function. Was > wondering if anyone could take a quick look at the function to see if > I'm doing anything wrong, or if someone could suggest how to best > debug this issue... Sorry not having the time to test out PXE boot in vmware. Actually I didn't event discover way to do PXE boot without setting up required server software.... Anyway please provide floppy disk image next time ;) Back to your issue. What BIOS call did you use? I am asking this because if you did end up using packet calls then it might not work for ISOLINUX as it most likely uses emulated reads. And might need drive remapping. I have faint memory that some register needs to contain drive number being booted. And now you have zeroed almost everything. Anyway. Best to make custom image so that you know that you have booted it and not to quess that perhaps something is happening :) You could easily make 512 bytes image that does something like printing something to screen or so. Here is a wiki link about memory map: http://grub.enbug.org/MemoryMap