Skip site navigation (1)Skip section navigation (2)
Date:      07 May 2002 06:38:01 -0400
From:      Dan Pelleg <dpelleg+bsd@cs.cmu.edu>
To:        stable@freebsd.org
Subject:   4.5R: page fault - nfs related?
Message-ID:  <u2sd6w8jl9y.fsf@gs166.sp.cs.cmu.edu>

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

 I've been getting the occasional panic on this NFS server. They would
happen once a week or two, and seem to be correlated with heavy NFS
activity. Recovering from such a crash takes a long fsck and creates lots
of pieces in lost+found. It's running 4.5-RELEASE-p3, softupdates, quota.

Last night it happened again, and, for the first time, I finally have a
crash dump I can use. However I'm not sure what to do here. What should I
be looking at?

-- 

  Dan Pelleg



IdlePTD at phsyical address 0x0046c000
initial pcb at physical address 0x003c24c0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc02a795a
stack pointer           = 0x10:0xed6939c4
frame pointer           = 0x10:0xed693a14
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 99 (nfsd)
interrupt mask          = none
trap number             = 12
panic: page fault

syncing disks... 7 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 
giving up on 3 buffers
Uptime: 18d0h54m26s
(da2:ahc1:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 
(da2:ahc1:0:0:0): ILLEGAL REQUEST asc:20,0
(da2:ahc1:0:0:0): Invalid command operation code

#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:474
474             if (dumping++) {
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:474
#1  0xc01aa4eb in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:313
#2  0xc01aa8cc in poweroff_wait (junk=0xc0355d8c, howto=-1070245713)
    at /usr/src/sys/kern/kern_shutdown.c:582
#3  0xc02f882a in trap_fatal (frame=0xed693984, eva=0)
    at /usr/src/sys/i386/i386/trap.c:956
#4  0xc02f84fd in trap_pfault (frame=0xed693984, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:849
#5  0xc02f80e7 in trap (frame={tf_fs = -311885808, tf_es = -749993968, 
      tf_ds = 16, tf_edi = -311935296, tf_esi = -960925048, 
      tf_ebp = -311870956, tf_isp = -311871056, tf_ebx = -956628416, 
      tf_edx = 0, tf_ecx = -959221760, tf_eax = 0, tf_trapno = 12, tf_err = 2, 
      tf_eip = -1070958246, tf_cs = 8, tf_eflags = 66118, tf_esp = -901289984, 
      tf_ss = -287237312}) at /usr/src/sys/i386/i386/trap.c:448
#6  0xc02a795a in dqget (vp=0xeee11b40, id=100, ump=0xc6d45000, type=1, 
    dqp=0xca476848) at /usr/src/sys/ufs/ufs/ufs_quota.c:763
#7  0xc02a6d9f in getinoquota (ip=0xca476800)
    at /usr/src/sys/ufs/ufs/ufs_quota.c:104
#8  0xc02aab94 in ufs_makeinode (mode=33204, dvp=0xef3e5200, vpp=0xed693c60, 
    cnp=0xed693c74) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2168
#9  0xc02a81e8 in ufs_create (ap=0xed693bf8)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:196
#10 0xc02aae9d in ufs_vnoperate (ap=0xed693bf8)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2423
#11 0xc0227ba7 in nfsrv_create (nfsd=0xca669f00, slp=0xc7023700, 
    procp=0xe5b320c0, mrq=0xed693df8) at vnode_if.h:106
#12 0xc023c7e6 in nfssvc_nfsd (nsd=0xed693e58, argp=0x807cc00 "", p=0xe5b320c0)
    at /usr/src/sys/nfs/nfs_syscalls.c:602
#13 0xc023c13b in nfssvc (p=0xe5b320c0, uap=0xed693f80)
    at /usr/src/sys/nfs/nfs_syscalls.c:306
#14 0xc02f8ad9 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 0xc02ed145 in Xint0x80_syscall ()
#16 0x8048135 in ?? ()


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?u2sd6w8jl9y.fsf>