URL:
<http://savannah.gnu.org/bugs/?18471>
Summary: [PATCH] Grub overwrites reserved memory region when
reading initrd file
Project: GNU GRUB
Submitted by: bbrown_gnu
Submitted on: Wednesday 12/06/2006 at 16:14
Category: Booting
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name: Beverly Brown
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
Release: 0.93
Reproducibility: None
Planned Release:
_______________________________________________________
Details:
When grub reads in an initrd that is larger than ~13MB, it overwrites a
memory region that is reserved by the system BIOS in some systems.
The original load_initrd function in grub was reading in the initrd file
without regard to where memory holes in the memory map may be. Then it
determined where it needed to be in order to pass it on to Linux and copied
it there.
The overwrite was happening during the initial read, so I removed that step.
The function now determines where the initrd code needs to be and puts it
there without the initial read. It no longer overwrites the memory region
reserved by the BIOS.
The patch is attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wednesday 12/06/2006 at 16:14 Name: grub-0.93-initrd_nocopy.patch
Size: 2kB By: bbrown_gnu
<http://savannah.gnu.org/bugs/download.php?file_id=11462>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18471>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub