From owner-freebsd-current@FreeBSD.ORG Thu Jan 31 11:45:32 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 256C79DD for ; Thu, 31 Jan 2013 11:45:32 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) by mx1.freebsd.org (Postfix) with ESMTP id BF341E2F for ; Thu, 31 Jan 2013 11:45:31 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id j1so1597207oag.35 for ; Thu, 31 Jan 2013 03:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=RQY+rY7KIFr/XTFFhZ0EwyKdbYj8/ZTe3AjTG3q/Ids=; b=kXH5V5SwCEYYJVR3jQ16Zx3EqEvlJXEM1411oN85AVczAU46SBJUq5YV4HHuuBfx7g arj/EB9UGV8a+taVPADyb2RYHEWPq3ajfJzlwk0fwTlIFomDxI0mQY6vAyeXE0wsAmj1 8HBN46+GqJ8lrlAHX5R7uyLNxEmDFjnXb/iHr9Gb/UbFkcllDaTSyKN76CUbYpmMS8Bc VdcDrhMljlMwRsv1crg8oaFJNXYXBBjLCEGmW1ecyDXGKLaa2BvBO6Os3QeU+rGaZUg9 9okXpCQQfRBAI5nisIUnjc/M4SMLGi4x3m5paqld7FoFceSRO7XeVEgAxvrI4va+Tyy0 emAA== MIME-Version: 1.0 X-Received: by 10.60.32.200 with SMTP id l8mr6558341oei.43.1359632731086; Thu, 31 Jan 2013 03:45:31 -0800 (PST) Received: by 10.76.98.133 with HTTP; Thu, 31 Jan 2013 03:45:30 -0800 (PST) In-Reply-To: References: <19F92E0C-F004-4F16-A5FC-A10DF84BDCCF@netapp.com> Date: Thu, 31 Jan 2013 12:45:30 +0100 Message-ID: Subject: Re: mounting root from NFS via ROOTDEVNAME From: Andreas Nilsson To: "Eggert, Lars" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 11:45:32 -0000 Done. I also ripped out all the BOOTP* options from the kernel. > > However, this still fails: > > 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. > > Loader variables: > vfs.root.mountfrom=nfs:10.11.12.13:/usr/home/elars/dst > > Manual root filesystem specification: > : [options] > Mount using filesystem > and with the specified (optional) option list. > > eg. ufs:/dev/da0s1a > zfs:tank > cd9660:/dev/acd0 ro > (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) > > ? List valid disk boot devices > . Yield 1 second (for background tasks) > Abort manual input > > mountroot> > > I did a tcpdump and no traffic shows up on the correct interface (em4). I > guess I need to set yet another loader environment variable to indicate > which interface I'd like to use. Looking at the source, I only see > boot.netif.name, but setting that to em4 doesn't help either. > > Any further ideas? > > Thanks, > Lars > Just a shot in the dark, did you actually tell it to do the root mount ro, or try with the nfs share as rw? Best regards Andreas