From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 23:38:49 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC19310656A9 for ; Wed, 1 Sep 2010 23:38:49 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 9856A8FC0A for ; Wed, 1 Sep 2010 23:38:49 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApUFAGuBfkyDaFvO/2dsb2JhbACDGJA5jhSvB5IngSKDJHMEihQ X-IronPort-AV: E=Sophos;i="4.56,306,1280721600"; d="scan'208";a="92543259" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 01 Sep 2010 19:38:31 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 9B1B4B3EA6 for ; Wed, 1 Sep 2010 19:38:31 -0400 (EDT) Date: Wed, 1 Sep 2010 19:38:31 -0400 (EDT) From: Rick Macklem To: freebsd-current@freebsd.org Message-ID: <1515778739.398067.1283384311585.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [24.65.230.102] X-Mailer: Zimbra 6.0.7_GA_2476.RHEL4 (ZimbraWebClient - SAF3 (Mac)/6.0.7_GA_2473.RHEL4_64) Subject: [Heads Up] I will soon be committing NFS diskless root changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 23:38:49 -0000 I will soon commit a change to the NFS diskless client code in the kernel in preparation for the commits that will make pxeboot use NFSv3 instead of NFSv2. If you build a kernel with this nfs_diskless.c commit but do not replace pxeboot and the loader, it should work, but will use NFSv2 for the root fs by default. You can make it use NFSv3 by specifying "nfsv3" in the options in the /etc/fstab entry for /. Once the new pxeboot and loader commits are in head, the pxeboot and loader built from them will use NFSv3 and create an additional environment variable called boot.nfsroot.nfshandlelen which tells nfs_diskless.c to use NFSv3 and the correct file handle length. This should allow the use of non-FreeBSD NFS servers (which have different file handle lengths than FreeBSD) to work for a diskless NFS root file system. Hopefully this will not cause you much grief, rick