git: pxeboot - Workaround BIOS breakage

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 23 00:47:49 PST 2015


commit 8435c98f1382e663b5322a40742275887cba7e59
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 23 00:30:38 2015 -0800

    pxeboot - Workaround BIOS breakage
    
    * Some BIOSes (the one in my Gigabyte H97N-WIFI) continue to use the original
      negotiated by the TFTP preloader even after we have negotiated a new IP
      and used it in the udpopen.  This will cause our dest_ip filter in
      udpread() to implode.  Detect and handle this case.
    
    * Why does dhcpd hand out different IPs?  I tracked one down to the PXE
      BIOS sending a Client-ID option.  However, our PXEBOOT DHCP and our
      dhclient don't seem to send that option and also get different IPs.
    
    * This won't fix post-boot breakage if dhclient rips the IP out from under
      the NFS root mount in a pxebooted situation.

Summary of changes:
 sys/boot/pc32/libi386/pxe.c | 42 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8435c98f1382e663b5322a40742275887cba7e59


-- 
DragonFly BSD source repository



More information about the Commits mailing list