resume and free vnode isn't.

David Gilbert <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Dependably my Dell D800 will suspend, resume and then sometime later
crash with the following epitaph:

panic: getnewvnode: free vnode isn't
at line 738 in file ../../../kern/vfs_subr.c

The crash dump has the trace included below, but I believe the
corruption to be coming from the suspend/resume process not the
filesystem operation that panic's the machine.  The panic will occur a
random amount of time after the suspend/resume ... sometimes many
hours.  The nightly periodic scripts are almost certain to cause it.

(kgdb) bt
#0  doadump () at ../../../kern/kern_shutdown.c:240
#1  0xc054d373 in boot (howto=256) at ../../../kern/kern_shutdown.c:374
#2  0xc054d6f6 in __panic () at ../../../kern/kern_shutdown.c:552
#3  0xc05a75a6 in getnewvnode (tag=0xc06ff62e "ufs", mp=0x0, vops=0x0, vpp=0x0)
    at ../../../kern/vfs_subr.c:787
#4  0xc0632835 in ffs_vget (mp=0xc6341c00, ino=1907789, flags=2, 
    vpp=0xebb438dc) at ../../../ufs/ffs/ffs_vfsops.c:1268
#5  0xc0617310 in ffs_valloc (pvp=0xc8d30820, mode=33188, cred=0xc6be3800, 
    vpp=0xebb438dc) at ../../../ufs/ffs/ffs_alloc.c:861
#6  0xc0641819 in ufs_makeinode (mode=33188, dvp=0xc8d30820, vpp=0xebb43bf0, 
    cnp=0xebb43c04) at ../../../ufs/ufs/ufs_vnops.c:2358
#7  0xc063dd19 in ufs_create (ap=0xebb43a64)
    at ../../../ufs/ufs/ufs_vnops.c:199
#8  0xc0641f38 in ufs_vnoperate (ap=0x0) at ../../../ufs/ufs/ufs_vnops.c:2793
#9  0xc05b4fee in vn_open_cred (ndp=0xebb43bdc, flagp=0xebb43cdc, cmode=420, 
    cred=0xc6be3800, fdidx=0) at vnode_if.h:118
#10 0xc05b4e43 in vn_open (ndp=0x0, flagp=0x0, cmode=0, fdidx=0)
    at ../../../kern/vfs_vnops.c:93
#11 0xc05ae2ee in kern_open (td=0xc6a913f0, path=0x0, pathseg=UIO_USERSPACE, 
    flags=1538, mode=420) at ../../../kern/vfs_syscalls.c:963
#12 0xc05ae210 in open (td=0x0, uap=0x0) at ../../../kern/vfs_syscalls.c:933
#13 0xc06a8eb0 in syscall (frame=
      {tf_fs = 134742063, tf_es = 47, tf_ds = -1078001617, tf_edi = 134774824, tf_esi = 134779776, tf_ebp = -1077941432, tf_isp = -340509324, tf_ebx = 672608492, tf_edx = 134783816, tf_ecx = 0, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 672100911, tf_cs = 31, tf_eflags = 530, tf_esp = -1077941460, tf_ss = 47})
    at ../../../i386/i386/trap.c:1010
#14 0x280f722f in ?? ()
---Can't read userspace from dump, or kernel process---

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       [email protected]                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.