From owner-freebsd-current@FreeBSD.ORG Mon Jan 8 09:18:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE9EF16A403; Mon, 8 Jan 2007 09:18:49 +0000 (UTC) (envelope-from doublef-ctm@yandex.ru) Received: from smtp2.yandex.ru (smtp2.yandex.ru [213.180.200.18]) by mx1.freebsd.org (Postfix) with ESMTP id E7F2913C448; Mon, 8 Jan 2007 09:18:46 +0000 (UTC) (envelope-from doublef-ctm@yandex.ru) Received: from [83.239.189.241] ([83.239.189.241]:10204 "EHLO shark" smtp-auth: "doublef-ctm" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S3376965AbXAHJER (ORCPT + 1 other); Mon, 8 Jan 2007 12:04:17 +0300 X-Comment: RFC 2476 MSA function at smtp2.yandex.ru logged sender identity as: doublef-ctm Received: by shark (Postfix, from userid 1000) id 63CC517348; Mon, 8 Jan 2007 12:04:14 +0300 (MSK) Date: Mon, 8 Jan 2007 12:04:14 +0300 From: Sergey Zaharchenko To: Alexander Leidinger Message-ID: <20070108090414.GA7906@shark.localdomain> References: <20060927160145.vl5ls2dz44ccscwo@webmail.leidinger.net> <200609271144.23681.jhb@freebsd.org> <20060927203438.1ca77bf0@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <20060927203438.1ca77bf0@Magellan.Leidinger.net> X-Listening-To: Silence User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org 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: Mon, 08 Jan 2007 09:18:49 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Alexander! Wed, Sep 27, 2006 at 08:34:38PM +0200 you wrote: > Quoting John Baldwin (Wed, 27 Sep 2006 11:44:23 -0400): >=20 > > On Wednesday 27 September 2006 10:01, Alexander Leidinger wrote: > > > Hi, > > >=20 > > > yesterday I rsynced a smb share from a samba-3.0.x server (FreeBSD 4)= =20 > > > via a smb mount (current from Sep 23) "locally" (mount -t smbfs from = =20 > > > the samba server and rsync a/ b/; most easy solution to convert some = =20 > > > ISO-8859-1 filenames to UTF-8 ("dos charset =3D UTF8" in smb.conf!) = =20 > > > while moving to another system). > > >=20 > > > Today I noticed the following in the daily mail on the -current syste= m: > >=20 > > If you are willing to panic your box, can you try the patch below and g= et a=20 >=20 > Not this one. But I try to reproduce it with another one later this > week (not today and not tomorrow). >=20 I'm just writing to note that I've observed the same: smb_iod_recvall: drop resp with mid 1 smb_co_lock: recursive lock for object 1 lockmgr: thread 0xc3a78c40 unlocking unheld lock KDB: stack backtrace: db_trace_self_wrapper(c0939b3c) at db_trace_self_wrapper+0x25 kdb_backtrace(c0934cf7,c3a78c40) at kdb_backtrace+0x29 _lockmgr(c4213408,2006,c4213434,c3a78c40,c41e22b0,...) at _lockmgr+0x5ca smb_co_put(c4213400,d63a1b8c,c41fe800,c4213400,0,...) at smb_co_put+0x50 smb_sm_lookup(d63a1b18,d63a1af8,d63a1b8c,d63a1af4,d63a1af8,...) at smb_sm_l= ookup+0x11a smb_usr_lookup(c3397c00,d63a1b8c,d63a1b88,d63a1b84,c0a86358,...) at smb_usr= _lookup+0x76 nsmb_dev_ioctl(c420bb00,82fc6e6a,c3397c00,3,c3a78c40,c0a391e8,0,c0932a36,13= 1) at nsmb_dev_ioctl+0x1e5 giant_ioctl(c420bb00,82fc6e6a,c3397c00,3,c3a78c40,...) at giant_ioctl+0x33 devfs_ioctl_f(c3f77828,82fc6e6a,c3397c00,c3ceae80,c3a78c40) at devfs_ioctl_= f+0xaf kern_ioctl(c3a78c40,4,82fc6e6a,c3397c00) at kern_ioctl+0x296 ioctl(c3a78c40,d63a1d04) at ioctl+0xf1 syscall(3b,3b,3b,bfbfe780,bfbfe280,...) at syscall+0x256 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip =3D 0x281562db, esp =3D 0xbfbfe= 26c, ebp =3D 0xbfbfe598 --- smb_iod_recvall: drop resp with mid 3 with -CURRENT from Fri Dec 1 19:31:56 MSK 2006 and windows xp as the server when copying large files to/from the server. So it's still there and the server being FreeBSD is probably irrelevant. Has anything been done since or should I try the patch and send the backtrace? P.S. A word about my PR's: PR 102747 has been sitting there for a while, all my mail to either brian@freebsd.org or brian@Awfulhak.org was rejected. I've been running with the patch for all this time without problems. Anyone? PR 104406 should probably be closed; it's a bit weird case of a bug which looks inherent to idprio when there's no priority propagation (all processes get to a sleep queue and will only wake up when the low-priority process has run, which is almost never). --=20 DoubleF No virus detected in this message. Ehrm, wait a minute... /kernel: pid 56921 (antivirus), uid 32000: exited on signal 9 Oh yes, no virus:) --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQFFogkNwo7hT/9lVdwRAsRzAJ9ChiRV/BQMoaY/1EjPasgGAFOnTgCePzj0 O7r7tb4TcGBrjPlSxkX1pAs= =n8Pa -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--