From owner-freebsd-current@FreeBSD.ORG Wed Sep 27 15:45:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8A7416A4D1 for ; Wed, 27 Sep 2006 15:45:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15BAD43DB0 for ; Wed, 27 Sep 2006 15:44:29 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8RFiON7058877; Wed, 27 Sep 2006 11:44:24 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 27 Sep 2006 11:44:23 -0400 User-Agent: KMail/1.9.1 References: <20060927160145.vl5ls2dz44ccscwo@webmail.leidinger.net> In-Reply-To: <20060927160145.vl5ls2dz44ccscwo@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609271144.23681.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 27 Sep 2006 11:44:25 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1947/Tue Sep 26 20:46:56 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Alexander Leidinger Subject: Re: "recursive lock for object" & "unlocking unheld lock" in smb 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: Wed, 27 Sep 2006 15:45:14 -0000 On Wednesday 27 September 2006 10:01, Alexander Leidinger wrote: > Hi, > > yesterday I rsynced a smb share from a samba-3.0.x server (FreeBSD 4) > via a smb mount (current from Sep 23) "locally" (mount -t smbfs from > the samba server and rsync a/ b/; most easy solution to convert some > ISO-8859-1 filenames to UTF-8 ("dos charset = UTF8" in smb.conf!) > while moving to another system). > > Today I noticed the following in the daily mail on the -current system: If you are willing to panic your box, can you try the patch below and get a crashdump when it panics? Then, send me the stack trace from the panic (and keep the crashdump around). Thanks. Index: smb_conn.c =================================================================== RCS file: /usr/cvs/src/sys/netsmb/smb_conn.c,v retrieving revision 1.17 diff -u -r1.17 smb_conn.c --- smb_conn.c 17 Jul 2006 16:12:59 -0000 1.17 +++ smb_conn.c 27 Sep 2006 15:42:35 -0000 @@ -350,6 +350,7 @@ if (smb_co_lockstatus(cp, td) == LK_EXCLUSIVE && (flags & LK_CANRECURSE) == 0) { SMBERROR("recursive lock for object %d\n", cp->co_level); + panic("rescursive lock for object %p", cp); return 0; } return lockmgr(&cp->co_lock, flags, &cp->co_interlock, td); -- John Baldwin