aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2003-08-22 03:39:37 +0000
committerhpa <hpa>2003-08-22 03:39:37 +0000
commit4b234d50f0b3d1aca85018d939f7489d3476e14f (patch)
treebf2827ddb19e12ee41e3e743f1dddb5d31f69967
parent1f6dab023b7d8ee75009f99844cc5dbcb11b95e9 (diff)
downloadsyslinux-elf-4b234d50f0b3d1aca85018d939f7489d3476e14f.tar.gz
syslinux-elf-4b234d50f0b3d1aca85018d939f7489d3476e14f.tar.xz
syslinux-elf-4b234d50f0b3d1aca85018d939f7489d3476e14f.zip
Fix bug that would occationally cause I/O errors depending on the
size of the kernel.
-rw-r--r--NEWS4
-rw-r--r--runkernel.inc2
-rw-r--r--version2
3 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 0f092aee..3d9465ca 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 1b23cdc7..5ad10d53 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 fc22f6f1..ed303790 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-2.05
+2.06