From owner-freebsd-current@FreeBSD.ORG Thu Jan 31 12:09:42 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 A21472D5; Thu, 31 Jan 2013 12:09:42 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) by mx1.freebsd.org (Postfix) with ESMTP id 83CDEFA0; Thu, 31 Jan 2013 12:09:42 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.84,576,1355126400"; d="scan'208";a="14675909" Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx12-out.netapp.com with ESMTP; 31 Jan 2013 04:09:42 -0800 Received: from vmwexceht02-prd.hq.netapp.com (vmwexceht02-prd.hq.netapp.com [10.106.76.240]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id r0VC9fia018915; Thu, 31 Jan 2013 04:09:42 -0800 (PST) Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.54]) by vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) with mapi id 14.02.0328.009; Thu, 31 Jan 2013 04:09:41 -0800 From: "Eggert, Lars" To: Andre Oppermann Subject: Re: mounting root from NFS via ROOTDEVNAME Thread-Topic: mounting root from NFS via ROOTDEVNAME Thread-Index: AQHN/WoQ3bLz4fhIpUOOqbDPPwYM3JhhN1MAgADtYYCAAMxdgIAA5iiAgAAHMgCAAASQAA== Date: Thu, 31 Jan 2013 12:09:40 +0000 Message-ID: References: <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com> <510A5B32.4070501@freebsd.org> In-Reply-To: <510A5B32.4070501@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.51] Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Craig Rodrigues , "freebsd-current@freebsd.org" 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 12:09:42 -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