From owner-freebsd-fs@FreeBSD.ORG Sun Mar 4 15:48:07 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 075F6106564A for ; Sun, 4 Mar 2012 15:48:07 +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 B643D8FC0C for ; Sun, 4 Mar 2012 15:48:06 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8EADKOU0+DaFvO/2dsb2JhbABDhTSwFIF9AQEBAwEBAQEgKyALGxgCAg0ZAikBCSYGCAcEARwEh2EFC6ZikRiBL4Elh0MEhSyBFgSIUIpJgiWQEoMBgTcH X-IronPort-AV: E=Sophos;i="4.73,529,1325480400"; d="scan'208";a="162014357" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 04 Mar 2012 10:48:05 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id E635EB3FB5; Sun, 4 Mar 2012 10:48:05 -0500 (EST) Date: Sun, 4 Mar 2012 10:48:05 -0500 (EST) From: Rick Macklem To: Thomas Message-ID: <535781444.324493.1330876085926.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <4F538272.6070002@bsdunix.ch> 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: freebsd-fs@FreeBSD.org Subject: Re: FreeBSD 8.2 NFS client crashes with a FreeBSD 9 Server X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 15:48:07 -0000 Thomas wrote: > Hello > > My FreeBSD 9.0-STABLE (February 2nd 2012) NFS server (amd64) does not > work well wit FreeBSD 8.2-p6 NFS clients (amd64). All clients are > generating a lot of syslog messages like: > M > ar 4 13:29:10 hosting06 kernel: NLM: failed to contact remote rpcbind, > stat = 0, port = 0 > Mar 4 13:29:14 hosting06 last message repeated 5933 times > Mar 4 13:39:18 hosting01 kernel: <<33>N>LMN:L M:f aiflaeilde d tto > coon > taccto renmtoatcet rermpotcebi nrd, psctbaitnd ,= st0a,t =po rt0 =, p0 > Mar 4 13:39:18 hosting01 kernel: o > Mar 4 13:39:18 hosting01 kernel: rt = 0 > Oh, I realize that I was referring to head/current in the previous post. Since I don't know exactly which commits broke/fixed it in head, I don't know if the fix has been MFC'd to stable/9 yet? If you try an up to date stable/9 kernel, just look to see if rpc.lockd and rpc.statd are running after you boot it on the server. rick > > After a few hours the nfs client is crashing like this: > > > Mar 4 13:55:33 hosting01 kernel: Fatal trap 12: page fault while in > kernel mode > Mar 4 13:55:33 hosting01 kernel: cpuid = 1; > Mar 4 13:55:33 hosting01 kernel: NLM: failed to contact remote > rpcbind, > stat = 0, port = 0 > Mar 4 13:55:33 hosting01 kernel: apic id = 07 > Mar 4 13:55:33 hosting01 kernel: fault virtual address = 0x18 > Mar 4 13:55:33 hosting01 kernel: fault code = supervisor > write data, page not present > Mar 4 13:55:33 hosting01 kernel: instruction pointer = > 0x20:0xffffffff807c4b0b > Mar 4 13:55:33 hosting01 kernel: > Mar 4 13:55:33 hosting01 kernel: stack pointer = > 0x28:0xffffff84916c1ec0 > Mar 4 13:55:33 hosting01 kernel: NLM: failed to contact remote > rpcbind, > stat = 0, port = 0 > Mar 4 13:55:33 hosting01 kernel: > Mar 4 13:55:33 hosting01 kernel: frame pointer = > 0x28:0xffffff84916c2070 > Mar 4 13:55:33 hosting01 kernel: code segment = base 0x0, > limit 0xfffff, type 0x1b > Mar 4 13:55:33 hosting01 kernel: = DPL 0, pres 1, long 1, def32 0, > gran 1 > Mar 4 13:55:33 hosting01 kernel: > Mar 4 13:55:33 hosting01 kernel: processor eflags = interrupt > enabled, > > > Any ideas how i can fix this? I appreciate any hint or fix. > > > > About the systems: > > FreeBSD 9 NFS server: > rpcbind_enable="YES" > nfs_server_enable="YES" > nfs_server_flags="-u -t -n 32" > nfs_reserved_port_only="YES" > rpc_lockd_enable="YES" > rpc_statd_enable="YES" > mountd_enable="YES > > rpc is running on the server: > root 1509 0.0 0.0 274296 320 ?? Ss Fri11PM 0:00.10 > /usr/sbin/rpc.statd > root 1528 0.0 0.0 14264 500 ?? Ss Fri11PM 7:41.35 > /usr/sbin/rpcbind > > exports: > root@openstorage1:~# more /etc/exports > /rz2pool/export/tmp -maproot=root 10.10.0.2 10.10.0.3 10.10.0.4 > 10.10.0.5 > /var/webs -maproot=root 10.10.0.2 10.10.0.3 10.10.0.4 10.10.0.5 > > FreeBSD 9 is a ZFS only system. > > > FreeBSD 8.2-p6 NFS client > rpcbind_enable="YES" > nfs_client_enable="YES" > nfs_reserved_port_only="YES" > rpc_lockd_enable="YES" > rpc_statd_enable="YES" > > nfs client fstab: > 10.0.0.12:/var/webs /var/webs nfs > rw,nfsv3,rdirplus,noatime,hard,intr,tcp,wsize=65536,rsize=65536,bg 0 > 0 > 10.0.0.12:/rz2pool/export/tmp /var/tmp nfs > rw,nfsv3,rdirplus,noexec,acregmin=30,acregmax=120,noatime,hard,intr,tcp,wsize=65536,rsize=65536,bg > 0 0 > > FreeBSD 8.2-p6 is a UFS only system. > > > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"