Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FbQoY-0003hp-Pa for mharc-grub-devel@gnu.org; Wed, 03 May 2006 19:31:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbQoX-0003hS-12 for grub-devel@gnu.org; Wed, 03 May 2006 19:31:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbQoU-0003ee-C2 for grub-devel@gnu.org; Wed, 03 May 2006 19:31:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbQoT-0003eC-QJ for grub-devel@gnu.org; Wed, 03 May 2006 19:31:21 -0400 Received: from [212.27.42.28] (helo=smtp2-g19.free.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FbQox-0000Hu-2A for grub-devel@gnu.org; Wed, 03 May 2006 19:31:51 -0400 Received: from yoda (std93-4-82-229-216-106.fbx.proxad.net [82.229.216.106]) by smtp2-g19.free.fr (Postfix) with ESMTP id 3A8EB6D495 for ; Thu, 4 May 2006 01:31:18 +0200 (CEST) From: =?iso-8859-1?Q?Eric_Salom=E9?= To: "'The development of GRUB 2'" Date: Thu, 4 May 2006 01:31:18 +0200 Message-ID: <002101c66f09$ada21ff0$0b00a8c0@yoda> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: Subject: RE : grub-emu state of the art 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: Wed, 03 May 2006 23:31:25 -0000 GRUB 2 Wiki ToDoList : Implement ModuleLoading in grub-emu I worked on that : Architecture i386/pc - Emulation on Linux/Ubuntu grub-emu is loading all current modules, though some won't do anything in emulation mode. The modules .mod are the same as those used for boot time. Little changes in source code, though I had to adapt asm files to passing parameters in stack (I compile without -mregparm=3D3 -mrtd = options as I didn't want to recompile the whole C library with those passing parameters conventions). ... when I be done with grub 2 debugging I'll just have to recompile with these options (if you like them a lot) and it will work just fine (boot time only). ToBeAwardedOf: Don't use gcc 3.3 with grub 2's current source files : compiled code is wrong and subject to unattended results. Runs fine with gcc 4.0. I have still a doubt about gcc 3.4. LeftToDo :=20 - see if every modification is useful, as I tried a few things before I got a good result, and send a diff patch. - I need a "patched" symlist.c to compile with grub-emu (could be generated by a script, but I am too lazy). - let gdb know about dynamically loaded modules ;-), but I guess it won't be the easy part. Best Regards, _________________________________________ Eric Salom=E9 - Paris, France > -----Message d'origine----- > De=A0: Eric Salom=E9 > Envoy=E9=A0: samedi 29 avril 2006 23:00 > =C0=A0: The development of GRUB 2 > Objet=A0: grub-emu state of the art >=20 > Hi, >=20 > I need a working grub-emu to continue the port of a system of my own from > grub to grub 2. >=20 > I am currently working on a i386 pc and had hard time the first days with > the 1.93 delivery : grub-emu would run (on Linux based Ubuntu OS) and come > with a rescue mode prompt, but was not likely to load and init modules > such as "normal.mod" (even by hand). >=20 > Am I doing something wrong or is it the current state of grub-emu ? >=20 > In the latter case, I'd be glad to help a little and see what can be done > to have a fully functional grub-emu. >=20 > Best regards. > _________________________________________ > Eric Salom=E9 - Paris, France