grub-devel
[Top][All Lists]
Advanced

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

[PATCH] Fix for PXE module


From: Alex Smith
Subject: [PATCH] Fix for PXE module
Date: Tue, 9 Dec 2008 16:23:45 +0000

Hi,

A while ago I submitted a bug to the GRUB bugtracker with a patch
attached to fix the PXE module
(https://savannah.gnu.org/bugs/index.php?24661). It doesn't seem to
have been noticed so I'm submitting it here too.

The PXE TFTP API only allows one open connection at any one time. The
PXE module in GRUB2 has code to handle this in some places, but in
other places (grub_pxefs_open and grub_pxefs_close) it is not handled,
causing errors. For example, when I try to insert the multiboot module
from PXE, that wants to insert the _multiboot module, resulting in the
PXE call failing because 2 connections are being made.

I've attached a patch which handles this properly in grub_pxefs_open()
and grub_pxefs_close(). With these changes made I can successfully
load GRUB2 from PXE, and boot a kernel.

Thanks,
Alex

Attachment: grub2-r1886-pxe-fixup.patch
Description: Binary data


reply via email to

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