Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2013 12:09:40 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        Craig Rodrigues <rodrigc@crodrigues.org>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: mounting root from NFS via ROOTDEVNAME
Message-ID:  <D4D47BCFFE5A004F95D707546AC0D7E91F6B8455@SACEXCMBX01-PRD.hq.netapp.com>
In-Reply-To: <510A5B32.4070501@freebsd.org>
References:  <D4D47BCFFE5A004F95D707546AC0D7E91F671642@SACEXCMBX01-PRD.hq.netapp.com> <CAG=rPVergKVKUO=VySvM65WPJO_Od1tkWvx45tM_sEyO65mwUg@mail.gmail.com> <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com> <D4D47BCFFE5A004F95D707546AC0D7E91F674CDE@SACEXCMBX01-PRD.hq.netapp.com> <CAG=rPVezTjcTp_AXsOMWYCSM1_xFJDvmUwdguHdZBABanGGrxw@mail.gmail.com> <D4D47BCFFE5A004F95D707546AC0D7E91F69BF73@SACEXCMBX01-PRD.hq.netapp.com> <CAG=rPVceQaKeprUyTXZyK13FSk2NY2sFT8LvG=wbQWsk08wwBQ@mail.gmail.com> <D4D47BCFFE5A004F95D707546AC0D7E91F6B8297@SACEXCMBX01-PRD.hq.netapp.com> <510A5B32.4070501@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 31, 2013, at 12:53, Andre Oppermann <andre@freebsd.org>
 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




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