NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/50375: layerfs (nullfs) locking problem leading to livelock
The following reply was made to PR kern/50375; it has been noted by GNATS.
From: Jeff Rizzo <riz%tastylime.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/50375: layerfs (nullfs) locking problem leading to livelock
Date: Wed, 28 Oct 2015 12:39:49 -0700
This is hopefully all the LWPs in tstile (plus one that's not, but is
one being waited on), and the vnodes. Hopefully I didn't miss any.
(gdb) kvm proc 0x94eed4a0
0x812e9eb8 in mi_switch (l=l@entry=0x94eed4a0) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x94eed4a0) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>,
ts@entry=0x9512c7b0, q=q@entry=1, obj=obj@entry=0x9222643c,
sobj=sobj@entry=0x8153f5ac <rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x9222643c,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
#6 0x8137a990 in layer_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:733
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x95063f00,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
#8 0x81367a34 in vn_lock (vp=vp@entry=0x95063f00, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
#9 0x81379db0 in layerfs_root (mp=<optimized out>, vpp=0x9f3f7c1c) at
/home/riz/src/sys/miscfs/genfs/layer_vfsops.c:149
#10 0x8135bc10 in VFS_ROOT (mp=mp@entry=0x95061008,
a=a@entry=0x9f3f7c1c) at /home/riz/src/sys/kern/vfs_subr.c:1307
#11 0x81355474 in lookup_once (state=state@entry=0x9f3f7d28,
searchdir=0x91fe0180, newsearchdir_ret=newsearchdir_ret@entry=0x9f3f7cb4,
foundobj_ret=foundobj_ret@entry=0x9f3f7cb8) at
/home/riz/src/sys/kern/vfs_lookup.c:1094
#12 0x813560a8 in namei_oneroot (isnfsd=<optimized out>,
inhibitmagic=<optimized out>, neverfollow=<optimized out>,
state=<optimized out>)
at /home/riz/src/sys/kern/vfs_lookup.c:1215
#13 namei_tryemulroot (state=state@entry=0x9f3f7d28,
neverfollow=neverfollow@entry=0, inhibitmagic=inhibitmagic@entry=0,
isnfsd=isnfsd@entry=0)
at /home/riz/src/sys/kern/vfs_lookup.c:1469
#14 0x813571a8 in namei (ndp=ndp@entry=0x9f3f7e48) at
/home/riz/src/sys/kern/vfs_lookup.c:1505
#15 0x813683dc in vn_open (ndp=ndp@entry=0x9f3f7e48,
fmode=fmode@entry=522, cmode=cmode@entry=420) at
/home/riz/src/sys/kern/vfs_vnops.c:175
#16 0x8135f938 in do_open (l=l@entry=0x94eed4a0, dvp=0x0, pb=<optimized
out>, open_flags=open_flags@entry=521, open_mode=open_mode@entry=438,
fd=fd@entry=0x9f3f7eec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1578
#17 0x8135fa78 in do_sys_openat (l=0x94eed4a0, fdat=fdat@entry=-100,
path=<optimized out>, flags=521, mode=438, fd=fd@entry=0x9f3f7eec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1658
#18 0x8135fb60 in sys_open (l=<optimized out>, uap=<optimized out>,
retval=0x9f3f7f18) at /home/riz/src/sys/kern/vfs_syscalls.c:1678
#19 0x81012cc4 in sy_call (rval=0x9f3f7f18, uap=<optimized out>,
l=0x94eed4a0, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:65
#20 sy_invoke (code=5, rval=0x9f3f7f18, uap=<optimized out>,
l=0x94eed4a0, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:94
#21 syscall (tf=0x9f3f7fb0, l=0x94eed4a0, insn=<optimized out>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:253
#22 0x81012ecc in swi_handler (tf=0x9f3f7fb0, tf@entry=<error reading
variable: Register 25 is not available>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:188
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$10 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x922263a0},
uo_npages = 0, uo_refs = 7, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x922263c4, 0x8146e51c}},
v_size = 512, v_writesize = 512, v_iflag = 0, v_vflag = 49, v_uflag =
0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x92c3f8e8, tqe_prev =
0x91c1b71c}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x922aea80,
tqe_prev = 0x920d3010},
v_cleanblkhd = {lh_first = 0x92e3dd80}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x92b6d7c0}, v_nclist = {
lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket = 0x0,
vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR,
v_tag = VT_UFS, v_lock = {
rw_owner = 2508597447}, v_data = 0x922240c0, v_klist = {slh_first =
0x0}}
(gdb) frame 7
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x95063f00,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
1166 in /home/riz/src/sys/kern/vnode_if.c
(gdb) print *vp
$11 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x95063f08},
uo_npages = 0, uo_refs = 4, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x95063f2c, 0x8146e51c}},
v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 1, v_uflag = 0,
v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0,
v_mount = 0x95061008,
v_op = 0x9159ac48, v_freelist = {tqe_next = 0x0, tqe_prev = 0x0},
v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x95063e50, tqe_prev =
0x95061010}, v_cleanblkhd = {
lh_first = 0x0}, v_dirtyblkhd = {lh_first = 0x0}, v_synclist =
{tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist = {lh_first = 0x0}, v_nclist
= {lh_first = 0x0}, v_un = {
vu_mountedhere = 0x0, vu_socket = 0x0, vu_specnode = 0x0,
vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR, v_tag = VT_NULL,
v_lock = {rw_owner = 0}, v_data = 0x915818b0,
v_klist = {slh_first = 0x0}}
(gdb) kvm proc 0x95b74be0
0x812e9eb8 in mi_switch (l=l@entry=0x95b74be0) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x95b74be0) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>,
ts@entry=0x9512c7b0, q=q@entry=1, obj=obj@entry=0x9222643c,
sobj=sobj@entry=0x8153f5ac <rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x9222643c,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
#6 0x8137a990 in layer_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:733
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x93f6ab08,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
#8 0x81367a34 in vn_lock (vp=vp@entry=0x93f6ab08, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
#9 0x81379db0 in layerfs_root (mp=<optimized out>, vpp=0xa3bcbc1c) at
/home/riz/src/sys/miscfs/genfs/layer_vfsops.c:149
#10 0x8135bc10 in VFS_ROOT (mp=mp@entry=0x94f02008,
a=a@entry=0xa3bcbc1c) at /home/riz/src/sys/kern/vfs_subr.c:1307
#11 0x81355474 in lookup_once (state=state@entry=0xa3bcbd28,
searchdir=0x93143a30, newsearchdir_ret=newsearchdir_ret@entry=0xa3bcbcb4,
foundobj_ret=foundobj_ret@entry=0xa3bcbcb8) at
/home/riz/src/sys/kern/vfs_lookup.c:1094
#12 0x813560a8 in namei_oneroot (isnfsd=<optimized out>,
inhibitmagic=<optimized out>, neverfollow=<optimized out>,
state=<optimized out>)
at /home/riz/src/sys/kern/vfs_lookup.c:1215
#13 namei_tryemulroot (state=state@entry=0xa3bcbd28,
neverfollow=neverfollow@entry=0, inhibitmagic=inhibitmagic@entry=0,
isnfsd=isnfsd@entry=0)
at /home/riz/src/sys/kern/vfs_lookup.c:1469
#14 0x813571a8 in namei (ndp=ndp@entry=0xa3bcbe48) at
/home/riz/src/sys/kern/vfs_lookup.c:1505
#15 0x813683dc in vn_open (ndp=ndp@entry=0xa3bcbe48,
fmode=fmode@entry=522, cmode=cmode@entry=420) at
/home/riz/src/sys/kern/vfs_vnops.c:175
#16 0x8135f938 in do_open (l=l@entry=0x95b74be0, dvp=0x0, pb=<optimized
out>, open_flags=open_flags@entry=521, open_mode=open_mode@entry=438,
fd=fd@entry=0xa3bcbeec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1578
#17 0x8135fa78 in do_sys_openat (l=0x95b74be0, fdat=fdat@entry=-100,
path=<optimized out>, flags=521, mode=438, fd=fd@entry=0xa3bcbeec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1658
#18 0x8135fb60 in sys_open (l=<optimized out>, uap=<optimized out>,
retval=0xa3bcbf18) at /home/riz/src/sys/kern/vfs_syscalls.c:1678
#19 0x81012cc4 in sy_call (rval=0xa3bcbf18, uap=<optimized out>,
l=0x95b74be0, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:65
#20 sy_invoke (code=5, rval=0xa3bcbf18, uap=<optimized out>,
l=0x95b74be0, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:94
#21 syscall (tf=0xa3bcbfb0, l=0x95b74be0, insn=<optimized out>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:253
#22 0x81012ecc in swi_handler (tf=0xa3bcbfb0, tf@entry=<error reading
variable: Register 25 is not available>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:188
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$12 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x922263a0},
uo_npages = 0, uo_refs = 7, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x922263c4, 0x8146e51c}},
v_size = 512, v_writesize = 512, v_iflag = 0, v_vflag = 49, v_uflag =
0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x92c3f8e8, tqe_prev =
0x91c1b71c}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x922aea80,
tqe_prev = 0x920d3010},
v_cleanblkhd = {lh_first = 0x92e3dd80}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x92b6d7c0}, v_nclist = {
lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket = 0x0,
vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR,
v_tag = VT_UFS, v_lock = {
rw_owner = 2508597447}, v_data = 0x922240c0, v_klist = {slh_first =
0x0}}
(gdb) frame 7
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x93f6ab08,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
1166 in /home/riz/src/sys/kern/vnode_if.c
(gdb) print *vp
$13 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x93f6ab10},
uo_npages = 0, uo_refs = 2, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x93f6ab34, 0x8146e51c}},
v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 1, v_uflag = 0,
v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0,
v_mount = 0x94f02008,
v_op = 0x9159ac48, v_freelist = {tqe_next = 0x0, tqe_prev = 0x0},
v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x93f6aa58, tqe_prev =
0x94f02010}, v_cleanblkhd = {
lh_first = 0x0}, v_dirtyblkhd = {lh_first = 0x0}, v_synclist =
{tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist = {lh_first = 0x0}, v_nclist
= {lh_first = 0x0}, v_un = {
vu_mountedhere = 0x0, vu_socket = 0x0, vu_specnode = 0x0,
vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR, v_tag = VT_NULL,
v_lock = {rw_owner = 0}, v_data = 0x92e249f8,
v_klist = {slh_first = 0x0}}
(gdb) frame 8
#8 0x81367a34 in vn_lock (vp=vp@entry=0x93f6ab08, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
1034 /home/riz/src/sys/kern/vfs_vnops.c: No such file or directory.
(gdb) print *vp
$14 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x93f6ab10},
uo_npages = 0, uo_refs = 2, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x93f6ab34, 0x8146e51c}},
v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 1, v_uflag = 0,
v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0,
v_mount = 0x94f02008,
v_op = 0x9159ac48, v_freelist = {tqe_next = 0x0, tqe_prev = 0x0},
v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x93f6aa58, tqe_prev =
0x94f02010}, v_cleanblkhd = {
lh_first = 0x0}, v_dirtyblkhd = {lh_first = 0x0}, v_synclist =
{tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist = {lh_first = 0x0}, v_nclist
= {lh_first = 0x0}, v_un = {
vu_mountedhere = 0x0, vu_socket = 0x0, vu_specnode = 0x0,
vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR, v_tag = VT_NULL,
v_lock = {rw_owner = 0}, v_data = 0x92e249f8,
v_klist = {slh_first = 0x0}}
(gdb) kvm proc 0x95c6a940
0x812e9eb8 in mi_switch (l=l@entry=0x95c6a940) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x95c6a940) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>,
ts@entry=0x9512c7b0, q=q@entry=1, obj=obj@entry=0x9222643c,
sobj=sobj@entry=0x8153f5ac <rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x9222643c,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
#6 0x8137a990 in layer_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:733
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x95063f00,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
#8 0x81367a34 in vn_lock (vp=vp@entry=0x95063f00, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
#9 0x81379db0 in layerfs_root (mp=<optimized out>, vpp=0xa3a03c1c) at
/home/riz/src/sys/miscfs/genfs/layer_vfsops.c:149
#10 0x8135bc10 in VFS_ROOT (mp=mp@entry=0x95061008,
a=a@entry=0xa3a03c1c) at /home/riz/src/sys/kern/vfs_subr.c:1307
#11 0x81355474 in lookup_once (state=state@entry=0xa3a03d28,
searchdir=0x91fe0180, newsearchdir_ret=newsearchdir_ret@entry=0xa3a03cb4,
foundobj_ret=foundobj_ret@entry=0xa3a03cb8) at
/home/riz/src/sys/kern/vfs_lookup.c:1094
#12 0x813560a8 in namei_oneroot (isnfsd=<optimized out>,
inhibitmagic=<optimized out>, neverfollow=<optimized out>,
state=<optimized out>)
at /home/riz/src/sys/kern/vfs_lookup.c:1215
#13 namei_tryemulroot (state=state@entry=0xa3a03d28,
neverfollow=neverfollow@entry=0, inhibitmagic=inhibitmagic@entry=0,
isnfsd=isnfsd@entry=0)
at /home/riz/src/sys/kern/vfs_lookup.c:1469
#14 0x813571a8 in namei (ndp=ndp@entry=0xa3a03e48) at
/home/riz/src/sys/kern/vfs_lookup.c:1505
#15 0x813683dc in vn_open (ndp=ndp@entry=0xa3a03e48,
fmode=fmode@entry=522, cmode=cmode@entry=420) at
/home/riz/src/sys/kern/vfs_vnops.c:175
#16 0x8135f938 in do_open (l=l@entry=0x95c6a940, dvp=0x0, pb=<optimized
out>, open_flags=open_flags@entry=521, open_mode=open_mode@entry=438,
fd=fd@entry=0xa3a03eec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1578
#17 0x8135fa78 in do_sys_openat (l=0x95c6a940, fdat=fdat@entry=-100,
path=<optimized out>, flags=521, mode=438, fd=fd@entry=0xa3a03eec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1658
#18 0x8135fb60 in sys_open (l=<optimized out>, uap=<optimized out>,
retval=0xa3a03f18) at /home/riz/src/sys/kern/vfs_syscalls.c:1678
#19 0x81012cc4 in sy_call (rval=0xa3a03f18, uap=<optimized out>,
l=0x95c6a940, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:65
#20 sy_invoke (code=5, rval=0xa3a03f18, uap=<optimized out>,
l=0x95c6a940, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:94
#21 syscall (tf=0xa3a03fb0, l=0x95c6a940, insn=<optimized out>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:253
#22 0x81012ecc in swi_handler (tf=0xa3a03fb0, tf@entry=<error reading
variable: Register 25 is not available>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:188
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$15 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x922263a0},
uo_npages = 0, uo_refs = 7, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x922263c4, 0x8146e51c}},
v_size = 512, v_writesize = 512, v_iflag = 0, v_vflag = 49, v_uflag =
0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x92c3f8e8, tqe_prev =
0x91c1b71c}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x922aea80,
tqe_prev = 0x920d3010},
v_cleanblkhd = {lh_first = 0x92e3dd80}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x92b6d7c0}, v_nclist = {
lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket = 0x0,
vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR,
v_tag = VT_UFS, v_lock = {
rw_owner = 2508597447}, v_data = 0x922240c0, v_klist = {slh_first =
0x0}}
(gdb) frame 7
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x95063f00,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
1166 in /home/riz/src/sys/kern/vnode_if.c
(gdb) print *vp
$16 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x95063f08},
uo_npages = 0, uo_refs = 4, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x95063f2c, 0x8146e51c}},
v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 1, v_uflag = 0,
v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0,
v_mount = 0x95061008,
v_op = 0x9159ac48, v_freelist = {tqe_next = 0x0, tqe_prev = 0x0},
v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x95063e50, tqe_prev =
0x95061010}, v_cleanblkhd = {
lh_first = 0x0}, v_dirtyblkhd = {lh_first = 0x0}, v_synclist =
{tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist = {lh_first = 0x0}, v_nclist
= {lh_first = 0x0}, v_un = {
vu_mountedhere = 0x0, vu_socket = 0x0, vu_specnode = 0x0,
vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR, v_tag = VT_NULL,
v_lock = {rw_owner = 0}, v_data = 0x915818b0,
v_klist = {slh_first = 0x0}}
(gdb) kvm proc 0x95369360
0x812e9eb8 in mi_switch (l=l@entry=0x95369360) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x95369360) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>,
ts@entry=0x9512c7b0, q=q@entry=1, obj=obj@entry=0x9222643c,
sobj=sobj@entry=0x8153f5ac <rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x9222643c,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
#6 0x8137a990 in layer_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:733
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x950c8de0,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
#8 0x81367a34 in vn_lock (vp=vp@entry=0x950c8de0, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
#9 0x81379db0 in layerfs_root (mp=<optimized out>, vpp=0x9e569c7c) at
/home/riz/src/sys/miscfs/genfs/layer_vfsops.c:149
#10 0x8135bc10 in VFS_ROOT (mp=mp@entry=0x95066008,
a=a@entry=0x9e569c7c) at /home/riz/src/sys/kern/vfs_subr.c:1307
#11 0x81355474 in lookup_once (state=state@entry=0x9e569d88,
searchdir=0x934918c0, newsearchdir_ret=newsearchdir_ret@entry=0x9e569d14,
foundobj_ret=foundobj_ret@entry=0x9e569d18) at
/home/riz/src/sys/kern/vfs_lookup.c:1094
#12 0x813560a8 in namei_oneroot (isnfsd=<optimized out>,
inhibitmagic=<optimized out>, neverfollow=<optimized out>,
state=<optimized out>)
at /home/riz/src/sys/kern/vfs_lookup.c:1215
#13 namei_tryemulroot (state=state@entry=0x9e569d88,
neverfollow=neverfollow@entry=0, inhibitmagic=inhibitmagic@entry=0,
isnfsd=isnfsd@entry=0)
at /home/riz/src/sys/kern/vfs_lookup.c:1469
#14 0x813571a8 in namei (ndp=ndp@entry=0x9e569df0) at
/home/riz/src/sys/kern/vfs_lookup.c:1505
#15 0x8135ce74 in fd_nameiat (fdat=fdat@entry=-100,
ndp=ndp@entry=0x9e569df0, l=<optimized out>) at
/home/riz/src/sys/kern/vfs_syscalls.c:179
#16 0x81361004 in do_sys_statat (l=<optimized out>,
fdat=fdat@entry=-100, userpath=0x7fffde68 <error: Cannot access memory
at address 0x7fffde68>, nd_flag=nd_flag@entry=64,
sb=sb@entry=0x9e569e58) at /home/riz/src/sys/kern/vfs_syscalls.c:3042
#17 0x813610c4 in sys___stat50 (l=<optimized out>, uap=0x9e569fb8,
retval=<optimized out>) at /home/riz/src/sys/kern/vfs_syscalls.c:3067
#18 0x81012cc4 in sy_call (rval=0x9e569f18, uap=<optimized out>,
l=0x95369360, sy=0x8153e56c <sysent+8780>) at
/home/riz/src/sys/sys/syscallvar.h:65
#19 sy_invoke (code=439, rval=0x9e569f18, uap=<optimized out>,
l=0x95369360, sy=0x8153e56c <sysent+8780>) at
/home/riz/src/sys/sys/syscallvar.h:94
#20 syscall (tf=0x9e569fb0, l=0x95369360, insn=<optimized out>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:253
#21 0x81012ecc in swi_handler (tf=0x9e569fb0, tf@entry=<error reading
variable: Register 25 is not available>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:188
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$17 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x922263a0},
uo_npages = 0, uo_refs = 7, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x922263c4, 0x8146e51c}},
v_size = 512, v_writesize = 512, v_iflag = 0, v_vflag = 49, v_uflag =
0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x92c3f8e8, tqe_prev =
0x91c1b71c}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x922aea80,
tqe_prev = 0x920d3010},
v_cleanblkhd = {lh_first = 0x92e3dd80}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x92b6d7c0}, v_nclist = {
lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket = 0x0,
vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR,
v_tag = VT_UFS, v_lock = {
rw_owner = 2508597447}, v_data = 0x922240c0, v_klist = {slh_first =
0x0}}
(gdb) frame 7
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x950c8de0,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
1166 in /home/riz/src/sys/kern/vnode_if.c
(gdb) print *vp
$18 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x950c8de8},
uo_npages = 0, uo_refs = 2, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x950c8e0c, 0x8146e51c}},
v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 1, v_uflag = 0,
v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0,
v_mount = 0x95066008,
v_op = 0x9159ac48, v_freelist = {tqe_next = 0x0, tqe_prev = 0x0},
v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x950c8d30, tqe_prev =
0x95066010}, v_cleanblkhd = {
lh_first = 0x0}, v_dirtyblkhd = {lh_first = 0x0}, v_synclist =
{tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist = {lh_first = 0x0}, v_nclist
= {lh_first = 0x0}, v_un = {
vu_mountedhere = 0x0, vu_socket = 0x0, vu_specnode = 0x0,
vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR, v_tag = VT_NULL,
v_lock = {rw_owner = 0}, v_data = 0x92e24a28,
v_klist = {slh_first = 0x0}}
(gdb) kvm proc 0x95893960
0x812e9eb8 in mi_switch (l=l@entry=0x95893960) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x95893960) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>, ts@entry=0x0,
q=q@entry=1, obj=obj@entry=0x9222643c, sobj=sobj@entry=0x8153f5ac
<rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x9222643c,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
#6 0x8137a990 in layer_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:733
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x95063f00,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
#8 0x81367a34 in vn_lock (vp=vp@entry=0x95063f00, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
#9 0x81379db0 in layerfs_root (mp=<optimized out>, vpp=0xa11ffc1c) at
/home/riz/src/sys/miscfs/genfs/layer_vfsops.c:149
#10 0x8135bc10 in VFS_ROOT (mp=mp@entry=0x95061008,
a=a@entry=0xa11ffc1c) at /home/riz/src/sys/kern/vfs_subr.c:1307
#11 0x81355474 in lookup_once (state=state@entry=0xa11ffd28,
searchdir=0x91fe0180, newsearchdir_ret=newsearchdir_ret@entry=0xa11ffcb4,
foundobj_ret=foundobj_ret@entry=0xa11ffcb8) at
/home/riz/src/sys/kern/vfs_lookup.c:1094
#12 0x813560a8 in namei_oneroot (isnfsd=<optimized out>,
inhibitmagic=<optimized out>, neverfollow=<optimized out>,
state=<optimized out>)
at /home/riz/src/sys/kern/vfs_lookup.c:1215
#13 namei_tryemulroot (state=state@entry=0xa11ffd28,
neverfollow=neverfollow@entry=0, inhibitmagic=inhibitmagic@entry=0,
isnfsd=isnfsd@entry=0)
at /home/riz/src/sys/kern/vfs_lookup.c:1469
#14 0x813571a8 in namei (ndp=ndp@entry=0xa11ffe48) at
/home/riz/src/sys/kern/vfs_lookup.c:1505
#15 0x813683dc in vn_open (ndp=ndp@entry=0xa11ffe48,
fmode=fmode@entry=522, cmode=cmode@entry=420) at
/home/riz/src/sys/kern/vfs_vnops.c:175
#16 0x8135f938 in do_open (l=l@entry=0x95893960, dvp=0x0, pb=<optimized
out>, open_flags=open_flags@entry=521, open_mode=open_mode@entry=438,
fd=fd@entry=0xa11ffeec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1578
#17 0x8135fa78 in do_sys_openat (l=0x95893960, fdat=fdat@entry=-100,
path=<optimized out>, flags=521, mode=438, fd=fd@entry=0xa11ffeec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1658
#18 0x8135fb60 in sys_open (l=<optimized out>, uap=<optimized out>,
retval=0xa11fff18) at /home/riz/src/sys/kern/vfs_syscalls.c:1678
#19 0x81012cc4 in sy_call (rval=0xa11fff18, uap=<optimized out>,
l=0x95893960, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:65
#20 sy_invoke (code=5, rval=0xa11fff18, uap=<optimized out>,
l=0x95893960, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:94
#21 syscall (tf=0xa11fffb0, l=0x95893960, insn=<optimized out>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:253
#22 0x81012ecc in swi_handler (tf=0xa11fffb0, tf@entry=<error reading
variable: Register 25 is not available>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:188
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=0x92226398, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$19 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x922263a0},
uo_npages = 0, uo_refs = 7, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x922263c4, 0x8146e51c}},
v_size = 512, v_writesize = 512, v_iflag = 0, v_vflag = 49, v_uflag =
0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x92c3f8e8, tqe_prev =
0x91c1b71c}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x922aea80,
tqe_prev = 0x920d3010},
v_cleanblkhd = {lh_first = 0x92e3dd80}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x92b6d7c0}, v_nclist = {
lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket = 0x0,
vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR,
v_tag = VT_UFS, v_lock = {
rw_owner = 2508597447}, v_data = 0x922240c0, v_klist = {slh_first =
0x0}}
(gdb) frame 7
#7 0x81370704 in VOP_LOCK (vp=vp@entry=0x95063f00,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
1166 in /home/riz/src/sys/kern/vnode_if.c
(gdb) print *vp
$20 = {v_uobj = {vmobjlock = 0x9222b700, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x95063f08},
uo_npages = 0, uo_refs = 4, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x95063f2c, 0x8146e51c}},
v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 1, v_uflag = 0,
v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0,
v_mount = 0x95061008,
v_op = 0x9159ac48, v_freelist = {tqe_next = 0x0, tqe_prev = 0x0},
v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x95063e50, tqe_prev =
0x95061010}, v_cleanblkhd = {
lh_first = 0x0}, v_dirtyblkhd = {lh_first = 0x0}, v_synclist =
{tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist = {lh_first = 0x0}, v_nclist
= {lh_first = 0x0}, v_un = {
vu_mountedhere = 0x0, vu_socket = 0x0, vu_specnode = 0x0,
vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR, v_tag = VT_NULL,
v_lock = {rw_owner = 0}, v_data = 0x915818b0,
v_klist = {slh_first = 0x0}}
(gdb) kvm proc 0x958628c0
0x812e9eb8 in mi_switch (l=l@entry=0x958628c0) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x958628c0) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>,
ts@entry=0x9512d4d0, q=q@entry=1, obj=obj@entry=0x92314e9c,
sobj=sobj@entry=0x8153f5ac <rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x92314e9c,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=0x92314df8, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
#6 0x8137a990 in layer_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:733
#7 0x813706dc in VOP_LOCK (vp=vp@entry=0x975cd640, flags=flags@entry=2)
at /home/riz/src/sys/kern/vnode_if.c:1166
#8 0x81367a34 in vn_lock (vp=0x975cd640, flags=flags@entry=2) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
#9 0x813553fc in lookup_once (state=state@entry=0xa3e9dd88,
searchdir=0x922ae9d0, newsearchdir_ret=newsearchdir_ret@entry=0xa3e9dd14,
foundobj_ret=foundobj_ret@entry=0xa3e9dd18) at
/home/riz/src/sys/kern/vfs_lookup.c:1065
#10 0x813560a8 in namei_oneroot (isnfsd=<optimized out>,
inhibitmagic=<optimized out>, neverfollow=<optimized out>,
state=<optimized out>)
at /home/riz/src/sys/kern/vfs_lookup.c:1215
#11 namei_tryemulroot (state=state@entry=0xa3e9dd88,
neverfollow=neverfollow@entry=0, inhibitmagic=inhibitmagic@entry=0,
isnfsd=isnfsd@entry=0)
at /home/riz/src/sys/kern/vfs_lookup.c:1469
#12 0x813571a8 in namei (ndp=ndp@entry=0xa3e9ddf0) at
/home/riz/src/sys/kern/vfs_lookup.c:1505
#13 0x8135ce74 in fd_nameiat (fdat=fdat@entry=-100,
ndp=ndp@entry=0xa3e9ddf0, l=<optimized out>) at
/home/riz/src/sys/kern/vfs_syscalls.c:179
#14 0x81361004 in do_sys_statat (l=<optimized out>,
fdat=fdat@entry=-100, userpath=0x7fffde5e <error: Cannot access memory
at address 0x7fffde5e>, nd_flag=nd_flag@entry=64,
sb=sb@entry=0xa3e9de58) at /home/riz/src/sys/kern/vfs_syscalls.c:3042
#15 0x813610c4 in sys___stat50 (l=<optimized out>, uap=0xa3e9dfb8,
retval=<optimized out>) at /home/riz/src/sys/kern/vfs_syscalls.c:3067
#16 0x81012cc4 in sy_call (rval=0xa3e9df18, uap=<optimized out>,
l=0x958628c0, sy=0x8153e56c <sysent+8780>) at
/home/riz/src/sys/sys/syscallvar.h:65
#17 sy_invoke (code=439, rval=0xa3e9df18, uap=<optimized out>,
l=0x958628c0, sy=0x8153e56c <sysent+8780>) at
/home/riz/src/sys/sys/syscallvar.h:94
#18 syscall (tf=0xa3e9dfb0, l=0x958628c0, insn=<optimized out>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:253
#19 0x81012ecc in swi_handler (tf=0xa3e9dfb0, tf@entry=<error reading
variable: Register 25 is not available>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:188
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=0x92314df8, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$21 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x92314e00},
uo_npages = 0, uo_refs = 5, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x92314e24, 0x8146e51c}},
v_size = 2048, v_writesize = 2048, v_iflag = 0, v_vflag = 48, v_uflag
= 0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x93142430, tqe_prev =
0x940c2fbc}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x966c42f0,
tqe_prev = 0x92f3c428},
v_cleanblkhd = {lh_first = 0x94d56328}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x93489880}, v_nclist = {
lh_first = 0x93496380}, v_un = {vu_mountedhere = 0x0, vu_socket =
0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_UFS, v_lock = {
rw_owner = 2507571303}, v_data = 0x92f40198, v_klist = {slh_first =
0x0}}
(gdb) frame 7
#7 0x813706dc in VOP_LOCK (vp=vp@entry=0x975cd640, flags=flags@entry=2)
at /home/riz/src/sys/kern/vnode_if.c:1166
1166 in /home/riz/src/sys/kern/vnode_if.c
(gdb) print *vp
$22 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x975cd648},
uo_npages = 0, uo_refs = 1, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x975cd66c, 0x8146e51c}},
v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 16, v_uflag = 0,
v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0,
v_mount = 0x92e35008,
v_op = 0x9159ac48, v_freelist = {tqe_next = 0x0, tqe_prev = 0x0},
v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x0, tqe_prev =
0x94c00980}, v_cleanblkhd = {lh_first = 0x0},
v_dirtyblkhd = {lh_first = 0x0}, v_synclist = {tqe_next = 0x0,
tqe_prev = 0x0}, v_dnclist = {lh_first = 0x0}, v_nclist = {lh_first =
0x0}, v_un = {vu_mountedhere = 0x0,
vu_socket = 0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx =
0x0}, v_type = VDIR, v_tag = VT_NULL, v_lock = {rw_owner = 0}, v_data =
0x9665fb58, v_klist = {
slh_first = 0x0}}
(gdb) kvm proc 0x95768060
0x812e9eb8 in mi_switch (l=l@entry=0x95768060) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x95768060) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>, ts@entry=0x0,
q=q@entry=1, obj=obj@entry=0x94c17784, sobj=sobj@entry=0x8153f5ac
<rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x94c17784,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=0x94c176e0, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
#6 0x8137a990 in layer_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:733
#7 0x813706dc in VOP_LOCK (vp=vp@entry=0x948159a0,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
#8 0x81367a34 in vn_lock (vp=vp@entry=0x948159a0, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
#9 0x81355670 in lookup_once (state=state@entry=0xa3bc5d28,
searchdir=0x948159a0, newsearchdir_ret=newsearchdir_ret@entry=0xa3bc5cb4,
foundobj_ret=foundobj_ret@entry=0xa3bc5cb8) at
/home/riz/src/sys/kern/vfs_lookup.c:1067
#10 0x813560a8 in namei_oneroot (isnfsd=<optimized out>,
inhibitmagic=<optimized out>, neverfollow=<optimized out>,
state=<optimized out>)
at /home/riz/src/sys/kern/vfs_lookup.c:1215
#11 namei_tryemulroot (state=state@entry=0xa3bc5d28,
neverfollow=neverfollow@entry=0, inhibitmagic=inhibitmagic@entry=0,
isnfsd=isnfsd@entry=0)
at /home/riz/src/sys/kern/vfs_lookup.c:1469
#12 0x813571a8 in namei (ndp=ndp@entry=0xa3bc5e48) at
/home/riz/src/sys/kern/vfs_lookup.c:1505
#13 0x813683dc in vn_open (ndp=ndp@entry=0xa3bc5e48,
fmode=fmode@entry=1, cmode=cmode@entry=1324) at
/home/riz/src/sys/kern/vfs_vnops.c:175
#14 0x8135f938 in do_open (l=l@entry=0x95768060, dvp=0x0, pb=<optimized
out>, open_flags=open_flags@entry=0, open_mode=open_mode@entry=5420,
fd=fd@entry=0xa3bc5eec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1578
#15 0x8135fa78 in do_sys_openat (l=0x95768060, fdat=fdat@entry=-100,
path=<optimized out>, flags=0, mode=5420, fd=fd@entry=0xa3bc5eec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1658
#16 0x8135fb60 in sys_open (l=<optimized out>, uap=<optimized out>,
retval=0xa3bc5f18) at /home/riz/src/sys/kern/vfs_syscalls.c:1678
#17 0x81012cc4 in sy_call (rval=0xa3bc5f18, uap=<optimized out>,
l=0x95768060, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:65
#18 sy_invoke (code=5, rval=0xa3bc5f18, uap=<optimized out>,
l=0x95768060, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:94
#19 syscall (tf=0xa3bc5fb0, l=0x95768060, insn=<optimized out>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:253
#20 0x81012ecc in swi_handler (tf=0xa3bc5fb0, tf@entry=<error reading
variable: Register 25 is not available>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:188
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=0x94c176e0, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$23 = {v_uobj = {vmobjlock = 0x946fde00, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x94c176e8},
uo_npages = 0, uo_refs = 2, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x94c1770c, 0x8146e51c}},
v_size = 55808, v_writesize = 55808, v_iflag = 0, v_vflag = 48,
v_uflag = 0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 7,
v_synclist_slot = 0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x92314df8, tqe_prev =
0x9312eedc}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x9202c010,
tqe_prev = 0x936a64a8},
v_cleanblkhd = {lh_first = 0x94f54d80}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x926d78c0}, v_nclist = {
lh_first = 0x9252ba80}, v_un = {vu_mountedhere = 0x0, vu_socket =
0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_UFS, v_lock = {
rw_owner = 2508602375}, v_data = 0x924cbc40, v_klist = {slh_first =
0x0}}
(gdb) frame 7
#7 0x813706dc in VOP_LOCK (vp=vp@entry=0x948159a0,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
1166 in /home/riz/src/sys/kern/vnode_if.c
(gdb) print *vp
$24 = {v_uobj = {vmobjlock = 0x946fde00, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x948159a8},
uo_npages = 0, uo_refs = 1, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x948159cc, 0x8146e51c}},
v_size = 0, v_writesize = 0, v_iflag = 0, v_vflag = 16, v_uflag = 0,
v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0,
v_mount = 0x94c60008,
v_op = 0x9159ac48, v_freelist = {tqe_next = 0x0, tqe_prev =
0x8160afc0 <vnode_free_list>}, v_freelisthd = 0x0, v_mntvnodes =
{tqe_next = 0x9246d850, tqe_prev = 0x93ea6ce8},
v_cleanblkhd = {lh_first = 0x0}, v_dirtyblkhd = {lh_first = 0x0},
v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist = {lh_first =
0x0}, v_nclist = {lh_first = 0x0},
v_un = {vu_mountedhere = 0x0, vu_socket = 0x0, vu_specnode = 0x0,
vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type = VDIR, v_tag = VT_NULL,
v_lock = {rw_owner = 0},
v_data = 0x952b8278, v_klist = {slh_first = 0x0}}
(gdb) kvm proc 0x91c37120
0x812e9eb8 in mi_switch (l=l@entry=0x91c37120) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x91c37120) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>,
ts@entry=0x9512d4d0, q=q@entry=1, obj=obj@entry=0x92314e9c,
sobj=sobj@entry=0x8153f5ac <rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x92314e9c,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=vp@entry=0x92314df8, flags=flags@entry=2)
at /home/riz/src/sys/kern/vnode_if.c:1166
#6 0x81367a34 in vn_lock (vp=vp@entry=0x92314df8, flags=flags@entry=2)
at /home/riz/src/sys/kern/vfs_vnops.c:1034
#7 0x8127b0f8 in ffs_sync (mp=0x920d3008, waitfor=3, cred=0x91591ec0)
at /home/riz/src/sys/ufs/ffs/ffs_vfsops.c:1882
#8 0x8135bd48 in VFS_SYNC (mp=mp@entry=0x920d3008, a=a@entry=3,
b=<optimized out>) at /home/riz/src/sys/kern/vfs_subr.c:1355
#9 0x8135c004 in sched_sync (arg=<unavailable>) at
/home/riz/src/sys/kern/vfs_subr.c:783
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=vp@entry=0x92314df8, flags=flags@entry=2)
at /home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$25 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x92314e00},
uo_npages = 0, uo_refs = 5, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x92314e24, 0x8146e51c}},
v_size = 2048, v_writesize = 2048, v_iflag = 0, v_vflag = 48, v_uflag
= 0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x93142430, tqe_prev =
0x940c2fbc}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x966c42f0,
tqe_prev = 0x92f3c428},
v_cleanblkhd = {lh_first = 0x94d56328}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x93489880}, v_nclist = {
lh_first = 0x93496380}, v_un = {vu_mountedhere = 0x0, vu_socket =
0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_UFS, v_lock = {
rw_owner = 2507571303}, v_data = 0x92f40198, v_klist = {slh_first =
0x0}}
(gdb) frame 6
#6 0x81367a34 in vn_lock (vp=vp@entry=0x92314df8, flags=flags@entry=2)
at /home/riz/src/sys/kern/vfs_vnops.c:1034
1034 /home/riz/src/sys/kern/vfs_vnops.c: No such file or directory.
(gdb) print *vp
$26 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x92314e00},
uo_npages = 0, uo_refs = 5, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x92314e24, 0x8146e51c}},
v_size = 2048, v_writesize = 2048, v_iflag = 0, v_vflag = 48, v_uflag
= 0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x93142430, tqe_prev =
0x940c2fbc}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x966c42f0,
tqe_prev = 0x92f3c428},
v_cleanblkhd = {lh_first = 0x94d56328}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x93489880}, v_nclist = {
lh_first = 0x93496380}, v_un = {vu_mountedhere = 0x0, vu_socket =
0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_UFS, v_lock = {
rw_owner = 2507571303}, v_data = 0x92f40198, v_klist = {slh_first =
0x0}}
(gdb) kvm proc 0x91596840
0x812e9eb8 in mi_switch (l=l@entry=0x91596840) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x91596840) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812f4dd0 in turnstile_block (ts=<optimized out>, ts@entry=0x0,
q=q@entry=1, obj=obj@entry=0x92314e9c, sobj=sobj@entry=0x8153f5ac
<rw_syncobj>)
at /home/riz/src/sys/kern/kern_turnstile.c:430
#3 0x812e1834 in rw_vector_enter (rw=rw@entry=0x92314e9c,
op=op@entry=RW_WRITER) at /home/riz/src/sys/kern/kern_rwlock.c:387
#4 0x813795f8 in genfs_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/genfs_vnops.c:384
#5 0x813706dc in VOP_LOCK (vp=0x92314df8, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
#6 0x8137a990 in layer_lock (v=<optimized out>) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:733
#7 0x813706dc in VOP_LOCK (vp=vp@entry=0x9436ef20,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
#8 0x81367a34 in vn_lock (vp=vp@entry=0x9436ef20, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
#9 0x81363b34 in vclean (vp=vp@entry=0x9436ef20) at
/home/riz/src/sys/kern/vfs_vnode.c:891
#10 0x81365028 in cleanvnode () at /home/riz/src/sys/kern/vfs_vnode.c:366
#11 0x81365224 in vdrain_thread (cookie=<unavailable>) at
/home/riz/src/sys/kern/vfs_vnode.c:386
(gdb) frame 5
#5 0x813706dc in VOP_LOCK (vp=0x92314df8, flags=<optimized out>) at
/home/riz/src/sys/kern/vnode_if.c:1166
1166 /home/riz/src/sys/kern/vnode_if.c: No such file or directory.
(gdb) print *vp
$27 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x92314e00},
uo_npages = 0, uo_refs = 5, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x0, 0x92314e24, 0x8146e51c}},
v_size = 2048, v_writesize = 2048, v_iflag = 0, v_vflag = 48, v_uflag
= 0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 1, v_synclist_slot =
0, v_mount = 0x920d3008,
v_op = 0x9159a548, v_freelist = {tqe_next = 0x93142430, tqe_prev =
0x940c2fbc}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x966c42f0,
tqe_prev = 0x92f3c428},
v_cleanblkhd = {lh_first = 0x94d56328}, v_dirtyblkhd = {lh_first =
0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 0x0}, v_dnclist =
{lh_first = 0x93489880}, v_nclist = {
lh_first = 0x93496380}, v_un = {vu_mountedhere = 0x0, vu_socket =
0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_UFS, v_lock = {
rw_owner = 2507571303}, v_data = 0x92f40198, v_klist = {slh_first =
0x0}}
(gdb) frame 7
#7 0x813706dc in VOP_LOCK (vp=vp@entry=0x9436ef20,
flags=flags@entry=131074) at /home/riz/src/sys/kern/vnode_if.c:1166
1166 in /home/riz/src/sys/kern/vnode_if.c
(gdb) print *vp
$28 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x9436ef28},
uo_npages = 0, uo_refs = 2, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x95863c00, 0x95863cb8,
0x8146e51c}}, v_size = 0, v_writesize = 0, v_iflag = 1048576,
v_vflag = 16, v_uflag = 0, v_numoutput = 0, v_writecount = 0, v_holdcnt
= 0, v_synclist_slot = 0,
v_mount = 0x94efd008, v_op = 0x9159ac48, v_freelist = {tqe_next =
0x0, tqe_prev = 0x8160afc0 <vnode_free_list>}, v_freelisthd = 0x0,
v_mntvnodes = {tqe_next = 0x0,
tqe_prev = 0x92b81258}, v_cleanblkhd = {lh_first = 0x0},
v_dirtyblkhd = {lh_first = 0x0}, v_synclist = {tqe_next = 0x0, tqe_prev
= 0x0}, v_dnclist = {lh_first = 0x0},
v_nclist = {lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket
= 0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_NULL, v_lock = {
rw_owner = 0}, v_data = 0x9659f760, v_klist = {slh_first = 0x0}}
(gdb) frame 8
#8 0x81367a34 in vn_lock (vp=vp@entry=0x9436ef20, flags=131074) at
/home/riz/src/sys/kern/vfs_vnops.c:1034
1034 /home/riz/src/sys/kern/vfs_vnops.c: No such file or directory.
(gdb) print *vp
$29 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x9436ef28},
uo_npages = 0, uo_refs = 2, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x95863c00, 0x95863cb8,
0x8146e51c}}, v_size = 0, v_writesize = 0, v_iflag = 1048576,
v_vflag = 16, v_uflag = 0, v_numoutput = 0, v_writecount = 0, v_holdcnt
= 0, v_synclist_slot = 0,
v_mount = 0x94efd008, v_op = 0x9159ac48, v_freelist = {tqe_next =
0x0, tqe_prev = 0x8160afc0 <vnode_free_list>}, v_freelisthd = 0x0,
v_mntvnodes = {tqe_next = 0x0,
tqe_prev = 0x92b81258}, v_cleanblkhd = {lh_first = 0x0},
v_dirtyblkhd = {lh_first = 0x0}, v_synclist = {tqe_next = 0x0, tqe_prev
= 0x0}, v_dnclist = {lh_first = 0x0},
v_nclist = {lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket
= 0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_NULL, v_lock = {
rw_owner = 0}, v_data = 0x9659f760, v_klist = {slh_first = 0x0}}
(gdb) kvm proc 0x0000000095863c00
0x812e9eb8 in mi_switch (l=l@entry=0x95863c00) at
/home/riz/src/sys/kern/kern_synch.c:719
719 /home/riz/src/sys/kern/kern_synch.c: No such file or directory.
(gdb) bt
#0 0x812e9eb8 in mi_switch (l=l@entry=0x95863c00) at
/home/riz/src/sys/kern/kern_synch.c:719
#1 0x812e6b9c in sleepq_block (timo=timo@entry=0,
catch_p=catch_p@entry=false) at /home/riz/src/sys/kern/kern_sleepq.c:264
#2 0x812b80c0 in cv_wait (cv=cv@entry=0x9436ef4c, mtx=0x91f3f640) at
/home/riz/src/sys/kern/kern_condvar.c:217
#3 0x81363fc8 in vwait (vp=0x9436ef20, flags=flags@entry=1048576) at
/home/riz/src/sys/kern/vfs_vnode.c:1469
#4 0x813654a8 in vget (vp=vp@entry=0x9436ef20, flags=flags@entry=0,
waitok=waitok@entry=true) at /home/riz/src/sys/kern/vfs_vnode.c:463
#5 0x81365f74 in vcache_get (mp=0x94efd008, key=key@entry=0xa1a399f4,
key_len=key_len@entry=4, vpp=vpp@entry=0xa1a399fc) at
/home/riz/src/sys/kern/vfs_vnode.c:1148
#6 0x81379c74 in layer_node_create (mp=<optimized out>,
lowervp=lowervp@entry=0x92314df8, nvpp=0xa1a39ac4) at
/home/riz/src/sys/miscfs/genfs/layer_subr.c:120
#7 0x8137a478 in layer_lookup (v=0xa1a39a50) at
/home/riz/src/sys/miscfs/genfs/layer_vnops.c:385
#8 0x8136f380 in VOP_LOOKUP (dvp=dvp@entry=0x92b811e0,
vpp=vpp@entry=0xa1a39ac4, cnp=cnp@entry=0xa1a39ad8) at
/home/riz/src/sys/kern/vnode_if.c:119
#9 0x813531f4 in getcwd_scandir (l=0x95863c00, bufp=0x0,
bpp=0xa1a39ac8, uvpp=0xa1a39ac4, lvpp=<synthetic pointer>) at
/home/riz/src/sys/kern/vfs_getcwd.c:136
#10 getcwd_common (lvp=lvp@entry=0x92b811e0, rvp=<optimized out>,
bpp=bpp@entry=0x0, bufp=bufp@entry=0x0, limit=limit@entry=512,
flags=flags@entry=0, l=l@entry=0x95863c00)
at /home/riz/src/sys/kern/vfs_getcwd.c:415
#11 0x8135358c in vn_isunder (lvp=lvp@entry=0x92b811e0, rvp=<optimized
out>, l=l@entry=0x95863c00) at /home/riz/src/sys/kern/vfs_getcwd.c:456
#12 0x813552d4 in lookup_once (state=state@entry=0xa1a39d28,
searchdir=0x92b811e0, newsearchdir_ret=newsearchdir_ret@entry=0xa1a39cb4,
foundobj_ret=foundobj_ret@entry=0xa1a39cb8) at
/home/riz/src/sys/kern/vfs_lookup.c:947
#13 0x813560a8 in namei_oneroot (isnfsd=<optimized out>,
inhibitmagic=<optimized out>, neverfollow=<optimized out>,
state=<optimized out>)
at /home/riz/src/sys/kern/vfs_lookup.c:1215
#14 namei_tryemulroot (state=state@entry=0xa1a39d28,
neverfollow=neverfollow@entry=0, inhibitmagic=inhibitmagic@entry=0,
isnfsd=isnfsd@entry=0)
at /home/riz/src/sys/kern/vfs_lookup.c:1469
#15 0x813571a8 in namei (ndp=ndp@entry=0xa1a39e48) at
/home/riz/src/sys/kern/vfs_lookup.c:1505
#16 0x813683dc in vn_open (ndp=ndp@entry=0xa1a39e48,
fmode=fmode@entry=1, cmode=cmode@entry=420) at
/home/riz/src/sys/kern/vfs_vnops.c:175
#17 0x8135f938 in do_open (l=l@entry=0x95863c00, dvp=0x0, pb=<optimized
out>, open_flags=open_flags@entry=0, open_mode=open_mode@entry=438,
fd=fd@entry=0xa1a39eec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1578
#18 0x8135fa78 in do_sys_openat (l=0x95863c00, fdat=fdat@entry=-100,
path=<optimized out>, flags=0, mode=438, fd=fd@entry=0xa1a39eec)
at /home/riz/src/sys/kern/vfs_syscalls.c:1658
#19 0x8135fb60 in sys_open (l=<optimized out>, uap=<optimized out>,
retval=0xa1a39f18) at /home/riz/src/sys/kern/vfs_syscalls.c:1678
#20 0x81012cc4 in sy_call (rval=0xa1a39f18, uap=<optimized out>,
l=0x95863c00, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:65
#21 sy_invoke (code=5, rval=0xa1a39f18, uap=<optimized out>,
l=0x95863c00, sy=0x8153c384 <sysent+100>) at
/home/riz/src/sys/sys/syscallvar.h:94
#22 syscall (tf=0xa1a39fb0, l=0x95863c00, insn=<optimized out>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:253
#23 0x81012ecc in swi_handler (tf=0xa1a39fb0, tf@entry=<error reading
variable: Register 25 is not available>) at
/home/riz/src/sys/arch/arm/arm/syscall.c:188
(gdb) frame 4
#4 0x813654a8 in vget (vp=vp@entry=0x9436ef20, flags=flags@entry=0,
waitok=waitok@entry=true) at /home/riz/src/sys/kern/vfs_vnode.c:463
463 /home/riz/src/sys/kern/vfs_vnode.c: No such file or directory.
(gdb) print *vp
$30 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x9436ef28},
uo_npages = 0, uo_refs = 2, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x95863c00, 0x95863cb8,
0x8146e51c}}, v_size = 0, v_writesize = 0, v_iflag = 1048576,
v_vflag = 16, v_uflag = 0, v_numoutput = 0, v_writecount = 0, v_holdcnt
= 0, v_synclist_slot = 0,
v_mount = 0x94efd008, v_op = 0x9159ac48, v_freelist = {tqe_next =
0x0, tqe_prev = 0x8160afc0 <vnode_free_list>}, v_freelisthd = 0x0,
v_mntvnodes = {tqe_next = 0x0,
tqe_prev = 0x92b81258}, v_cleanblkhd = {lh_first = 0x0},
v_dirtyblkhd = {lh_first = 0x0}, v_synclist = {tqe_next = 0x0, tqe_prev
= 0x0}, v_dnclist = {lh_first = 0x0},
v_nclist = {lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket
= 0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_NULL, v_lock = {
rw_owner = 0}, v_data = 0x9659f760, v_klist = {slh_first = 0x0}}
(gdb) frame 3
#3 0x81363fc8 in vwait (vp=0x9436ef20, flags=flags@entry=1048576) at
/home/riz/src/sys/kern/vfs_vnode.c:1469
1469 in /home/riz/src/sys/kern/vfs_vnode.c
(gdb) print *vp
$31 = {v_uobj = {vmobjlock = 0x91f3f640, pgops = 0x81423cc0
<uvm_vnodeops>, memq = {tqh_first = 0x0, tqh_last = 0x9436ef28},
uo_npages = 0, uo_refs = 2, rb_tree = {
rbt_root = 0x0, rbt_ops = 0x81423c00 <uvm_page_tree_ops>,
rbt_minmax = {0x0, 0x0}}, uo_ubc = {lh_first = 0x0}}, v_cv = {cv_opaque
= {0x95863c00, 0x95863cb8,
0x8146e51c}}, v_size = 0, v_writesize = 0, v_iflag = 1048576,
v_vflag = 16, v_uflag = 0, v_numoutput = 0, v_writecount = 0, v_holdcnt
= 0, v_synclist_slot = 0,
v_mount = 0x94efd008, v_op = 0x9159ac48, v_freelist = {tqe_next =
0x0, tqe_prev = 0x8160afc0 <vnode_free_list>}, v_freelisthd = 0x0,
v_mntvnodes = {tqe_next = 0x0,
tqe_prev = 0x92b81258}, v_cleanblkhd = {lh_first = 0x0},
v_dirtyblkhd = {lh_first = 0x0}, v_synclist = {tqe_next = 0x0, tqe_prev
= 0x0}, v_dnclist = {lh_first = 0x0},
v_nclist = {lh_first = 0x0}, v_un = {vu_mountedhere = 0x0, vu_socket
= 0x0, vu_specnode = 0x0, vu_fifoinfo = 0x0, vu_ractx = 0x0}, v_type =
VDIR, v_tag = VT_NULL, v_lock = {
rw_owner = 0}, v_data = 0x9659f760, v_klist = {slh_first = 0x0}}
Home |
Main Index |
Thread Index |
Old Index