On 11/25/2013 05:41 PM, Gerardo Exequiel Pozzi wrote:
> Avoiding different issues like instant reboot or error messages.
> 
> This ensure that isolinux.bin is located on the most low extent possible
> (LBA 34) just after boot.cat (LBA 33).
> 
> Directory listing of /ISOLINUX/
> d---------   0    0    0       2048 Nov 25 2013 [     21 02] .
> d---------   0    0    0       2048 Nov 25 2013 [     19 02] ..
> ----------   0    0    0       2048 Nov 25 2013 [     33 00] BOOT.CAT;1
> ----------   0    0    0      38912 Nov 25 2013 [     34 00] ISOLINUX.BIN;1
> 
> More details at http://www.syslinux.org/archives/2013-November/021169.html
> 
> Signed-off-by: Gerardo Exequiel Pozzi <[email protected]>
> ---
>  archiso/mkarchiso | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/archiso/mkarchiso b/archiso/mkarchiso
> index 9655167..434ca1f 100755
> --- a/archiso/mkarchiso
> +++ b/archiso/mkarchiso
> @@ -409,6 +409,7 @@ command_iso () {
>              -no-emul-boot -boot-load-size 4 -boot-info-table \
>              -isohybrid-mbr ${work_dir}/iso/isolinux/isohdpfx.bin \
>              ${_iso_efi_boot_args} \
> +            --sort-weight 1 isolinux/isolinux.bin \
>              -output "${out_dir}/${img_name}" \
>              "${work_dir}/iso/"
>          _msg_info "Done! | $(ls -sh ${out_dir}/${img_name})"
> 

OK, finally found the offending commit after many many tests[#1] burning
differents ISOs.

The cause and bug is trivially fixed:
----
diff --git a/core/isolinux.asm b/core/isolinux.asm
index bd4e9556922d..c4db4133e274 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -420,7 +420,7 @@ MaxLMA              equ 384*1024            ; Reasonable 
limit (384K)
                call getlinsec
                pop eax
                pop cx
-               mov dx,cx
+               movzx edx,cx
                pop bp
                pop bx
----

@Tobias: Could you rebuild syslinux with patch [#2] included? Thanks!

[#1] http://www.syslinux.org/archives/2013-November/021187.html
[#2] http://www.syslinux.org/archives/2013-November/021189.html

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to