From nobody@FreeBSD.org  Thu Feb  3 16:04:31 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 44C251065674
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Feb 2011 16:04:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 31B5C8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  3 Feb 2011 16:04:31 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p13G4UvS056903
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 3 Feb 2011 16:04:30 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p13G4UXL056902;
	Thu, 3 Feb 2011 16:04:30 GMT
	(envelope-from nobody)
Message-Id: <201102031604.p13G4UXL056902@red.freebsd.org>
Date: Thu, 3 Feb 2011 16:04:30 GMT
From: Marek Bdy <marek.bedy@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: smb_co_lock: recursive lock for object 1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         154491
>Category:       kern
>Synopsis:       [smbfs] smb_co_lock: recursive lock for object 1
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 03 16:10:14 UTC 2011
>Closed-Date:    
>Last-Modified:  Thu Nov 24 17:50:08 UTC 2011
>Originator:     Marek Bdy
>Release:        FreeBSD 8.1-PRERELEASE
>Organization:
>Environment:
FreeBSD homer.inn 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #3: Thu May 27 18:27:04 CEST 2010     mbe@homer.inn:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I have problem with mounting cifs network share (it is windows cifs share):

file /etc/nsmb.conf: 

[FILESERVER]
addr=172.16.2.37

[FILESERVER:SNIPS]
password=xxxxxx
cowner=mbe


/usr/sbin/mount_smbfs -I 172.16.2.37 -W DOMAIN.SK //snips@fileserver/snips-tftpd /tftpd/fs

mount_smbfs: unable to open connection: syserr = No such file or directory

in dmesg is log: smb_co_lock: recursive lock for object 1
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Feb 4 19:33:13 UTC 2011 
Responsible-Changed-Why:  
reclassify and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154491 

From: "Johannes Totz" <johannes@jo-t.de>
To: <bug-followup@FreeBSD.org>,
	<marek.bedy@gmail.com>
Cc:  
Subject: Re: kern/154491: [smbfs] smb_co_lock: recursive lock for object 1
Date: Thu, 24 Nov 2011 15:08:38 -0000

 Same thing on
 
 FreeBSD XXX 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0 r227793: Mon Nov 21
 20:19:04 GMT 2011     root@XXX:/usr/obj/usr/src/sys/GENERIC  amd64
 

From: "Johannes Totz" <johannes@jo-t.de>
To: <bug-followup@FreeBSD.org>,
	<marek.bedy@gmail.com>
Cc:  
Subject: Re: kern/154491: [smbfs] smb_co_lock: recursive lock for object 1
Date: Thu, 24 Nov 2011 17:43:54 -0000

 Trying to unload smbfs.ko after these messages leaves the machine in some
 sort of zombie state. Ping to it works, but everything else is dead, no io,
 no keyboard input on console, numlock is dead.
 
 This is on 9-stable, r227793, x64.
 
>Unformatted:
