Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2006 20:37:52 +0100 (CET)
From:      Joost Bekkers <joost@jodocus.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/106028: tftp inside pxeboot isn't initialised properly
Message-ID:  <200611291937.kATJbqih015478@jodocus.org>
Resent-Message-ID: <200611291940.kATJeNOB063549@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106028
>Category:       kern
>Synopsis:       tftp inside pxeboot isn't initialised properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 29 19:40:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Joost Bekkers
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD bps.jodocus.org 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Sun Oct 1 19:21:38 CEST 2006 root@bps.jodocus.org:/usr/src/sys/i386/compile/bps i386

>Description:

If on the first call to pxe_open rootip is already set (probably because of
information in bootplayer) the bootp/dhcp routine in libstand never get
executed. (see src/sys/boot/i386/libi386/pxe.c:275)

This bootp routine s the only place that sets servip (defined in bootp.c)
which is used by the tftp client in libstand. Any attempt to use tftp
will cause tftp-requests to go to 0.0.0.0

This doesn't seem to happen on all systems, so it's probably dependent on
the pxe implementation on the nic/motherboard. I'm experiencing this problem
on a dell optiplex gx150

>How-To-Repeat:

build pxeboot with -DLOADER_TFTP_SUPPORT
try to boot.


>Fix:

If somebody can point me in the right direction of 'the right thing(tm)', I'll be happy
to supply a patch. I've got a workaround, but I think the code is feeling violated.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611291937.kATJbqih015478>