Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2004 11:21:26 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Brian Somers <brian@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 ...
Message-ID:  <200407091121.26838.jhb@FreeBSD.org>
In-Reply-To: <200407091114.44971.jhb@FreeBSD.org>
References:  <200407082235.i68MZaBH030076@repoman.freebsd.org> <200407091114.44971.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 09 July 2004 11:14 am, John Baldwin wrote:
> On Thursday 08 July 2004 06:35 pm, Brian Somers wrote:
> > brian       2004-07-08 22:35:36 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 environment variables to kernel options:
> >
> >       bootp -> BOOTP
> >       bootp.nfsroot -> BOOTP_NFSROOT
> >       bootp.nfsv3 -> BOOTP_NFSV3
> >       bootp.compat -> BOOTP_COMPAT
> >       bootp.wired_to -> BOOTP_WIRED_TO
> >
> >   - i.e. back out the previous commit.  It's already possible to
> >   pxeboot(8) with a GENERIC kernel.
> >
> >   Pointed out by: dwmalone
>
> What about netbooting on other architectures?  If I understood your first
> change correctly, it would let me netboot alpha or sparc64 with a GENERIC
> kernel by setting some hints instead of having to compile a custom kernel.
> It seems to me that being able to tweak these settings from the loader w/o
> having to recompile the kernel is a definite win.

Perhaps BOOTP should still be an option as per Robert's e-mail, but it would 
be nice to have all the other ones as tunables rather than options.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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