Skip site navigation (1)Skip section navigation (2)
Date:      16 May 2002 12:19:29 -0400
From:      Dan Pelleg <dpelleg+bsd@cs.cmu.edu>
To:        freebsd-stable@freebsd.org, freebsd-fs@freebsd.org
Subject:   repeated crashes with NFS,softupdates,quota,big deletes
Message-ID:  <u2sadr0awvi.fsf@gs166.sp.cs.cmu.edu>

next in thread | raw e-mail | index | archive | help


I'm running an NFS server on 4.5S. I'm getting occasional kernel
panics. Usually they're a week or two apart but in the last 24 hours I've
had two. They seem to be somewhat correlated with big (multiple files,
>10GB total) deletions on the NFS volume in the 12-24 hours before the
crash. I have softupdates and quota on the filesystem. Can anyone guess
what it is, or tell me what's the likelihood of this being solved in 4.6?

FWIW, the recovery fsck gave me:

DIRECTORY foo: CONTAINS EMPTY BLOCKS
UNEXPECTED SOFT UPDATE INCONSISTENCY

and lots of UNREF FILEs. And here's the dump backtrace:


(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:474
#1  0xc01aa687 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:313
#2  0xc01aaa68 in poweroff_wait (junk=0xc0355f2c, howto=-1070245297)
    at /usr/src/sys/kern/kern_shutdown.c:582
#3  0xc02f89ca in trap_fatal (frame=0xed693984, eva=0)
    at /usr/src/sys/i386/i386/trap.c:956
#4  0xc02f869d in trap_pfault (frame=0xed693984, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:849
#5  0xc02f8287 in trap (frame={tf_fs = -311885808, tf_es = -753663984, tf_ds = 16, 
      tf_edi = -312010880, tf_esi = -960925812, tf_ebp = -311870956, 
      tf_isp = -311871056, tf_ebx = -956468224, tf_edx = 0, tf_ecx = -959211520, 
      tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1070957834, tf_cs = 8, 
      tf_eflags = 66118, tf_esp = -931301120, tf_ss = -290617024})
    at /usr/src/sys/i386/i386/trap.c:448
#6  0xc02a7af6 in dqget (vp=0xeead8940, id=204, ump=0xc6d46200, type=0, dqp=0xc87d7944)
    at /usr/src/sys/ufs/ufs/ufs_quota.c:763
#7  0xc02a6f16 in getinoquota (ip=0xc87d7900) at /usr/src/sys/ufs/ufs/ufs_quota.c:95
#8  0xc02aad30 in ufs_makeinode (mode=33204, dvp=0xede33540, vpp=0xed693c60,
    cnp=0xed693c74) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2168
#9  0xc02a8384 in ufs_create (ap=0xed693bf8) at /usr/src/sys/ufs/ufs/ufs_vnops.c:196
#10 0xc02ab039 in ufs_vnoperate (ap=0xed693bf8) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2423
#11 0xc0227d43 in nfsrv_create (nfsd=0xc86bf600, slp=0xc72a8300, procp=0xe5b320c0, 
    mrq=0xed693df8) at vnode_if.h:106
#12 0xc023c982 in nfssvc_nfsd (nsd=0xed693e58, argp=0x807cc00 "", p=0xe5b320c0)
    at /usr/src/sys/nfs/nfs_syscalls.c:602
#13 0xc023c2d7 in nfssvc (p=0xe5b320c0, uap=0xed693f80)
    at /usr/src/sys/nfs/nfs_syscalls.c:306
#14 0xc02f8c79 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, 
      tf_esi = 0, tf_ebp = -1077936788, tf_isp = -311869484, tf_ebx = 4, tf_edx = 1, 
      tf_ecx = -3, tf_eax = 155, tf_trapno = 12, tf_err = 2, tf_eip = 134518288, 
      tf_cs = 31, tf_eflags = 647, tf_esp = -1077937216, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1157
#15 0xc02ed2e5 in Xint0x80_syscall ()
#16 0x8048135 in ?? ()


-- 

  Dan Pelleg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2sadr0awvi.fsf>