From owner-freebsd-current@FreeBSD.ORG Fri Jan 1 18:33:02 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 426F61065692; Fri, 1 Jan 2010 18:33:02 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 57B538FC13; Fri, 1 Jan 2010 18:33:00 +0000 (UTC) Received: by fxm27 with SMTP id 27so12757676fxm.3 for ; Fri, 01 Jan 2010 10:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=NSLpwXLW1w7Qh4wWxkdiHwmH8cVAWVG4oPWKmfcaHLo=; b=wbt5iWHNifOFT0QJ8X5ZCvhaTRFu2QxxbghHW6qzWiNxXFL6VYXT01PtJ8jZE/+GTS HlhN+90EahBY6PnbaXb7khQRaMIgxL6gBE6449SMwB8XWEOmO6CGRadugNT7jyWsY7P+ OKB2A1GwR1tcnz6cpwEQ24cUax4nHmqdr6//c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=direNNsb7CoTTop0izNjZ5BwrvRx02nIv3zXEP7OKcKyQIlS6CAxGX89k50L6ctiD3 JDTjN89PmPwJliEirV8PF9XEjO1bFnONZbhB2dMQtEniLWmgx+EbgIOzn57RgokiSJX4 Jj0ALGRZR+EB3QPXNKPBtD2pbOiA7UqUFVSDM= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.4.216 with SMTP id 24mr16593229fas.67.1262370773520; Fri, 01 Jan 2010 10:32:53 -0800 (PST) In-Reply-To: <90a5caac0912291525k25210016ib7d45be088c162b9@mail.gmail.com> References: <90a5caac0912291525k25210016ib7d45be088c162b9@mail.gmail.com> Date: Fri, 1 Jan 2010 19:32:53 +0100 X-Google-Sender-Auth: af6d45bd7b540704 Message-ID: <3bbf2fe11001011032hd292d57q1225db2ad9629326@mail.gmail.com> From: Attilio Rao To: Lucius Windschuh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , Peter Holm , current@freebsd.org Subject: Re: NFS panic: ^C on cp 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: Fri, 01 Jan 2010 18:33:02 -0000 2009/12/30 Lucius Windschuh : > Hi, > I'm using CURRENT r201138 and attending the 26C3, where we have access > to a NetApp filer (nfs://81.163.130.102/vol/fast, may work also for > external IPs). > It works well. But the following command sequence results with high > probability, not always, in a panic: > # mount_nfs -o nfsv3,rsize=3D32768,wsize=3D32768,intr 81.163.130.102:/vol= /fast /mnt > # cd /mnt/ > # cp some_large_file /some/where/local/ > (wait a while) > ^C > (panic: Assertion lk->lk_exslpfail =3D=3D 0 failed at > /usr/src/sys/kern/kern_lock.c:962) > > I > Backtrace: > Tracing pid 2754 tid 100209 td 0xc7580240 > kdb_enter(c09ec974,c09ec974,c09c2936,eb402af4,1,...) at kdb_enter+0x3a > panic(c09c2936,c09e9af9,c09e98f2,3c2,c6511030,...) at panic+0x136 > __lockmgr_args(daf26180,100000,0,0,0,...) at __lockmgr_args+0xe50 > bqrelse(daf26120,0,c09f7b16,d3e,eb402c54,...) at bqrelse+0x44a > bufdone_finish(daf26120,daf26120,daf26120,0,eb402cbc,...) at > bufdone_finish+0x3ff > bufdone(daf26120,eb402c80,c8119080,eb402cbc,c06c7795,...) at bufdone+0x6a > nfs_doio(c8de7440,daf26120,c8119080,0,3c00,...) at nfs_doio+0x67b > nfssvc_iod(c0c23f80,eb402d38,c09e7dea,343,c7df3000,...) at nfssvc_iod+0x2= 7c > fork_exit(c0878520,c0c23f80,eb402d38) at fork_exit+0xb8 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip =3D 0, esp =3D 0xeb402d70, ebp =3D 0 --- > > With PID =C2=A02754 being: [nfsiod 0] Lucius, may you be willing to test this patch and re-create the test case please?: http://www.freebsd.org/~attilio/lockmgr_fix.diff Thanks, Attilio --=20 Peace can only be achieved by understanding - A. Einstein