Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 07:38:15 -0400
From:      Andy Christianson <achristianson@orases.com>
To:        freebsd-bugs@freebsd.org
Subject:   NFS Kernel Panic
Message-ID:  <1208259496.20642.17.camel@r2d2>

next in thread | raw e-mail | index | archive | help
I am using FreeBSD 7.0-RELEASE for AMD64

My server panicked while serving a web page from an NFS share. I am
fairly sure that the panic is related to NFS. See the following
debugging information and a backtrace:

[root@zeta /home/achristianson/crash]#
kgdb /usr/obj/usr/src/sys/GENERIC/kernel.debug vmcore.1
[GDB will not be able to debug user-mode
threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "amd64-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address	= 0x2e0
fault code		= supervisor read data, page not present
instruction pointer	= 0x8:0xffffffff805fd9aa
stack pointer	        = 0x10:0xffffffffb4849a50
frame pointer	        = 0x10:0x1
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 18837 (httpd)
trap number		= 12
panic: page fault
cpuid = 3
Uptime: 4d5h32m56s
Physical memory: 4079 MB
Dumping 530 MB: 515 499 483 467 451 435 419 403 387 371 355 339 323 307
291 275 259 243 227 211 195 179 163 147 131 115 99 83 67 51 35 19 3

#0  doadump () at pcpu.h:194
194	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:194
#1  0x0000000000000004 in ?? ()
#2  0xffffffff80477699 in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:409
#3  0xffffffff80477a9d in panic (fmt=0x104 <Address 0x104 out of
bounds>) at /usr/src/sys/kern/kern_shutdown.c:563
#4  0xffffffff8072ec94 in trap_fatal (frame=0xffffff0003809000,
eva=18446742974256652288) at /usr/src/sys/amd64/amd64/trap.c:724
#5  0xffffffff8072f065 in trap_pfault (frame=0xffffffffb48499a0,
usermode=0) at /usr/src/sys/amd64/amd64/trap.c:641
#6  0xffffffff8072f9a8 in trap (frame=0xffffffffb48499a0)
at /usr/src/sys/amd64/amd64/trap.c:410
#7  0xffffffff8071560e in calltrap ()
at /usr/src/sys/amd64/amd64/exception.S:169
#8  0xffffffff805fd9aa in nfs_advlock (ap=0xffffffffb4849a80)
at /usr/src/sys/nfsclient/nfs_vnops.c:3047
#9  0xffffffff8044b802 in closef (fp=0xffffff0081a3c0f0,
td=0xffffff0003809000) at vnode_if.h:1036
#10 0xffffffff8044bd57 in kern_close (td=0xffffff0003809000, fd=Variable
"fd" is not available.
) at /usr/src/sys/kern/kern_descrip.c:1054
#11 0xffffffff8072f2e7 in syscall (frame=0xffffffffb4849c70)
at /usr/src/sys/amd64/amd64/trap.c:852
#12 0xffffffff8071581b in Xfast_syscall ()
at /usr/src/sys/amd64/amd64/exception.S:290
#13 0x000000080100cd1c in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 



-- 
Andrew Christianson
Orases Consulting Corporation
Interactive Business and Technology Solutions
phone/ 301.694.8991 ext. 100
fax/ 301.694.8993
email/ achristianson@orases.com
http://www.orases.com




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