From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lu1Rg-0001c2-O7 for mharc-grub-devel@gnu.org; Wed, 15 Apr 2009 05:30:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lu1Rd-0001bZ-1F for grub-devel@gnu.org; Wed, 15 Apr 2009 05:30:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lu1RX-0001aF-8j for grub-devel@gnu.org; Wed, 15 Apr 2009 05:30:11 -0400 Received: from [199.232.76.173] (port=59287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lu1RW-0001aC-Vm for grub-devel@gnu.org; Wed, 15 Apr 2009 05:30:07 -0400 Received: from smtp103.vzn.mail.re1.yahoo.com ([69.147.103.190]:27429) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Lu1RW-00048k-Ht for grub-devel@gnu.org; Wed, 15 Apr 2009 05:30:06 -0400 Received: (qmail 39015 invoked from network); 15 Apr 2009 09:30:06 -0000 Received: from unknown (HELO ?192.168.2.5?) (jpsinthemix@68.239.115.78 with plain) by smtp103.vzn.mail.re1.yahoo.com with SMTP; 15 Apr 2009 09:30:05 -0000 X-YMail-OSG: 7hKsdlYVM1mZ7FYUETQ0jBqHEatpUK8EDlx8XiXOcnhG24QG29_AQ97ouSbzfAuXWJQKxPGR6aRnjTwJtOuw5TWnjmxliXhYCFEQsTfpx.rmXEhx3MWEHwOGf1j0FsoGk.F6AhAjI0zd7GzR3PTZiBNtmj3muy1gZGdaugX1RmQczJyA3Spvic19_tuOWRWFfupX_BXvkxVv_RXTOdVlIJSOuWmJf2hO6b9FixyvqNfKj8ytn03d58MINl5B71BvrJlnN37mVrGtbz_xy3Kdqlpd18hTSkBpGxHax21lDpM9QA-- X-Yahoo-Newman-Property: ymail-3 Message-ID: <49E5A91C.3000109@verizon.net> Date: Wed, 15 Apr 2009 05:30:04 -0400 From: John Stanley User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: The development of GRUB 2 References: <49E3E0FB.1070907@verizon.net> <1239694395.3718.5.camel@fz.local> <49E455B7.5040402@verizon.net> <49E4518D.1090301@gmail.com> <49E5A102.40701@verizon.net> <49E5A394.8050108@gmail.com> In-Reply-To: <49E5A394.8050108@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Subject: Re: status grub2 port of grub-legasy map command 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, 15 Apr 2009 09:30:13 -0000 I'd be happy to sign a copywrite statement, no problem -- how do I go about it ? Is this what you're referring to: /* BDA offset 0x13 contains the top of conventional memory, in kiB. */ grub_uint16_t *bpa_freekb = (grub_uint16_t*)0x00000413; . . *bpa_freekb -= payload_sizekb; where payload_sizekb is the size of the drivemap int13 handler + its mapped drive table ? phcoder wrote: > If you want your code to be incorporated you need to sign the > copyright assignment. > John Stanley wrote: >> I have also incorporated your mmap services patch as well (again >> with minor mods to build in r2106). My question at this point, is >> how best to incorporate mmap services into drivemap. I see that in >> mmap/i386/pc/mmap.c there is some sort of support for int12 and int15 >> services. Should I incorporate the drivemap int13 handler here ? >> Looks relatively straightforward -- just insert the asm handler into >> mmap/i386/pc/mmap_helper.S and update mmap/i386/pc/mmap.c -- (except >> for how I place the mapped drives table), or, should I use the mmap.c >> code as a template for the drivemap int13 handler plus mapped drives >> table ? > Don't do it that way. It merges 2 unrelated modules. At some point > drivermap does following > *bpaMemInKb -= ...; > But this isn't correct because mmap interrupts still list the memory > used by drivemap as available. Use grub_mmap_register instead of it. >> >> thanks for any help/suggestions, >> John >> >> phcoder wrote: >>> I haven't yet looked in depth in drivemap patch but it has some >>> problems. It uses preboot hook interface for which I proposed an >>> update in my recent patch "preboot hooks". Also it doesn't update >>> memorymap correctly. For this it should use my "mmap services" >>> interface >>> John Stanley wrote: >>>> Thanks Felix, >>>> >>>> Hurm.. Well, if anyone is interested, I have just made a couple of >>>> additional updates to the drivemap.path.8 code, >>>> and now with r2104 the "unaligned pointer" issue is gone, and it is >>>> working great on my systems. I can post the patch if you or anyone >>>> else is interested. >>>> John >>>> >>>> >>>> Felix Zielcke wrote: >>>>> Am Montag, den 13.04.2009, 21:03 -0400 schrieb John Stanley: >>>>> >>>>>> Hi all, >>>>>> I was wondering what the current status of a grub2 port of the >>>>>> grub-0.97 "map" and "rootnoverify" commands is? I have found >>>>>> some work done to this end in the "drivemap.patch" work, but I >>>>>> find nothing more recent than drivemap.patch.8 dated around Aug >>>>>> 2008. >>>>>> >>>>> >>>>> The current status of it are exactly what you found out. >>>>> I don't know if that'll ever change. >>>>> >>>>> >>>>> >>>>>> Could anyone give me any pointers/direction on what might be >>>>>> happening here? Could it be that the "norootverify"-functionality >>>>>> of grub-legasy is lacking here? Or, perhaps, that the "--force" >>>>>> option is not being honored ? >>>>>> >>>>> >>>>> rootnoverify isn't needed anymore, because root is now just a >>>>> variable >>>>> and not anymore a command which tried to verify it. So basically >>>>> rootnoverify is default now. >>>>> chainloader --force just skips the check for 0xaa55, normally it >>>>> shouldn't be needed with a valid windows bootsector. >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Grub-devel mailing list >>>> Grub-devel@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/grub-devel >>> >>> >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel > >