From owner-freebsd-current@FreeBSD.ORG Thu Nov 18 18:58:25 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 851231065674 for ; Thu, 18 Nov 2010 18:58:25 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6D99B8FC24 for ; Thu, 18 Nov 2010 18:58:25 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 64bit)) with ESMTPSA id <0LC300MB5GP5J620@asmtp026.mac.com> for freebsd-current@freebsd.org; Thu, 18 Nov 2010 10:58:20 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1011180154 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-18_08:2010-11-18, 2010-11-18, 1970-01-01 signatures=0 From: Marcel Moolenaar In-reply-to: Date: Thu, 18 Nov 2010 10:58:17 -0800 Message-id: <5ED46E71-B0C1-459E-976C-D64234002F03@mac.com> References: To: Garrett Cooper X-Mailer: Apple Mail (2.1082) Cc: FreeBSD Current Subject: Re: Panic with vfs.root.mountfrom=nfs on CURRENT (was Re: [patch] functional prototype of root mount enhancement) 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: Thu, 18 Nov 2010 18:58:25 -0000 On Nov 17, 2010, at 4:10 PM, Garrett Cooper wrote: > > Hi Marcel, > Do you have any examples that use nfs rootfs's out of the box that > work with the new logic that don't involve creating an mfsroot? I keep > on running into this error with vfs.root.mountfrom=nfs (previously on > CURRENT it would just try to mount nfs via nfs_mount in the NFS client > without any complaints): The syntax is $fs:$dev. For NFS $dev can be empty, leaving "nfs:". The problem is with there not being a colon after nfs in your case. This could be a change in behaviour from before, which probably needs a fix. I'll look into it... > I don't run into this error when I unset this variable sometimes > (it boots up multiuser and all is happy, hunky dory when I manually > query this variable from the pxeboot loader, but not when I don't... > it's weird). > It seems to ignore the directives in mount.conf: > > # cat mount.conf > .onfail continue > .ask The filename to use is "/.mount.conf". Notice the period. -- Marcel Moolenaar xcllnt@mac.com