From owner-freebsd-stable@FreeBSD.ORG Fri Nov 5 13:24:09 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64679106566C; Fri, 5 Nov 2010 13:24:09 +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 EB5F58FC15; Fri, 5 Nov 2010 13:24:08 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEABOi00yDaFvO/2dsb2JhbACDKZ85qnKRBIRUcwSKVQ X-IronPort-AV: E=Sophos;i="4.58,301,1286164800"; d="scan'208";a="99728790" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 05 Nov 2010 09:24:08 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id F36C3B3F49; Fri, 5 Nov 2010 09:24:07 -0400 (EDT) Date: Fri, 5 Nov 2010 09:24:07 -0400 (EDT) From: Rick Macklem To: josh carroll Message-ID: <1984713101.142889.1288963447940.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_142888_1552817635.1288963447938" X-Originating-IP: [99.225.56.115] X-Mailer: Zimbra 6.0.7_GA_2476.RHEL4 (ZimbraWebClient - IE8 (Win)/6.0.7_GA_2473.RHEL4_64) Cc: kib , freebsd-stable@freebsd.org, jhb@freebsd.org Subject: Re: NFS deadlock (unkillable nfsd and no mounts work) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 13:24:09 -0000 ------=_Part_142888_1552817635.1288963447938 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit > Greetings! > > I'm having a problem with nfsd hanging and not serving mount points, > during which time it can not not be killed. This problem started > happening sometime after November 2nd, since kernel from 11/2 sources > does not exhibit this problem. Please try the attached patch, rick ps: Starting about Monday I won't be able to do commits for about 3 weeks so, if this patch works, could someone else please commit it, thanks, rick ------=_Part_142888_1552817635.1288963447938 Content-Type: text/x-patch; name=nfs_serv.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=nfs_serv.patch LS0tIG5mc19zZXJ2LmMuc2F2CTIwMTAtMTEtMDUgMDg6MTU6NTcuMDAwMDAwMDAwIC0wNDAwDQor KysgbmZzX3NlcnYuYwkyMDEwLTExLTA1IDA4OjE4OjQwLjAwMDAwMDAwMCAtMDQwMA0KQEAgLTMy NTIsNyArMzI1Miw3IEBADQogCQkJbmZocC0+ZmhfZnNpZCA9IG52cC0+dl9tb3VudC0+bW50X3N0 YXQuZl9mc2lkOw0KIAkJCWlmICgoZXJyb3IxID0gVk9QX1ZQVE9GSChudnAsICZuZmhwLT5maF9m aWQpKSA9PSAwKQ0KIAkJCQllcnJvcjEgPSBWT1BfR0VUQVRUUihudnAsIHZhcCwgY3JlZCk7DQot CQkJaWYgKHZwID09IG52cCkNCisJCQlpZiAodXNldmdldCA9PSAwICYmIHZwID09IG52cCkNCiAJ CQkJdnVucmVmKG52cCk7DQogCQkJZWxzZQ0KIAkJCQl2cHV0KG52cCk7DQo= ------=_Part_142888_1552817635.1288963447938--