Re: Bug-fix elf.c powerpc ieee1275

2008-09-30 Thread peter cros
The change was between svn version 1421 and 1509 which had bugfixes,
in grub_elf32_load, and  grub_elf64_load.

[EMAIL PROTECTED]:~/src/grub$ diff -pu grub1421/kern/elf.c grub1509/kern/elf.c

--- grub1421/kern/elf.c2008-09-30 14:49:46.0 +1000
+++ grub1509/kern/elf.c2008-09-30 14:41:31.0 +1000

@@ -228,9 +232,9 @@ grub_elf32_load (grub_elf_t _elf, grub_e
 if (phdr-p_type != PT_LOAD)
   return 0;

-load_addr = phdr-p_paddr;
 if (load_hook  load_hook (phdr, load_addr))
   return 1;
+load_addr = phdr-p_paddr;

 if (load_addr  load_base)
   load_base = load_addr;

@@ -407,9 +411,9 @@ grub_elf64_load (grub_elf_t _elf, grub_e
 if (phdr-p_type != PT_LOAD)
   return 0;

-load_addr = phdr-p_paddr;
 if (load_hook  load_hook (phdr, load_addr))
   return 1;
+load_addr = phdr-p_paddr;

 if (load_addr  load_base)
   load_base = load_addr;


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel


Re: grub 1.96 svn 20080813 and circular lvm2 metadata

2008-09-30 Thread Hans Lambermont
Robert Millan wrote on 20080924:

 On Tue, Sep 23, 2008 at 10:58:01AM +0200, Felix Zielcke wrote:
 Am Dienstag, den 23.09.2008, 10:29 +0200 schrieb Hans Lambermont:
 The new patch was sent to the list 2 weeks ago.
 (See http://lists.gnu.org/archive/html/grub-devel/2008-09/msg00210.html )
 Is there anything else that is needed ?
 For me personally it looks fine, but it would be good if Marco has a
 look over it and unfornatunately he doestn't have much free time now.
 So let's put him in CC.

My email address I put in the changelog proposal will stop working soon, so
here's a new one that'll last longer :

This is intended for the Changelog :

2008-09-09  Hans Lambermont  [EMAIL PROTECTED]

   * disk/lvm.c (grub_lvm_scan_device): Allocate buffer space for the
   circular metadata worst case scenario. If the metadata is circular
   then copy the wrap in place.
   * include/grub/lvm.h: Add GRUB_LVM_MDA_HEADER_SIZE, from the LVM2
   project lib/format_text/layout.h
   Circular metadata bug found and patch debugged by
   Jan Derk Gerlings  [EMAIL PROTECTED]

The address of Jan Derk will stop working too, I'll send an new one as
soon as I have it.

regards,
   Hans Lambermont
-- 
Hans Lambermont, M.Sc.  -  Newtec  -  OS-PlatformVAS
http://newtec.eu/t:+31408519234m:+31629064887


___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel