From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 29 21:20:04 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 037861065672 for ; Thu, 29 Apr 2010 21:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B8A2C8FC20 for ; Thu, 29 Apr 2010 21:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3TLK3VR093952 for ; Thu, 29 Apr 2010 21:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3TLK3JI093951; Thu, 29 Apr 2010 21:20:03 GMT (envelope-from gnats) Resent-Date: Thu, 29 Apr 2010 21:20:03 GMT Resent-Message-Id: <201004292120.o3TLK3JI093951@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Brian A. Seklecki" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B68671065673 for ; Thu, 29 Apr 2010 21:14:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id A45CE8FC18 for ; Thu, 29 Apr 2010 21:14:27 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3TLERLQ045964 for ; Thu, 29 Apr 2010 21:14:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3TLERoD045963; Thu, 29 Apr 2010 21:14:27 GMT (envelope-from nobody) Message-Id: <201004292114.o3TLERoD045963@www.freebsd.org> Date: Thu, 29 Apr 2010 21:14:27 GMT From: "Brian A. Seklecki" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/146162: PXE loader(8) sets nfs_opts[] = "export" causing boot error: "mount option is unknown" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 21:20:04 -0000 >Number: 146162 >Category: misc >Synopsis: PXE loader(8) sets nfs_opts[] = "export" causing boot error: "mount option is unknown" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 29 21:20:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Brian A. Seklecki >Release: FreeBSD 8/amd64 RELENG_8 stable >Organization: Collaborative Fusion, Inc. >Environment: FreeBSD cyclonus 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Mar 25 19:07:58 EDT 2010 root@cyclonus:/usr/obj/export/src-RELENG_8/src/sys/GENERIC amd64 >Description: Both: sys/nfsclient/nfs_vfsops.c fs/nfsclient/nfs_clvfsops.c Have: static const char *nfs_opts[] = { "from", "nfs_args", "noatime", "noexec", "suiddir", "nosuid", "nosymfollow", "union", "noclusterr", "noclusterw", "multilabel", "acls", "force", "update", "async", "dumbtimer", "noconn", "nolockd", "intr", "rdirplus", "resvport", "readdirsize", "soft", "hard", "mntudp", "tcp", "udp", "wsize", "rsize", "retrans", "acregmin", "acregmax", "acdirmin", "acdirmax", "deadthresh", "hostname", "timeout", "addr", "fh", "nfsv3", "sec", "maxgroups", "principal", "negnametimeo", NULL }; 'export' is not an option, as any NFS client file system wouldn't be assume to have one. But somehow the VFS->NFS Client/Diskless code is setting and its failing in the array passed to: kern/vfs_mount.c::vfs_filteropt() >How-To-Repeat: PXE Boot a system with NFS (not TFTP) root file system: Use the following config: DHCP: option root-path "192.168.224.67:/export/tftpboot/root-db"; loader.rc: set vfs.root.mountfrom="nfs" set vfs.root.mountfrom.options="rw" set boot.nfsroot.path="/export/tftpboot/root-web" set boot.nfsroot.server="192.168.224.67" loader.conf: mfsroot_load="NO" nfsclient_load="YES" init_path=/stand/sysinstall autoboot_delay=2 The kernel DMESG/KLOG output prints: "mount option is unknown" My original message was: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2010-04/msg01137.html I can provide screenshot. >Fix: To be determined. >Release-Note: >Audit-Trail: >Unformatted: