Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 22:47:58 +0000
From:      Josef Karthauser <joe@tao.org.uk>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Martin Blapp <mb@imp.ch>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: deadlock with softupdates ?
Message-ID:  <20011218224758.A412@tao.org.uk>
In-Reply-To: <200112181924.fBIJOSe70566@apollo.backplane.com>; from dillon@apollo.backplane.com on Tue, Dec 18, 2001 at 11:24:28AM -0800
References:  <20011217223123.P59342-100000@levais.imp.ch> <200112172141.fBHLfSc33112@apollo.backplane.com> <20011218105527.A708@tao.org.uk> <200112181924.fBIJOSe70566@apollo.backplane.com>

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

[-- Attachment #1 --]
On Tue, Dec 18, 2001 at 11:24:28AM -0800, Matthew Dillon wrote:
> 
> :genius# ps -axl -M vmcore.15 -N kernel.15=20
> :(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
> 
>     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=0xc03326c0, mtx=0xc0355720, priority=66, 
    wmesg=0xc02e8634 "vfscache", timo=0) at
/usr/src/sys/kern/kern_synch.c:496
#2  0xc01cc709 in malloc (size=55, type=0xc03326c0, flags=0)
    at /usr/src/sys/kern/kern_malloc.c:162
#3  0xc020acb6 in cache_enter (dvp=0xe42d5380, vp=0xe42d2900,
cnp=0xe4646c6c)
    at /usr/src/sys/kern/vfs_cache.c:415
#4  0xc0277535 in ufs_lookup (ap=0xe4646b6c)
    at /usr/src/sys/ufs/ufs/ufs_lookup.c:627
#5  0xc027c729 in ufs_vnoperate (ap=0xe4646b6c)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#6  0xc020b1f6 in vfs_cache_lookup (ap=0xe4646bc4) at vnode_if.h:66
#7  0xc027c729 in ufs_vnoperate (ap=0xe4646bc4)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#8  0xc020e9b9 in lookup (ndp=0xe4646c44) at vnode_if.h:45
#9  0xc020e4a4 in namei (ndp=0xe4646c44) at
/usr/src/sys/kern/vfs_lookup.c:168
#10 0xc0215df5 in lstat (td=0xe44ec104, uap=0xe4646d20)
    at /usr/src/sys/kern/vfs_syscalls.c:2012
#11 0xc02b1c88 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = -1077942172, tf_esi = -1077940908, tf_ebp = -1077942076, 
      tf_isp = -463180428, tf_ebx = 5, tf_edx = -1077940908, tf_ecx = 2, 
      tf_eax = 190, tf_trapno = 22, tf_err = 2, tf_eip = 673929251, 
      tf_cs = 31, tf_eflags = 663, tf_esp = -1077942312, tf_ss = 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=0xc03326c0, mtx=0xc0355720, priority=66, 
    wmesg=0xc02e8634 "vfscache", timo=0) at
/usr/src/sys/kern/kern_synch.c:496
#2  0xc01cc709 in malloc (size=42, type=0xc03326c0, flags=0)
    at /usr/src/sys/kern/kern_malloc.c:162
#3  0xc020acb6 in cache_enter (dvp=0xe4765000, vp=0xe47c2840,
cnp=0xe44eac54)
    at /usr/src/sys/kern/vfs_cache.c:415
#4  0xc68f936e in ?? ()
#5  0xc020e9b9 in lookup (ndp=0xe44eac2c) at vnode_if.h:45
#6  0xc020e4a4 in namei (ndp=0xe44eac2c) at
/usr/src/sys/kern/vfs_lookup.c:168
#7  0xc02193d8 in vn_open_cred (ndp=0xe44eac2c, flagp=0xe44eabf8,
cmode=3201, 
    cred=0xc7218500) at /usr/src/sys/kern/vfs_vnops.c:162
#8  0xc021919e in vn_open (ndp=0xe44eac2c, flagp=0xe44eabf8, cmode=3201)
    at /usr/src/sys/kern/vfs_vnops.c:85
#9  0xc02147ca in open (td=0xe439f404, uap=0xe44ead20)
    at /usr/src/sys/kern/vfs_syscalls.c:1115
#10 0xc02b1c88 in syscall (frame={tf_fs = 134545455, tf_es =
-1078001617, 
      tf_ds = -1078001617, tf_edi = 134591808, tf_esi = -1077937040, 
      tf_ebp = -1077937572, tf_isp = -464605836, tf_ebx = -1077939620, 
      tf_edx = 17, tf_ecx = -1077940892, tf_eax = 5, tf_trapno = 22, 
      tf_err = 2, tf_eip = 672822595, tf_cs = 31, tf_eflags = 647, 
      tf_esp = -1077940800, tf_ss = 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
> 
> 						-Matt
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwfx50ACgkQXVIcjOaxUBYDgwCfe3Due6JVPQb92cfoZHEmgzAf
H9QAmQEqBpxaR4rElI0nNCXn6V7l05Fz
=j5rQ
-----END PGP SIGNATURE-----
home | help

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