grub-devel
[Top][All Lists]
Advanced

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

[PATCH] memtest86+ fix


From: Robert Millan
Subject: [PATCH] memtest86+ fix
Date: Wed, 2 Jan 2008 18:05:33 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

This fixes boot for memtest86+ (and actually, Linux zImages since they were
all affected).

The problem was that the first code in grub_linux_boot_zimage copied the
payload from  0x100000 to 0x10000.  Since GRUB starts at 0x8200 and is
typicaly more than 8 kiB in size, it'll most likely overwrite part of it.

A bit of reestructuring was necessary to allow grub_dl_unload_all() to happen
unconditionally as first step, since the information on whether this is a
"big linux" was not promptly available.

Comments?

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)

Attachment: memtest.diff
Description: Text Data


reply via email to

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