From owner-freebsd-hackers Tue Dec 18 14:48:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 7DEDC37B405 for ; Tue, 18 Dec 2001 14:48:08 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 5947786; Tue, 18 Dec 2001 22:47:58 +0000 (GMT) Date: Tue, 18 Dec 2001 22:47:58 +0000 From: Josef Karthauser To: Matthew Dillon Cc: Martin Blapp , freebsd-hackers@FreeBSD.ORG Subject: Re: deadlock with softupdates ? Message-ID: <20011218224758.A412@tao.org.uk> Mail-Followup-To: Josef Karthauser , Matthew Dillon , Martin Blapp , freebsd-hackers@FreeBSD.ORG References: <20011217223123.P59342-100000@levais.imp.ch> <200112172141.fBHLfSc33112@apollo.backplane.com> <20011218105527.A708@tao.org.uk> <200112181924.fBIJOSe70566@apollo.backplane.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112181924.fBIJOSe70566@apollo.backplane.com>; from dillon@apollo.backplane.com on Tue, Dec 18, 2001 at 11:24:28AM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 18, 2001 at 11:24:28AM -0800, Matthew Dillon wrote: >=20 > :genius# ps -axl -M vmcore.15 -N kernel.15=3D20 > :(attached file) > : > :The back traces for the processes locked in inode is also attached. > : > :Being green to debugging this kind of thing what should I do next? > : > :Joe >=20 > Please backtrace the processes stuck in 'vfscac' as well. Actually, > backtrace all the processes that are stuck in weird places. Ok, here are some vfscac processes: (kgdb) bt #0 0xc01db56d in mi_switch () at /usr/src/sys/kern/kern_synch.c:781 #1 0xc01dad33 in msleep (ident=3D0xc03326c0, mtx=3D0xc0355720, priority=3D= 66,=20 wmesg=3D0xc02e8634 "vfscache", timo=3D0) at /usr/src/sys/kern/kern_synch.c:496 #2 0xc01cc709 in malloc (size=3D55, type=3D0xc03326c0, flags=3D0) at /usr/src/sys/kern/kern_malloc.c:162 #3 0xc020acb6 in cache_enter (dvp=3D0xe42d5380, vp=3D0xe42d2900, cnp=3D0xe4646c6c) at /usr/src/sys/kern/vfs_cache.c:415 #4 0xc0277535 in ufs_lookup (ap=3D0xe4646b6c) at /usr/src/sys/ufs/ufs/ufs_lookup.c:627 #5 0xc027c729 in ufs_vnoperate (ap=3D0xe4646b6c) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658 #6 0xc020b1f6 in vfs_cache_lookup (ap=3D0xe4646bc4) at vnode_if.h:66 #7 0xc027c729 in ufs_vnoperate (ap=3D0xe4646bc4) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658 #8 0xc020e9b9 in lookup (ndp=3D0xe4646c44) at vnode_if.h:45 #9 0xc020e4a4 in namei (ndp=3D0xe4646c44) at /usr/src/sys/kern/vfs_lookup.c:168 #10 0xc0215df5 in lstat (td=3D0xe44ec104, uap=3D0xe4646d20) at /usr/src/sys/kern/vfs_syscalls.c:2012 #11 0xc02b1c88 in syscall (frame=3D{tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 4= 7,=20 tf_edi =3D -1077942172, tf_esi =3D -1077940908, tf_ebp =3D -107794207= 6,=20 tf_isp =3D -463180428, tf_ebx =3D 5, tf_edx =3D -1077940908, tf_ecx = =3D 2,=20 tf_eax =3D 190, tf_trapno =3D 22, tf_err =3D 2, tf_eip =3D 673929251,= =20 tf_cs =3D 31, tf_eflags =3D 663, tf_esp =3D -1077942312, tf_ss =3D 47= }) at /usr/src/sys/i386/i386/trap.c:1150 #12 0xc02a52ed in syscall_with_err_pushed () #13 0x808e39c in ?? () #14 0x8052201 in ?? () #15 0x805abd0 in ?? () #16 0x806b735 in ?? () #17 0x804b699 in ?? () (kgdb) bt #0 0xc01db56d in mi_switch () at /usr/src/sys/kern/kern_synch.c:781 #1 0xc01dad33 in msleep (ident=3D0xc03326c0, mtx=3D0xc0355720, priority=3D= 66,=20 wmesg=3D0xc02e8634 "vfscache", timo=3D0) at /usr/src/sys/kern/kern_synch.c:496 #2 0xc01cc709 in malloc (size=3D42, type=3D0xc03326c0, flags=3D0) at /usr/src/sys/kern/kern_malloc.c:162 #3 0xc020acb6 in cache_enter (dvp=3D0xe4765000, vp=3D0xe47c2840, cnp=3D0xe44eac54) at /usr/src/sys/kern/vfs_cache.c:415 #4 0xc68f936e in ?? () #5 0xc020e9b9 in lookup (ndp=3D0xe44eac2c) at vnode_if.h:45 #6 0xc020e4a4 in namei (ndp=3D0xe44eac2c) at /usr/src/sys/kern/vfs_lookup.c:168 #7 0xc02193d8 in vn_open_cred (ndp=3D0xe44eac2c, flagp=3D0xe44eabf8, cmode=3D3201,=20 cred=3D0xc7218500) at /usr/src/sys/kern/vfs_vnops.c:162 #8 0xc021919e in vn_open (ndp=3D0xe44eac2c, flagp=3D0xe44eabf8, cmode=3D32= 01) at /usr/src/sys/kern/vfs_vnops.c:85 #9 0xc02147ca in open (td=3D0xe439f404, uap=3D0xe44ead20) at /usr/src/sys/kern/vfs_syscalls.c:1115 #10 0xc02b1c88 in syscall (frame=3D{tf_fs =3D 134545455, tf_es =3D -1078001617,=20 tf_ds =3D -1078001617, tf_edi =3D 134591808, tf_esi =3D -1077937040,= =20 tf_ebp =3D -1077937572, tf_isp =3D -464605836, tf_ebx =3D -1077939620= ,=20 tf_edx =3D 17, tf_ecx =3D -1077940892, tf_eax =3D 5, tf_trapno =3D 22= ,=20 tf_err =3D 2, tf_eip =3D 672822595, tf_cs =3D 31, tf_eflags =3D 647,= =20 tf_esp =3D -1077940800, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1150 #11 0xc02a52ed in syscall_with_err_pushed () #12 0x8049a75 in ?? () #13 0x8049a17 in ?? () #14 0x8049fa5 in ?? () #15 0x80496e2 in ?? () #16 0x8049622 in ?? () #17 0x8049219 in ?? () Joe >=20 > -Matt >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwfx50ACgkQXVIcjOaxUBYDgwCfe3Due6JVPQb92cfoZHEmgzAf H9QAmQEqBpxaR4rElI0nNCXn6V7l05Fz =j5rQ -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message