Date: Thu, 30 May 2002 14:22:58 -0700 (PDT) From: Tim Kientzle <kientzle@acm.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/38749: Diskless booting fails with some DHCP servers (no root path) Message-ID: <200205302122.g4ULMwBe036165@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205302122.g4ULMwBe036165>