NetBSD-Bugs archive

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

Re: kern/38100: Kernel panic while unmounting automounted NFS filesystem



The following reply was made to PR kern/38100; it has been noted by GNATS.

From: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/38100: Kernel panic while unmounting automounted NFS 
filesystem
Date: Sun, 2 Mar 2008 21:35:40 +0000

 On Sun, Feb 24, 2008 at 11:35:01PM +0000, gnats-admin%NetBSD.org@localhost 
wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `kern/38100'.
 > The individual assigned to look at your
 > report is: kern-bug-people. 
 > 
 > >Category:       kern
 > >Responsible:    kern-bug-people
 > >Synopsis:       Kernel panic while unmounting automounted NFS filesystem
 > >Arrival-Date:   Sun Feb 24 23:35:00 +0000 2008
 
 Here is a stack trace:
 
 db> bt
 __kernassert(1477198, 14933c8, 141, 14933f8, 1, 0) at netbsd:__kernassert+0x2c
 nfs_reclaim(186bc00, 6, de268c0, 0, 0, 0) at netbsd:nfs_reclaim+0x180
 VOP_RECLAIM(df03190, 0, 0, de268c0, 0, 0) at netbsd:VOP_RECLAIM+0x1c
 vclean(df03190, 8, de268c0, 14ab7d8, ff, 1000000) at netbsd:vclean+0x198
 vgone(df03190, 0, 0, ffffffffffffffff, 0, 0) at netbsd:vgone+0x14
 nfs_unmount(0, 0, de268c0, 7, df507a0, e0018000) at netbsd:nfs_unmount+0xa4
 VFS_UNMOUNT(df507a0, 0, de268c0, 14ab7d8, df507a0, 0) at 
netbsd:VFS_UNMOUNT+0x10
 dounmount(df507a0, 0, de268c0, df507a0, 0, 0) at netbsd:dounmount+0x88
 sys_unmount(0, df5ddc0, df5de00, 1, 4060b340, 0) at netbsd:sys_unmount+0x108
 syscall_plain(df5ded0, 2, 4093cb2c, 4093cb30, 0, 4093cb2c) at 
netbsd:syscall_plain+0x11c?(40c401a0, 0, 0, 0, 0, 0) at 0x1008da8
 
 Here is the contents of the "struct vnode" ...
 
 (gdb) print *(struct vnode *)0xdf03190
 $1 = {v_uobj = {vmobjlock = {u = {mtxa_owner = 0}}, pgops = 0x13ca888, memq = {
       tqh_first = 0x0, tqh_last = 0xdf031a0}, uo_npages = 0, uo_refs = 1}, 
   v_cv = {cv_wmesg = 0x1492010 "vnode", cv_waiters = 0}, v_size = 0, 
   v_writesize = 0, v_iflag = 2101248, v_vflag = 1, v_uflag = 0, 
   v_numoutput = 0, v_writecount = 0, v_holdcnt = 0, v_synclist_slot = 0, 
   v_mount = 0xdf507a0, v_op = 0x38c9200, v_freelist = {tqe_next = 0x0, 
     tqe_prev = 0x0}, v_freelisthd = 0x0, v_mntvnodes = {tqe_next = 0x0, 
     tqe_prev = 0xdf507b0}, 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_NFS, 
   v_lock = {vl_lock = {rw_owner = 0}, vl_canrecurse = 0, vl_recursecnt = 0}, 
   v_vnlock = 0xdf03270, v_data = 0xde15b00, v_klist = {slh_first = 0x0}}
 
 ... and the "struct nfsnode":
 
 (gdb) print *(struct nfsnode *)0xde15b00
 $3 = {n_gnode = {g_op = 0x13c7da0, g_glock = {rw_owner = 0}, g_dirtygen = 0}, 
   n_size = 1024, n_un1 = {nu_spec = {nspec_mtim = {tv_sec = 0, 
         tv_nsec = 19371938161585048}, nspec_atim = {tv_sec = 0, 
         tv_nsec = 233591104}}, nu_reg = {nreg_pushedlo = 1024, 
       nreg_pushedhi = 19371938161585048, nreg_pushlo = 63747072, 
       nreg_pushhi = 233591104, nreg_commitlock = {u = {
           mtxa_owner = 233591968}}, nreg_commitflags = 0, nreg_error = 0}, 
     nu_dir = {ndir_direof = 1024, ndir_cookieverf = {nfsuquad = {4510380, 
           3569052568}}, ndir_dircache = 0x3ccb400, ndir_dirchain = {
         tqh_first = 0xdec5140, tqh_last = 0xdec54a0}, ndir_nctime = {
         tv_sec = 0, tv_nsec = 0}, ndir_dircachesize = 14}}, n_un2 = {
     nf_silly = 0xcbb5b00, ndir_dirgens = 0xcbb5b00}, n_hash = {le_next = 0x0, 
     le_prev = 0x391df78}, n_fhp = 0xde15bb8, n_vattr = 0xde17ce0, 
   n_vnode = 0xdf03190, n_lockf = 0x0, n_attrstamp = 1204488288, n_mtime = {
     tv_sec = 1200839285, tv_nsec = 663021183}, n_ctime = 0, n_fhsize = 28, 
   n_flag = -32768, n_fh = {fh_generic = {fh_fsid = {__fsid_val = {1245312, 
           -1962475520}}, fh_fid = {fid_len = 3072, fid_reserved = 0, 
         fid_data = 0xde15bc4 "\002"}}, 
     fh_bytes = 
"\000\023\000\200\213\a\000\000\f\000\000\000\002\000\000\000??1", '\0' 
<repeats 43 times>}, n_accstamp = -1, n_accuid = 0, n_accmode = 0, 
   n_accerror = 0, n_rcred = 0xcbc9ec0, n_wcred = 0xcbc9ec0}
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://zhadum.org.uk/
 


Home | Main Index | Thread Index | Old Index