All of lore.kernel.org
 help / color / mirror / Atom feed
* netboot and memory problem : solved ?
@ 2005-06-17 23:52 Vincent Guffens
  2005-06-18 13:51 ` Ext2fs support bug Serbinenko Vladimir
  0 siblings, 1 reply; 5+ messages in thread
From: Vincent Guffens @ 2005-06-17 23:52 UTC (permalink / raw)
  To: The development of GRUB 2

hi !


what do you think about the following change in grub_free ?

Instead of (at the end of the function)

   if (p + p->size == p->next)
   {
     p->next->magic = 0;
     p->size += p->next->size;
     p->next = p->next->next;
   }
[...]
r->first = q;


I tried the following


   if (p + p->size == p->next)
   {
     p->next->magic = 0;
     p->size += p->next->size;
     p->next = p->next->next;
     r->first = p;
     return;
   }


as a reminder, my problem was that sometimes, grub2 would fataly print 
(error message from grub_free):

free magic is broken at 0x37e50: 0x0

I'm quite sure that my problem is linked with that region of the code, 
but I'm not too sure about the consequences of that possible fix.

At least, I can't repoduce the problem on my pc but I'll do some more 
testing on monday as this problem is kind of "volatile".

I hope it's the one ! Have a good week-end !

-- 
				Vincent Guffens
				PhD Student UCL/CESAME
				tel:   +32 10 47 80 30
Value your freedom, or you will lose it, teaches history.
"Don't bother us with politics," respond those who don't want to learn.
	      	-- Richard M. Stallman



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-31 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-17 23:52 netboot and memory problem : solved ? Vincent Guffens
2005-06-18 13:51 ` Ext2fs support bug Serbinenko Vladimir
2005-07-13 16:42   ` Marco Gerards
2005-07-30 13:20     ` Bug-fixing and keystroke Serbinenko Vladimir
2005-07-31 16:19       ` Yoshinori K. Okuji

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.