NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/39929: NetBSD 5.0_BETA kernel panics when trying to access



On Sun, Nov 30, 2008 at 10:17:45AM +0100, Juergen Hannken-Illjes wrote:
>  >  (gdb) print *vp->v_mount
>  
>  Could you "print *vp" and "print *vp->v_un.vu_specnode" as well?

sure!

(gdb) print *vp 
$1 = {v_uobj = {vmobjlock = {u = {mtxa_owner = 0}}, pgops = 0xc08d19e0, 
memq = {tqh_first = 0xc1048608, 
      tqh_last = 0xc179ef04}, uo_npages = 16384, uo_refs = 1, rb_tree = 
{rbt_root = 0xc1c66f38, 
      rbt_ops = 0xc08d18fc, rbt_minmax = {0xc1048608, 0xc1d79df8}}}, v_cv = 
{cv_opaque = {0x0, 0xcf9c5764}, 
    cv_wmesg = 0xc093185f "vnode"}, v_size = 67108864, v_writesize = 
67108864, v_iflag = 0, v_vflag = 48, 
  v_uflag = 0, v_numoutput = 0, v_writecount = 0, v_holdcnt = 10, 
v_synclist_slot = 31, v_mount = 0xcc5ef698, 
  v_op = 0xc204ba00, v_freelist = {tqe_next = 0xcff577f8, tqe_prev = 
0xd154c62c}, v_freelisthd = 0x0, 
  v_mntvnodes = {tqe_next = 0xe2ace2f0, tqe_prev = 0xd9c12ed4}, 
v_cleanblkhd = {lh_first = 0xc57f3d8c}, 
  v_dirtyblkhd = {lh_first = 0x0}, v_synclist = {tqe_next = 0x0, tqe_prev = 
0xc20458f8}, v_dnclist = {
    lh_first = 0x0}, v_nclist = {lh_first = 0xcd344900}, v_un = 
{vu_mountedhere = 0xccfe4870, 
    vu_socket = 0xccfe4870, vu_specnode = 0xccfe4870, vu_fifoinfo = 
0xccfe4870, vu_ractx = 0xccfe4870}, 
  v_type = VREG, v_tag = VT_UFS, v_lock = {vl_lock = {rw_owner = 16}, 
vl_canrecurse = 0, vl_recursecnt = 0}, 
  v_vnlock = 0xcf9c57dc, v_data = 0xd653fe38, v_klist = {slh_first = 0x0}}

(gdb) print *vp->v_un.vu_specnode
$2 = {sn_next = 0x1, sn_dev = 0x4000000, sn_opencnt = 0, sn_rdev = 524288, 
sn_gone = false}

Cheers,
Reinoud



Home | Main Index | Thread Index | Old Index