From owner-freebsd-bugs Thu May 30 14:30:31 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 92E4337B40C for ; Thu, 30 May 2002 14:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4ULU1D36194; Thu, 30 May 2002 14:30:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id B02CB37B401 for ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/38749: Diskless booting fails with some DHCP servers (no root path) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38749 >Category: kern >Synopsis: Diskless booting fails with some DHCP servers (no root path) >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: Thu May 30 14:30:01 PDT 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message