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
...
Brooks Davis
brooks at one-eyed-alien.net
Thu Jul 8 10:14:40 PDT 2004
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 at FreeBSD.org> wrote:
> > brian 2004-07-08 13:40:33 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sys/alpha/alpha autoconf.c
> > sys/amd64/amd64 autoconf.c
> > sys/boot/common dev_net.c loader.8
> > sys/boot/forth loader.conf
> > sys/conf NOTES files options
> > sys/i386/i386 autoconf.c locore.s
> > sys/ia64/ia64 autoconf.c
> > sys/modules/nfs4client Makefile
> > sys/modules/nfsclient Makefile
> > sys/netinet ip_input.c
> > sys/nfs4client nfs4_vfsops.c
> > sys/nfsclient bootp_subr.c nfs_vfsops.c
> > Log:
> > Change the following kernel options to environment variables:
> >
> > BOOTP -> bootp
> > BOOTP_NFSROOT -> bootp.nfsroot
> > BOOTP_NFSV3 -> bootp.nfsv3
> > BOOTP_COMPAT -> bootp.compat
> > BOOTP_WIRED_TO -> bootp.wired_to
> >
> > This lets you PXE boot with a GENERIC kernel by putting this sort of thing
> > in loader.conf:
> >
> > bootp="YES"
> > bootp.nfsroot="YES"
> > bootp.nfsv3="YES"
> > bootp.wired_to="bge1"
> >
> > or even setting the variables manually from the OK prompt.
>
> Hmm, so as dwmalone@ has pointed out, this stuff just works even without
> any of the bootp stuff when you PXE boot.
>
> Thinking out loud, I now suspect that the only reason it was really necessary
> to have BOOTP_* configured into a kernel before this commit is if you don't
> have pxeboot(8) or loader(8).
>
> 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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040708/adcdcc97/attachment.bin
More information about the cvs-src
mailing list