From owner-freebsd-current@FreeBSD.ORG Thu May 10 21:26:55 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 149801065670 for ; Thu, 10 May 2012 21:26:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id BC8848FC0C for ; Thu, 10 May 2012 21:26:54 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SSasv-0003uo-O6; Thu, 10 May 2012 22:26:54 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SSasv-0002Lr-G6; Thu, 10 May 2012 22:26:53 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q4ALQrj2023668; Thu, 10 May 2012 22:26:53 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q4ALQrpl023667; Thu, 10 May 2012 22:26:53 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Thu, 10 May 2012 22:26:53 +0100 From: Anton Shterenlikht To: Sergey Kandaurov , freebsd-current@freebsd.org Message-ID: <20120510212653.GA23637@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Sergey Kandaurov , freebsd-current@freebsd.org References: <20120510103008.GA21311@mech-cluster241.men.bris.ac.uk> <20120510205121.GB23350@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120510205121.GB23350@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: 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 21:26:55 -0000 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? 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