Follow-up Comment #1, bug #29582 (project grub):

How much RAM do you have? It looks like either BIOS supplies a wrong memory
map or corrupts a high memory. Try applying the following patch:

=== modified file 'kern/i386/pc/init.c'
--- kern/i386/pc/init.c 2010-02-06 23:52:31 +0000
+++ kern/i386/pc/init.c 2010-04-17 15:04:04 +0000
@@ -178,12 +178,12 @@
        }
 
       /* Ignore >4GB.  */
-      if (addr <= 0xFFFFFFFF && type == GRUB_MACHINE_MEMORY_AVAILABLE)
+      if (addr <= 0x7FFFFFFF && type == GRUB_MACHINE_MEMORY_AVAILABLE)
        {
          grub_size_t len;
 
-         len = (grub_size_t) ((addr + size > 0xFFFFFFFF)
-                ? 0xFFFFFFFF - addr
+         len = (grub_size_t) ((addr + size > 0x7FFFFFFF)
+                ? 0x7FFFFFFF - addr
                 : size);
          add_mem_region (addr, len);
        }



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29582>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to