From owner-cvs-src@FreeBSD.ORG Thu Jul 8 17:14:40 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A29E16A4CE; Thu, 8 Jul 2004 17:14:40 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BE1243D5D; Thu, 8 Jul 2004 17:14:40 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.10) with ESMTP id i68HDFOF001700; Thu, 8 Jul 2004 10:13:15 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i68HDFX4001699; Thu, 8 Jul 2004 10:13:15 -0700 Date: Thu, 8 Jul 2004 10:13:15 -0700 From: Brooks Davis To: Brian Somers Message-ID: <20040708171315.GA32194@Odin.AC.HMC.Edu> References: <200407081340.i68DeX0j013960@repoman.freebsd.org> <20040708175315.60f4577a@dev.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <20040708175315.60f4577a@dev.lan.Awfulhak.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha autoconf.c src/sys/amd64/amd64 autoconf.c src/sys/boot/common dev_net.c loader.8 src/sys/boot/forth loader.conf src/sys/conf NOTES files options src/sys/i386/i386 autoconf.c locore.s src/sys/ia64/ia64 autoconf.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 17:14:40 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 08, 2004 at 05:53:15PM +0100, Brian Somers wrote: > On Thu, 8 Jul 2004 13:40:33 +0000 (UTC), Brian Somers = wrote: > > brian 2004-07-08 13:40:33 UTC > >=20 > > FreeBSD src repository > >=20 > > Modified files: > > sys/alpha/alpha autoconf.c=20 > > sys/amd64/amd64 autoconf.c=20 > > sys/boot/common dev_net.c loader.8=20 > > sys/boot/forth loader.conf=20 > > sys/conf NOTES files options=20 > > sys/i386/i386 autoconf.c locore.s=20 > > sys/ia64/ia64 autoconf.c=20 > > sys/modules/nfs4client Makefile=20 > > sys/modules/nfsclient Makefile=20 > > sys/netinet ip_input.c=20 > > sys/nfs4client nfs4_vfsops.c=20 > > sys/nfsclient bootp_subr.c nfs_vfsops.c=20 > > Log: > > Change the following kernel options to environment variables: > > =20 > > BOOTP -> bootp > > BOOTP_NFSROOT -> bootp.nfsroot > > BOOTP_NFSV3 -> bootp.nfsv3 > > BOOTP_COMPAT -> bootp.compat > > BOOTP_WIRED_TO -> bootp.wired_to > > =20 > > This lets you PXE boot with a GENERIC kernel by putting this sort of = thing > > in loader.conf: > > =20 > > bootp=3D"YES" > > bootp.nfsroot=3D"YES" > > bootp.nfsv3=3D"YES" > > bootp.wired_to=3D"bge1" > > =20 > > or even setting the variables manually from the OK prompt. >=20 > Hmm, so as dwmalone@ has pointed out, this stuff just works even without > any of the bootp stuff when you PXE boot. >=20 > Thinking out loud, I now suspect that the only reason it was really neces= sary > to have BOOTP_* configured into a kernel before this commit is if you don= 't > have pxeboot(8) or loader(8). >=20 > Is there anybody out there that uses the BOOTP* options that can confirm = this ? > Do I need to back out this commit ? While it's true that you can use PXE without the BOOTP options, they are still useful in that environemnt. Specificly, setting BOOTP causes your IP address to be set via BOOTP/DHCP which is nice. At first glance, I think this change is fine for PXE. Also, there are people who use other methods. If nothing else, non-i386 or amd64 machines use the older style net boot stuff. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFA7YCqXY6L6fI4GtQRAieTAKCquoSpMs0mg+VGcdxXZBRUxo2IjACfVllR OJltVhYMwffCe9LocvC7LcQ= =SArT -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--