Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2004 10:13:15 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Brian Somers <brian@Awfulhak.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 ...
Message-ID:  <20040708171315.GA32194@Odin.AC.HMC.Edu>
In-Reply-To: <20040708175315.60f4577a@dev.lan.Awfulhak.org>
References:  <200407081340.i68DeX0j013960@repoman.freebsd.org> <20040708175315.60f4577a@dev.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <brian@FreeBSD.org>=
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040708171315.GA32194>