[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #18471] [PATCH] Grub overwrites reserved memory region when reading
From: |
Beverly Brown |
Subject: |
[bug #18471] [PATCH] Grub overwrites reserved memory region when reading initrd file |
Date: |
Wed, 06 Dec 2006 16:14:57 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322) |
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: address@hidden
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #18471] [PATCH] Grub overwrites reserved memory region when reading initrd file,
Beverly Brown <=