[syslinux] pxelinux bug's
bc-info at styx.cabel.net
Mon Jun 18 13:31:06 PDT 2007
The attached patch contains three small (although 2 of them are
fundamental :) fixes for pxelinux
1. Alignment error when more than one initramfs are loaded using initrd
- the alignment of the last disk is discarded in calculations but is
ALWAYS present when the loading procedure is called. As a result - the
second image (cpio) is not recognized.
2. On some platforms (vmware for example :), READING from the video memory
in the 32bit mode is impossible (causes an exeption). Taking in to account
that the scroll function in ilinux/arch/i386/boot/compressed/misc.c
works using a memcpy of the video memory, when the linux bootsector is given
control and the cursor is at the end of the screen (-1-2 lines) an exception is
arisen and in the presence of it's handler in the bootloader the system halts.
Both lilo and grub handle this situation - the cursor is always somewhere at the
middle of the screen when the control is given to the linux bootsector.
When using pxelinux taking in to account that the PXE bios prints out the
presence of the second initramfs which causes the screen to scroll and the bug
to appear :)
A very simple solution - the screen is cleared before giving control to the
linux bootsector (in the patch).
3. If more than one initramfs are loaded then before every "Loading..."
message (but the first) an extra new line is added. A small thingy but
Iouri mailto:bc-info at styx.cabel.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1178 bytes
Desc: not available
More information about the Syslinux