tech-kern archive

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

Re: panic due to lost vnode flag



bouyer%antioche.eu.org@localhost said:
> Could you print the vnode when this happens again ?

Just got hit:
The backtrace is as usual:
#9  0xc04580bd in panic (fmt=0xc06ee87c "kernel %sassertion \"%s\" failed:
file \"%s\", line %d")
    at ../../../../kern/subr_prf.c:293
#10 0xc05a03f9 in __kernassert (t=0xc067cbaa "diagnostic ",
    f=0xc0690ef3 "../../../../kern/exec_subr.c", l=162, e=0xc0690edd "vp->
v_iflag & VI_TEXT")
    at ../../../../../../lib/libkern/__assert.c:50
#11 0xc021367e in vmcmd_map_pagedvn (l=0xe65be5a0, cmd=0xe699a204)
    at ../../../../kern/exec_subr.c:162
#12 0xc0303977 in execve1 (l=0xe65be5a0, path=0xbb97a824 <Address 0xbb97a824
out of bounds>,
    args=0xbb97a8b4, envs=0xbb97a8cc, fetch_element=0xc0302d6e
<execve_fetch_element>)
    at ../../../../kern/kern_exec.c:802
#13 0xc03046a4 in sys_execve (l=0xe65be5a0, uap=0xe7435d00, retval=0xe7435d28)
    at ../../../../kern/kern_exec.c:435
#14 0xc046d7e6 in syscall (frame=0xe7435d48) at ../../../../sys/syscallvar.h:61

The vnode is:
(gdb) print *vp
$1 = {v_uobj = {vmobjlock = {u = {mtxa_owner = 0x0}}, pgops = 0xc0673928, memq
= {
      tqh_first = 0xc1a80590, tqh_last = 0xc1a86154}, uo_npages = 0x6, uo_refs
= 0x4, rb_tree = {
      rbt_root = 0xc1a883d8, rbt_ops = 0xc0673780, rbt_minmax = {0xc1a80590,
0xc1a86140}}},
  v_cv = {cv_opaque = {0x0, 0xcc55be8c, 0xc06e8dc2}}, v_size = 0x6c1c,
v_writesize = 0x6c1c,
  v_iflag = 0x0, v_vflag = 0x30, v_uflag = 0x0, v_numoutput = 0x0,
v_writecount = 0x0,
  v_holdcnt = 0x1, v_synclist_slot = 0x0, v_mount = 0xcc234004, v_op =
0xcb30e0d4, v_freelist = {
    tqe_next = 0xe8f5f00c, tqe_prev = 0xcb8cb628}, v_freelisthd = 0x0,
v_mntvnodes = {
    tqe_next = 0xcc55bdac, tqe_prev = 0xcc54f1e4}, 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 = 0xe873c100}, v_un =
{vu_mountedhere = 0xcc5357d0,
    vu_socket = 0xcc5357d0, vu_specnode = 0xcc5357d0, vu_fifoinfo = 0xcc5357d0,
    vu_ractx = 0xcc5357d0}, v_type = VREG, v_tag = VT_UFS, v_lock = {vl_lock =
{rw_owner = 0x0},
    vl_canrecurse = 0x0, vl_recursecnt = 0x0}, v_vnlock = 0xcc55bf04, v_data =
0xcc55ce8c,
  v_klist = {slh_first = 0x0}}

I still have the kernel and the crashdump around -- tell me if you need
more data.

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index