From owner-freebsd-current@FreeBSD.ORG Thu Jan 31 14:54:17 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4860A1FA; Thu, 31 Jan 2013 14:54:17 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id E6A6DB37; Thu, 31 Jan 2013 14:54:16 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1U0vWc-0006AD-Vu; Thu, 31 Jan 2013 16:54:03 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: "Eggert, Lars" Subject: Re: mounting root from NFS via ROOTDEVNAME In-reply-to: References: <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com> <510A5B32.4070501@freebsd.org> Comments: In-reply-to "Eggert, Lars" message dated "Thu, 31 Jan 2013 12:09:40 +0000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 31 Jan 2013 16:54:02 +0200 From: Daniel Braniss Message-ID: Cc: Craig Rodrigues , "freebsd-current@freebsd.org" , Andre Oppermann X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 31 Jan 2013 14:54:17 -0000 > On Jan 31, 2013, at 12:53, Andre Oppermann > wrote: > > The interface doesn't have a name during loader stage. The kernel > > finds the interface to use based on the MAC address. You should > > set boot.netif.hwaddr as well in the kernel environment. > > Done, no change. Here is what's in my loader environment: > > boot.netif.netmask 255.255.255.0 > boot.netif.gateway 10.11.12.13 > boot.nfsroot.server 10.11.12.13 > boot.nfsroot.path /usr/home/elars/dst > boot.netif.ip 10.11.12.15 > boot.netif.name em4 > boot.netif.hwaddr xx:xx:xx:xx:xx:xx > vfs.root.mountfrom nfs:10.11.12.13:/usr/home/elars/dst > > And here is what I see during boot: > > Trying to mount root from nfs:10.11.12.13:/usr/home/elars/dst []... > mountroot: waiting for device 10.11.12.13:/usr/home/elars/dst ... > Mounting from nfs:10.11.12.13:/usr/home/elars/dst failed with error 19. > > Lars a shot in the dark, but is /usr/home/elars/dst properly exported? danny