[syslinux] PATCH for Symbios/LSIlogic scsi and isolinux

Ruud ruud3 at xs4all.nl
Sun Jun 2 05:27:39 PDT 2002


Attached patch allows isolinux to boot from a CDROM attached to
a NCR/Symbios/LSIlogic SCSI controller (bios version 4.19).

It appears this bios can't read more than 1 sector at the time using
the ah=42h int13 call.  The isolinux boot was failing early on when
4 sector are read. (bios returned error 0 !)

I'm not sure if the same 'getlinsec' routine is called upon later to
load the images selected by the user otherwise, for the 4 sector read,
this change shouldn't have much impact on other systems.
(boot speed was very fast).

Regards,
	Ruud L.

--- isolinux.asm.ORIG	Sat Jun  1 09:52:41 2002
+++ isolinux.asm	Sun Jun  2 14:14:12 2002
@@ -498,9 +498,9 @@
 		mov [si+8],eax
 .loop:
 		push bp				; Sectors left
-		cmp bp,byte 32
+		cmp bp,byte 1			; 1 works for LSIlogic
 		jbe .bp_ok
-		mov bp,32
+		mov bp,1
 .bp_ok:
 		mov [si+2],bp
 		push si



More information about the Syslinux mailing list