On Tue, Jun 16, 2009 at 4:09 PM, James Jarvis <james.jar...@ed.ac.uk> wrote:

> Vladimir 'phcoder' Serbinenko wrote:
>
>> tried this module list in grub-mkimage on 2282 but it hung!
>>>
>>>
>> I think you have a problem with you building system. If you want ping
>> me (phcoder) on IRC and I'll compile for you
>>
>>
> Shamed me into looking deeper! I discover that by listing hello and echo
> first in the grub-mkimage command they both work as expected. Not sure why
> this occurs - is there a file detailing module dependencies one can look at?
>
You have probably hit a memory access bug in a secondary module. Post the
list of modules you integrate and try removing some of these modules

>
> Anyway, whilst looking through the code I did spot a semantic error, fix
> shown in this patch:
> Index: echo.c
> ===================================================================
> --- echo.c      (revision 2331)
> +++ echo.c      (working copy)
> @@ -113,7 +113,7 @@
> GRUB_MOD_INIT(echo)
> {
>  cmd = grub_register_extcmd ("echo", grub_cmd_echo, GRUB_COMMAND_FLAG_BOTH,
> -                             "echo [-e|-n] FILE", "Display a line of
> text.",
> +                             "echo [-e|-n] STRING", "Display a line of
> text.",
>                             options);
> }
>
> James
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to