From nobody@www.freebsd.org  Thu May 30 14:22:59 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id B02CB37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 May 2002 14:22:58 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4ULMwhG036166
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 May 2002 14:22:58 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4ULMwBe036165;
	Thu, 30 May 2002 14:22:58 -0700 (PDT)
Message-Id: <200205302122.g4ULMwBe036165@www.freebsd.org>
Date: Thu, 30 May 2002 14:22:58 -0700 (PDT)
From: Tim Kientzle <kientzle@acm.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Diskless booting fails with some DHCP servers (no root path)
X-Send-Pr-Version: www-1.0

>Number:         38749
>Category:       kern
>Synopsis:       Diskless booting fails with some DHCP servers (no root path)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kientzle
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 30 14:30:01 PDT 2002
>Closed-Date:    
>Last-Modified:  Fri Mar 18 02:37:35 GMT 2005
>Originator:     Tim Kientzle
>Release:        4.3-RELEASE
>Organization:
>Environment:
FreeBSD ugly.kientzle.com 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Sat Mar 30 13:36:28 PST 2002     tim@ugly.kientzle.com:/usr/src/sys/compile/UGLY  i386

>Description:
I'm using the DHCP server built into an Extreme Networks DSL
router.  This DHCP server does not provide any options that
aren't explicitly requested by the client.  In particular,
a diskless client will not receive the ROOT PATH option,
which prevents it from booting.
>How-To-Repeat:
Boot a diskless FreeBSD client using an anemic DHCP server.

>Fix:
Modify sys/nfs/bootp_subr.c to explicitly request a ROOT PATH
option from the DHCP server.  This file seems not to have changed
between 4.3-RELEASE and 4.5-RELEASE:

*** sys/nfs/bootp_subr.c        Tue Feb 13 14:33:44 2001
--- /usr/src-4.3/sys/nfs/bootp_subr.c   Wed May 29 10:01:26 2002
***************
*** 1390,1395 ****
--- 1390,1398 ----
        default:
                ;
        }
+       *vendp++ = 55; /* Parameter request list */
+       *vendp++ = 1; /* 1 parameter requested */
+       *vendp++ = 17; /* I need a "Root Path" in the reply */
        *vendp = TAG_END;
  
        ifctx->call.secs = 0;
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Jul 18 15:08:58 PDT 2003 
Responsible-Changed-Why:  
Assign to dhcp maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38749 
Responsible-Changed-From-To: murray->kientzle 
Responsible-Changed-By: murray 
Responsible-Changed-When: Fri Mar 18 02:36:31 GMT 2005 
Responsible-Changed-Why:  
Assign to originator. =)  I am no longer maintaining DHCP. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=38749 
>Unformatted:
