Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 12:04:14 +0300
From:      Sergey Zaharchenko <doublef-ctm@yandex.ru>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: "recursive lock for object" & "unlocking unheld lock" in smb
Message-ID:  <20070108090414.GA7906@shark.localdomain>
In-Reply-To: <20060927203438.1ca77bf0@Magellan.Leidinger.net>
References:  <20060927160145.vl5ls2dz44ccscwo@webmail.leidinger.net> <200609271144.23681.jhb@freebsd.org> <20060927203438.1ca77bf0@Magellan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--+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 <jhb@freebsd.org> (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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070108090414.GA7906>