From owner-freebsd-current@FreeBSD.ORG Thu May 10 22:50:01 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60D6C106564A for ; Thu, 10 May 2012 22:50:01 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA118FC12 for ; Thu, 10 May 2012 22:50:00 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEALFFrE+DaFvO/2dsb2JhbABBAw6FaKwIgyiCFQEBAQQBAQEgKyALGw4KAgINGQIpAQkmBggHBAEcBIdtC6hAkwSBL4ljGQ+CSoITgRgEk0+CLoERiEeGaIIwVYE8Bw X-IronPort-AV: E=Sophos;i="4.75,567,1330923600"; d="scan'208";a="171495184" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 10 May 2012 18:49:58 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 2B340B3EFF; Thu, 10 May 2012 18:49:58 -0400 (EDT) Date: Thu, 10 May 2012 18:49:58 -0400 (EDT) From: Rick Macklem To: Anton Shterenlikht Message-ID: <765485154.238614.1336690198123.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <20120510212653.GA23637@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: Sergey Kandaurov , freebsd-current@freebsd.org Subject: Re: r235163: root: /etc/rc.d/sysctl: WARNING: sysctl vfs.nfs.access_cache_timeout does not exist. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 10 May 2012 22:50:01 -0000 Anton Shterenlikht wrote: > On Thu, May 10, 2012 at 09:51:22PM +0100, Anton Shterenlikht wrote: > > On Thu, May 10, 2012 at 06:11:28PM +0400, Sergey Kandaurov wrote: > > > On 10 May 2012 14:30, Anton Shterenlikht > > > wrote: > > > > > > > > On ia64 r235163: > > > > > > > > root: /etc/rc.d/sysctl: WARNING: sysctl > > > > vfs.nfs.access_cache_timeout does not exist. > > > > > > > > What is this about? > > > > After updating to this revision, > > > > I run mergemaster, as usual, > > > > with the setting to auto update > > > > all /etc files which I didn't touch. > > > > > > I'd check your kernel config for 'options NFSCLIENT', so there is > > > sysctl vfs.oldnfs.access_cache_timeout instead, and you try to set > > > non-existing vfs.nfs.access_cache_timeout from /etc/sysctl.conf. > > > If it is so then all your sysctl vfs.nfs.xxx are named as > > > vfs.oldnfs.xxx, > > > because the NFS implementation enabled with 'options NFSCLIENT' > > > considered old, and the NFS impl. enabled with 'options NFSCL' is > > > the default. > > > My inner voice tells me that you have upgraded from quite old > > > CURRENT > > > from the point when 'options NFSCLIENT' (old nfs) was default to > > > the point > > > when 'options NFSCL' (new nfs implementation) became the default, > > > and you still have 'options NFSCLIENT' in your kernel config. > > > See /usr/src/UPDATING entry dated 20110427. > > > > You are exactly right. > > > > I don't even use NFS anyway. > > So I'll just remove it completely > > from my kernel. > > oh no.. > Seems I do need NFS kernel options for zfs. > If I remove NFS, I get: > > Loading /boot/defaults/loader.conf > /boot/kernel/kernel text=0x966fb0 data=0x96164+0x2161ac > syms=[0x8+0x80718+0x8+0x76ed5] > /boot/kernel/zfs.ko text=0x22e4f8 data=0x9060+0x16de8 > syms=[0x8+0x16c20+0x8+0x11725] > loading required module 'opensolaris' > /boot/kernel/opensolaris.ko text=0x3338 data=0x510+0x2030 > syms=[0x8+0xcd8+0x8+0x872] > loading required module 'krpc' > > KLD zfs.ko: depends on krpc - not available or version mismatch > kldload: can't load zfs: No such file or directory > /etc/rc: WARNING: Unable to load kernel module zfs > > I guess now that zfs needs module acl_nfs4, > the latter needs NFS, right? > > Or can module krpc be loaded instead? > Loading krpc should be ok, since NFS (client and server) requires krpc, but not the other way around (but I haven't actually tried this;-). rick > Anyway, I put new NFS options in the kernel, > and now zfs works ok. > > Thanks > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"