From owner-freebsd-current@FreeBSD.ORG Wed Jul 10 10:55:51 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2A5E63FA for ; Wed, 10 Jul 2013 10:55:51 +0000 (UTC) (envelope-from bryan-lists@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id E93721348 for ; Wed, 10 Jul 2013 10:55:50 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=sweb; b=26o8EEbRbiqZ+U02P+D kuMD/RTo3PTYsoZTG2YZmCPaNykK+VxDqQ2davgMsHAqBrBNiedwuICoYO5L1Dzt 5fmjgRKsxDI5MMG/FpFg+hbbRSYlYUGDn6L97SMEZ5A0/kuVun8ar9j0iUusBjxC XG3Y2vW9kPNJnOP9mgRH9hvw= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=sweb; bh=kE3aRJHASQUD0IYOtKKYsfShW //TNzZYzaCS29AGNaw=; b=n6LBmFG25tipXXbPwcaeRYM55Zcg7Qxq+aUiVK52w Ei4ehLM/j9qXGSkMDESRhajFCohaSjRT5eeKwbFRdJ5s8VKjtHq3fdCVj/AWrXaa S6BFT28tuooMCVnw1IwzEONuLFYDNmHTLvg3OmK9ugRjy3Z1ao4IblcYxMsrFaf2 zk= Received: (qmail 34209 invoked from network); 10 Jul 2013 05:49:08 -0500 Received: from unknown (HELO ?10.10.0.24?) (bryan@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 10 Jul 2013 05:49:08 -0500 Message-ID: <51DD3C1F.1000609@shatow.net> Date: Wed, 10 Jul 2013 05:49:03 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org, FreeBSD Current Subject: NFS panic: newnfs_copycred: negative nfsc_ngroups (client HEAD r253033, server 9.1-R) X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 10 Jul 2013 10:55:51 -0000 I received this panic on the client while doing heavy parallel reads/writes over NFS. I only recently moved these files to NFS, so I don't know whether or not it's a recent regression. Client: HEAD r253033 Server: 9.1-R core.txt: http://people.freebsd.org/~bdrewery/nfs.txt fstab of related paths: > tank:/tank/distfiles/freebsd /mnt/distfiles nfs rw,bg,noatime,intr,rsize=65536,wsize=65536,readahead=8,nfsv4 0 0 > tank:/usr/packages/ /mnt/all-packages nfs rw,bg,noatime,soft,retrycnt=3,rsize=65536,wsize=65536,readahead=8,nfsv4 0 0 Server: params on these paths: -maproot=root -network 10.10.0.0/16 tcpdump at the time: > 21:43:05.396585 IP 10.10.0.7.4180315003 > 10.10.0.5.2049: 168 getattr fh 0,4/2 > 21:43:05.396589 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48265029:48266477, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396603 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48266477:48267925, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396605 IP 10.10.0.7.946 > 10.10.0.5.2049: Flags [.], ack 48266477, win 3916, options [nop,nop,TS val 596674 ecr 1950216660], length 0 > 21:43:05.396608 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48267925:48269373, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396621 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48269373:48270821, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396624 IP 10.10.0.7.946 > 10.10.0.5.2049: Flags [.], ack 48269373, win 3870, options [nop,nop,TS val 596674 ecr 1950216660], length 0 > 21:43:05.396641 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48270821:48272269, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396653 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48272269:48273717, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396656 IP 10.10.0.7.946 > 10.10.0.5.2049: Flags [.], ack 48272269, win 3825, options [nop,nop,TS val 596674 ecr 1950216660], length 0 > 21:43:05.396659 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48273717:48275165, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396671 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48275165:48276613, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396674 IP 10.10.0.7.946 > 10.10.0.5.2049: Flags [.], ack 48275165, win 3780, options [nop,nop,TS val 596674 ecr 1950216660], length 0 > 21:43:05.396676 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48276613:48278061, ack 4394885, win 29124, options [nop,nop,TS val 1950216660 ecr 596674], length 1448 > 21:43:05.396689 IP 10.10.0.5.2049 > 10.10.0.7.946: Flags [.], seq 48278061:48279509, ack 4394885, win 29124, options [nop,nop,TS val > Write failed: Broken pipe I have nfsuserd running on both client/server. nfscbd is running. nfs_client_enable=yes in rc.conf. User lookups seem to work fine: > -rw-r--r-- 1 root bryan 1554804 Jul 6 10:50 /mnt/distfiles/pkg-1.1.4.tar.xz I ran a find -ls on these paths and all files return a user/group. I am guessing there is a race condition with files being written and looking up the associated groups. -- Regards, Bryan Drewery bdrewery@freenode/EFNet