From owner-cvs-all@FreeBSD.ORG Fri Jul 9 03:27:38 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3985316A4CE; Fri, 9 Jul 2004 03:27:38 +0000 (GMT) Received: from mail.ambrisko.com (adsl-64-174-51-43.dsl.snfc21.pacbell.net [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id D817143D2F; Fri, 9 Jul 2004 03:27:37 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) (192.168.1.2) by mail.ambrisko.com with ESMTP; 08 Jul 2004 20:27:37 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.9p2/8.12.9) with ESMTP id i693RbSU087411; Thu, 8 Jul 2004 20:27:37 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.12.9p2/8.12.9/Submit) id i693Raqm087410; Thu, 8 Jul 2004 20:27:36 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200407090327.i693Raqm087410@ambrisko.com> In-Reply-To: <3430.1089305845@critter.freebsd.dk> To: Poul-Henning Kamp Date: Thu, 8 Jul 2004 20:27:36 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: Brian Somers cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha autoconf.c src/sys/amd64/amd64 autoconf.csrc/sys/confsrc/sys/ia64/ia64 autoconf.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 03:27:38 -0000 Poul-Henning Kamp writes: | In message <20040708175315.60f4577a@dev.lan.Awfulhak.org>, Brian Somers writes: | | >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 ? | | This is mostly a leftover from the old network boot proms which would | generally bootp+tftp a file and nothing more. Such as Etherboot. I have noticed that in -stable for root to be set right with PXE I need to pass in vfs.root.mountfrom with the nfs root. I have a patche to stable that sets it in pxeboot. The caveat is that this would force people to have to do a vfs.root.mountfrom=ufs:/dev/md0a in loader.conf to make the install floppies work via PXE. Index: i386/libi386/pxe.c =================================================================== RCS file: /usr/local/cvsroot/freebsd/src/sys/boot/i386/libi386/pxe.c,v retrieving revision 1.3.2.10 diff -u -p -r1.3.2.10 pxe.c --- i386/libi386/pxe.c 29 Oct 2003 09:47:40 -0000 1.3.2.10 +++ i386/libi386/pxe.c 9 Jul 2004 03:15:21 -0000 @@ -309,6 +309,7 @@ pxe_open(struct open_file *f, ...) } setenv("boot.nfsroot.server", inet_ntoa(rootip), 1); setenv("boot.nfsroot.path", rootpath, 1); + setenv("vfs.root.mountfrom", "nfs", 1); } } pxe_opens++; Doug A.