bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #29582] Grub Fails free magic error when present with hardware


From: Keyzer Suze
Subject: Re: [bug #29582] Grub Fails free magic error when present with hardware raid logical drive
Date: Sun, 18 Apr 2010 10:46:26 +1000

Hi

I have 8g of ram

When I get a chance I will try the patch have to way a day for resync

Alex

Sent from my mobile device

On 18/04/2010, at 1:04, Vladimir Serbinenko <address@hidden> wrote:


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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]