From owner-freebsd-current@FreeBSD.ORG Tue Mar 29 21:46:49 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22B0716A4CE for ; Tue, 29 Mar 2005 21:46:48 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FEF443D2F for ; Tue, 29 Mar 2005 21:46:48 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j2TLkljE049855; Tue, 29 Mar 2005 15:46:47 -0600 (CST) (envelope-from dan) Date: Tue, 29 Mar 2005 15:46:47 -0600 From: Dan Nelson To: Tomi Vainio - Sun Finland Message-ID: <20050329214647.GG51674@dan.emsphone.com> References: <16969.43954.994530.751030@ultrahot.finland.sun.com> <20050329210714.GF51674@dan.emsphone.com> <16969.50345.585074.976772@ultrahot.finland.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16969.50345.585074.976772@ultrahot.finland.sun.com> X-OS: FreeBSD 5.4-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: freebsd-current@freebsd.org Subject: Re: NFSv4 failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 29 Mar 2005 21:46:49 -0000 In the last episode (Mar 30), Tomi Vainio - Sun Finland said: > Dan Nelson writes: > > In the last episode (Mar 29), Tomi Vainio - Sun Finland said: > > > I just cvsupped latest current sources and tried to use nfsv4 against > > > my Solaris 10 machine but module won't even load properly. > > > > > > kldload: can't load /boot/kernel/nfs4client.ko: No such file or directory > > > link_elf: symbol nfs_directio_allow_mmap undefined > > > > That symbol is in /sys/nfsclient/nfs_vnops.c, so try loading > > nfsclient.ko first. If this works, nfs4client probably needs to > > register a module dependency on nfs. > > > That won't work either. > > cat# kldload /boot/kernel/nfsclient.ko > cat# kldload /boot/kernel/nfs4client.ko > kldload: can't load /boot/kernel/nfs4client.ko: File exists > interface nfslock.1 already present in the KLD 'nfsclient.ko'! Actually, it looks like the nfsclient module includes the nfs4 sources. I have "options NFSCLIENT" in my kernel config file, and I can mount a local Solaris 10 box using mount_nfs4. Ethereal confirms that I'm talking NFSV4 over the wire. I'm not sure what the nfs4client module is supposed to do. Maybe it was standalone at some point but they got merged? -- Dan Nelson dnelson@allantgroup.com