From: hpa Date: Fri, 22 Aug 2003 03:39:37 +0000 (+0000) Subject: Fix bug that would occationally cause I/O errors depending on the X-Git-Tag: syslinux-3.11~535 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b234d50f0b3d1aca85018d939f7489d3476e14f;p=platform%2Fupstream%2Fsyslinux.git Fix bug that would occationally cause I/O errors depending on the size of the kernel. --- diff --git a/NEWS b/NEWS index 0f092ae..3d9465c 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,10 @@ Starting with 1.47, changes marked with SYSLINUX/PXELINUX/ISOLINUX apply to that specific program only; other changes apply to all of them. +Changes in 2.06: + * SYSLINUX: Fix problem that would occationally cause a boot + failure, depending on the length of the kernel. + Changes in 2.05: * PXELINUX: Add a default query based on the hardware address of the boot device. This is in lower case hexadecimal form diff --git a/runkernel.inc b/runkernel.inc index 1b23cdc..5ad10d5 100644 --- a/runkernel.inc +++ b/runkernel.inc @@ -274,7 +274,7 @@ read_kernel: pop ecx ; Number of bytes in the initial portion pop si ; Restore file handle/cluster pointer mov eax,[KernelSize] - sub eax,ecx ; Amount of kernel left over + sub eax,8000h ; Amount of kernel not yet loaded jbe high_load_done ; Zero left (tiny kernel) call load_high ; Copy the file diff --git a/version b/version index fc22f6f..ed30379 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.05 +2.06