Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 12:53:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 219935] Kernel panic in getnewvnode (possibly ZFS related)
Message-ID:  <bug-219935-8-XNkR7bskre@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219935-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219935-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219935

--- Comment #9 from Raimo Niskanen <raimo+freebsd@erix.ericsson.se> ---
Yes, well.  It is so seldom I use gdb so I am a noob every time.  [0] was a
misunderstanding with no harm in this case...

(kgdb) p *$7.nc_dvp=20
$17 =3D {
  v_tag =3D 0xffffffff81af1c7b "zfs",=20
  v_op =3D 0xffffffff81b048e0,=20
  v_data =3D 0xfffff80256a1a2e0,=20
  v_mount =3D 0xfffff8002cfae660,=20
  v_nmntvnodes =3D {
    tqe_next =3D 0xfffff80023a5a588,=20
    tqe_prev =3D 0xfffff8007ae3ad08
  },=20
  v_un =3D {
    vu_mount =3D 0x0,=20
    vu_socket =3D 0x0,=20
    vu_cdev =3D 0x0,=20
    vu_fifoinfo =3D 0x0
  },=20
  v_hashlist =3D {
    le_next =3D 0x0,=20
    le_prev =3D 0x0
  },=20
  v_cache_src =3D {
    lh_first =3D 0xfffff800178c6a80
  },=20
  v_cache_dst =3D {
    tqh_first =3D 0xfffff801cce59cb0,=20
    tqh_last =3D 0xfffff801cce59cd0
  },=20
  v_cache_dd =3D 0xfffff801cce59cb0,=20
  v_lock =3D {
    lock_object =3D {
      lo_name =3D 0xffffffff81af1c7b "zfs",=20
      lo_flags =3D 117112832,=20
      lo_data =3D 0,=20
      lo_witness =3D 0x0
    },=20
    lk_lock =3D 1,=20
    lk_exslpfail =3D 0,=20
    lk_timo =3D 51,=20
    lk_pri =3D 96
  },=20
  v_interlock =3D {
    lock_object =3D {
      lo_name =3D 0xffffffff80fe4d4c "vnode interlock",=20
      lo_flags =3D 16973824,=20
      lo_data =3D 0,=20
      lo_witness =3D 0x0
    },=20
    mtx_lock =3D 4
  },=20
  v_vnlock =3D 0xfffff802cb6899a0,=20
  v_actfreelist =3D {
    tqe_next =3D 0xfffff80256787760,=20
    tqe_prev =3D 0xfffff802f39e2820
  },=20
  v_bufobj =3D {
    bo_lock =3D {
      lock_object =3D {
        lo_name =3D 0xffffffff80fe4d5c "bufobj interlock",=20
        lo_flags =3D 86179840,=20
        lo_data =3D 0,=20
        lo_witness =3D 0x0
      },=20
      rw_lock =3D 1
    },=20
    bo_ops =3D 0xffffffff814b7380,=20
    bo_object =3D 0xfffff801cc3e1500,=20
    bo_synclist =3D {
      le_next =3D 0x0,=20
      le_prev =3D 0x0
    },=20
    bo_private =3D 0xfffff802cb689938,=20
    __bo_vnode =3D 0xfffff802cb689938,=20
    bo_clean =3D {
      bv_hd =3D {
        tqh_first =3D 0x0,=20
        tqh_last =3D 0xfffff802cb689a58
      },=20
      bv_root =3D {
        pt_root =3D 0
      },=20
      bv_cnt =3D 0
    },=20
    bo_dirty =3D {
      bv_hd =3D {
        tqh_first =3D 0x0,=20
        tqh_last =3D 0xfffff802cb689a78
      },=20
      bv_root =3D {
        pt_root =3D 0
      },=20
      bv_cnt =3D 0
    },=20
    bo_numoutput =3D 0,=20
    bo_flag =3D 0,=20
    bo_bsize =3D 131072
  },=20
  v_pollinfo =3D 0x0,=20
  v_label =3D 0x0,=20
  v_lockf =3D 0x0,=20
  v_rl =3D {
    rl_waiters =3D {
      tqh_first =3D 0x0,=20
      tqh_last =3D 0xfffff802cb689ac0
    },=20
    rl_currdep =3D 0x0
  },=20
  v_cstart =3D 0,=20
  v_lasta =3D 0,=20
  v_lastw =3D 0,=20
  v_clen =3D 0,=20
  v_holdcnt =3D 1,=20
  v_usecount =3D 0,=20
  v_iflag =3D 512,=20
  v_vflag =3D 0,=20
  v_writecount =3D 0,=20
  v_hash =3D 111896,=20
  v_type =3D VDIR
}

(kgdb) p *vp->v_nmntvnodes.tqe_next
$18 =3D {
  v_tag =3D 0xffffffff81af1c7b "zfs",=20
  v_op =3D 0xffffffff81b048e0,=20
  v_data =3D 0xfffff801181e4450,=20
  v_mount =3D 0xfffff8002cfae660,=20
  v_nmntvnodes =3D {
    tqe_next =3D 0xfffff8030f9a3938,=20
    tqe_prev =3D 0xfffff802f3fc93d0
  },=20
  v_un =3D {
    vu_mount =3D 0x0,=20
    vu_socket =3D 0x0,=20
    vu_cdev =3D 0x0,=20
    vu_fifoinfo =3D 0x0
  },=20
  v_hashlist =3D {
    le_next =3D 0x0,=20
    le_prev =3D 0x0
  },=20
  v_cache_src =3D {
    lh_first =3D 0xfffff801185a1690
  },=20
  v_cache_dst =3D {
    tqh_first =3D 0xfffff8011865a4d0,=20
    tqh_last =3D 0xfffff8011865a4f0
  },=20
  v_cache_dd =3D 0xfffff8011865a4d0,=20
  v_lock =3D {
    lock_object =3D {
      lo_name =3D 0xffffffff81af1c7b "zfs",=20
      lo_flags =3D 117112832,=20
      lo_data =3D 0,=20
      lo_witness =3D 0x0
    },=20
    lk_lock =3D 1,=20
    lk_exslpfail =3D 0,=20
    lk_timo =3D 51,=20
    lk_pri =3D 96
  },=20
  v_interlock =3D {
    lock_object =3D {
      lo_name =3D 0xffffffff80fe4d4c "vnode interlock",=20
      lo_flags =3D 16973824,=20
      lo_data =3D 0,=20
      lo_witness =3D 0x0
    },=20
    mtx_lock =3D 4
  },=20
  v_vnlock =3D 0xfffff801eda4b9a0,=20
  v_actfreelist =3D {
    tqe_next =3D 0xfffff8001f187000,=20
    tqe_prev =3D 0xfffff8007e4309f8
  },=20
  v_bufobj =3D {
    bo_lock =3D {
      lock_object =3D {
        lo_name =3D 0xffffffff80fe4d5c "bufobj interlock",=20
        lo_flags =3D 86179840,=20
        lo_data =3D 0,=20
        lo_witness =3D 0x0
      },=20
      rw_lock =3D 1
    },=20
    bo_ops =3D 0xffffffff814b7380,=20
    bo_object =3D 0xfffff80059ffc000,=20
    bo_synclist =3D {
      le_next =3D 0x0,=20
      le_prev =3D 0x0
    },=20
    bo_private =3D 0xfffff801eda4b938,=20
    __bo_vnode =3D 0xfffff801eda4b938,=20
    bo_clean =3D {
      bv_hd =3D {
        tqh_first =3D 0x0,=20
        tqh_last =3D 0xfffff801eda4ba58
      },=20
      bv_root =3D {
        pt_root =3D 0
      },=20
      bv_cnt =3D 0
    },=20
    bo_dirty =3D {
      bv_hd =3D {
        tqh_first =3D 0x0,=20
        tqh_last =3D 0xfffff801eda4ba78
      },=20
      bv_root =3D {
        pt_root =3D 0
      },=20
      bv_cnt =3D 0
    },=20
    bo_numoutput =3D 0,=20
    bo_flag =3D 0,=20
    bo_bsize =3D 131072
  },=20
  v_pollinfo =3D 0x0,=20
  v_label =3D 0x0,=20
  v_lockf =3D 0x0,=20
  v_rl =3D {
    rl_waiters =3D {
      tqh_first =3D 0x0,=20
      tqh_last =3D 0xfffff801eda4bac0
    },=20
    rl_currdep =3D 0x0
  },=20
  v_cstart =3D 0,=20
  v_lasta =3D 0,=20
  v_lastw =3D 0,=20
  v_clen =3D 0,=20
  v_holdcnt =3D 1,=20
  v_usecount =3D 0,=20
  v_iflag =3D 512,=20
  v_vflag =3D 0,=20
  v_writecount =3D 0,=20
  v_hash =3D 143216,=20
  v_type =3D VDIR
}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219935-8-XNkR7bskre>