From owner-freebsd-stable@FreeBSD.ORG Mon Jun 29 13:59:14 2009 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 ACE431065676; Mon, 29 Jun 2009 13:59:14 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 0342A8FC1D; Mon, 29 Jun 2009 13:59:13 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by bwz12 with SMTP id 12so351757bwz.43 for ; Mon, 29 Jun 2009 06:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lfDgLAU3YyDLozNX6ssjhbDOiN3zpedeB97JFquaaM0=; b=tA4aEzrTmjGzqr0mFYtKpZzVPGA1H2nktCt3dCxfpTfKKq8slek5/BXpgXEQEdcgSl pk7YXTaC+yzRbL1FPkol9pgtoNnZGCd5SUZDH4msmBxyru/CrLaciTngOCYtZcm3olGw aFnfhBehzM6D2+Vr+s7x0akzGxdxaKbXq6mfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VBRtUbtUFQgwqNmhh4gy/1uzl04gY41nszyj9VU0J39yEy541z9NEXLVcfZ1elqw5n 41z3Sg3xQmB1cQbqepKPhGma13aZj/hPDTiby5RVvTwzTjG6ktUeoCf8qp0gZ2jObAto QaDapQadj+b4UsMGyn5uPVbISWfCQh2xbJ91k= MIME-Version: 1.0 Received: by 10.204.55.201 with SMTP id v9mr1229551bkg.54.1246283952955; Mon, 29 Jun 2009 06:59:12 -0700 (PDT) In-Reply-To: <3bbf2fe10906290620r7005f47dtfef8becc7f439515@mail.gmail.com> References: <3bbf2fe10906290458v3d57441ar44c4ed8f36c957f@mail.gmail.com> <3bbf2fe10906290611j683a0ddawbd524e406e832d54@mail.gmail.com> <3bbf2fe10906290620r7005f47dtfef8becc7f439515@mail.gmail.com> Date: Mon, 29 Jun 2009 17:59:12 +0400 Message-ID: From: pluknet To: Attilio Rao Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable Subject: Re: [nfs] process locks in "bo_wwait" on 6.4 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: Mon, 29 Jun 2009 13:59:15 -0000 2009/6/29 Attilio Rao : > 2009/6/29 pluknet : >> 2009/6/29 Attilio Rao : >>> 2009/6/29 pluknet : >>>> 2009/6/29 Attilio Rao : >>>>> 2009/6/29 pluknet : >>>>>> 2009/6/26 pluknet : >>>>>>> 2009/6/26 pluknet : >>>>>>>> Hello. >>>>>>>> >>>>>>>> While building a module on nfs mounted /usr/src >>>>>>>> I got an unkillable process waiting forever in bo_wwait. >>>>>>> >>>>>>> Small note: iface on NFS server has mtu changed from 1500 to 1450. >>>>>>> Can this be a source of the problem? >>>>>> >>>>>> This is 100% reproducible. Lock in the same place. Any hints? >>>>> >>>>> Can you also show the value of ps? >>>>> A precise map of what processes are doing would give an help. >>>>> Also would be useful to printout traces for other threads and not onl= y >>>>> the stucked one. >>>>> >>>> >>>> >From another run: >>> >>> I'm unable to see who would be locking the buffer object in question. >>> Do you have INVARIANT_SUPPORT/INVARIANTS on? >> >> Yes, I do both. >> >>> What revision of /usr/src/sys/kern/vfs_bio.c are you running with? >>> >> >> As of 6.4-R: CVS rev 1.491.2.12.4.1 / SVN rev 183531. > > Please try this patch and report. > > Thanks, > Attilio > > --- src/sys/nfsclient/nfs_vnops.c =A0 =A0 =A0 2008/02/13 20:44:18 =A0 =A0= 1.281 > +++ src/sys/nfsclient/nfs_vnops.c =A0 =A0 =A0 2008/03/22 09:15:15 =A0 =A0= 1.282 > @@ -33,7 +33,7 @@ > =A0*/ > > =A0#include > -__FBSDID("$FreeBSD: > /usr/local/www/cvsroot/FreeBSD/src/sys/nfsclient/nfs_vnops.c,v 1.281 > 2008/02/13 20:44:18 attilio Exp $"); > +__FBSDID("$FreeBSD: > /usr/local/www/cvsroot/FreeBSD/src/sys/nfsclient/nfs_vnops.c,v 1.282 > 2008/03/22 09:15:15 jeff Exp $"); > Do you refer to the whole svn r177493, or is its nfs part will be enough? This only vfs_vnops.c diff seems not applicable without underneath kernel part changes. I'll try. Thanks. --=20 wbr, pluknet