[syslinux] syslinux tftp timeouts?

Mikey Sklar sklarm at electric-clothing.com
Wed Jun 16 08:54:08 PDT 2004

A followup from a co-worker (Anthony Golia):

looking at the syslinux code, it looks like we re-try the tftp 6 times,
then jump to the command prompt if they all fail:

from pxelinux.asm:

PKT_RETRY  equ 6        ; Packet transmit retry count
                mov ax,cs                       ; Restore CS = DS = ES
                mov ds,ax
                mov es,ax
                lss esp,[BaseStack]
                call cwritestr                  ; Expects SI -> error msg
al_ok:          jmp enter_command               ; Return to command prompt

and enter_command just sits there at the prompt.  perhaps that should be
changed to

jmp local_boot

where local_boot is already defined:

; Boot to the local disk by returning the appropriate PXE magic.
; AX contains the appropriate return code.
                retf                            ; Return to PXE

On Tue, 15 Jun 2004, Mikey Sklar wrote:

> We saw a problem while use pxelinux v2.06. This occured on nearly two
> dozen machines in our environment which were being rebooted at the same
> time over the weekend. The issue seems to be that tftp was not enitrely
> avaialble. Unfortunately pxelinux left us at a bootprompt rather than
> continuing with the next boot device which is the hard disk which already
> has a OS loaded.
> If the tftp hand off is part of the pxelinux code and not part of the
> pxe rom, would this be a bug with pxelinux? When a tftp server times
> out shouldn't pxelinux continue on?
> PXE-E32: TFTP open timeout
> PXELINUX 2.06 0x3f46af85  Copyright (C) 1994-2003 H. Peter Anvin
> UNDI data segment at:   00096B70
> UNDI data segment size: 3DB0
> UNDI code segment at:   0009A920
> UNDI code segment size: 4E5C
> PXE entry point found (we hope) at 9A92:00D6
> My IP address seems to be 900EC270
> ip=
> TFTP prefix:
> Trying to load: pxelinux.cfg/01-00-06-5b-8f-36-dd
> Trying to load: pxelinux.cfg/900EC270
> Trying to load: pxelinux.cfg/900EC27
> Trying to load: pxelinux.cfg/900EC2
> Trying to load: pxelinux.cfg/900EC
> Trying to load: pxelinux.cfg/900E
> Trying to load: pxelinux.cfg/900
> Trying to load: pxelinux.cfg/90
> Trying to load: pxelinux.cfg/9
> Trying to load: pxelinux.cfg/default
> Could not find kernel image: linux
> boot:
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.


More information about the Syslinux mailing list