kern/153847: [nfs] [panic] Kernel panic from incorrect m_free in nfs_getattr

Martin Simmons martin at lispworks.com
Wed Aug 24 14:50:13 UTC 2011


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

From: Martin Simmons <martin at lispworks.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: kern/153847: [nfs] [panic] Kernel panic from incorrect m_free in nfs_getattr
Date: Wed, 24 Aug 2011 15:37:31 +0100

 FTR, I just got this again with the latest 7.4 kernel:
 
 FreeBSD 7.4-RELEASE #0: Thu Feb 17 03:51:56 UTC 2011
 
 Unread portion of the kernel message buffer:
 <6>nfs server pid947 at greig:/sp: is alive again
 
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 1; apic id = 01
 fault virtual address	= 0x819
 fault code		= supervisor read, page not present
 instruction pointer	= 0x20:0xc086fea0
 stack pointer	        = 0x28:0xc53c9824
 frame pointer	        = 0x28:0xc53c9834
 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		= 19529 (ls)
 trap number		= 12
 panic: page fault
 cpuid = 1
 Uptime: 6d22h30m27s
 Physical memory: 2035 MB
 Dumping 257 MB: 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2
 
 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/acpi.ko
 #0  doadump () at pcpu.h:197
 197	pcpu.h: No such file or directory.
 	in pcpu.h
 (kgdb) where
 #0  doadump () at pcpu.h:197
 #1  0xc081c693 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:421
 #2  0xc081c967 in panic (fmt=Variable "fmt" is not available.
 ) at /usr/src/sys/kern/kern_shutdown.c:576
 #3  0xc0b29a0c in trap_fatal (frame=0xc53c97e4, eva=2073)
     at /usr/src/sys/i386/i386/trap.c:950
 #4  0xc0b29c90 in trap_pfault (frame=0xc53c97e4, usermode=0, eva=2073)
     at /usr/src/sys/i386/i386/trap.c:863
 #5  0xc0b2a66c in trap (frame=0xc53c97e4) at /usr/src/sys/i386/i386/trap.c:541
 #6  0xc0b0cf8b in calltrap () at /usr/src/sys/i386/i386/exception.s:166
 #7  0xc086fea0 in m_freem (mb=0x819) at /usr/src/sys/kern/uipc_mbuf.c:162
 #8  0xc09c8c95 in nfs_getattr (ap=0xc53c9968)
     at /usr/src/sys/nfsclient/nfs_vnops.c:664
 #9  0xc0b3f102 in VOP_GETATTR_APV (vop=0xc0cb6f80, a=0xc53c9968)
     at vnode_if.c:530
 #10 0xc09cb445 in nfs_lookup (ap=0xc53c9a90) at vnode_if.h:286
 #11 0xc0b40b06 in VOP_LOOKUP_APV (vop=0xc0cb6f80, a=0xc53c9a90)
     at vnode_if.c:99
 #12 0xc089685b in lookup (ndp=0xc53c9ba8) at vnode_if.h:57
 #13 0xc08976de in namei (ndp=0xc53c9ba8) at /usr/src/sys/kern/vfs_lookup.c:234
 #14 0xc08a58e4 in kern_stat (td=0xc5c396c0, 
     path=0x28212088 <Address 0x28212088 out of bounds>, 
     pathseg=UIO_USERSPACE, sbp=0xc53c9c18)
     at /usr/src/sys/kern/vfs_syscalls.c:2141
 #15 0xc08a5acf in stat (td=0xc5c396c0, uap=0xc53c9cfc)
     at /usr/src/sys/kern/vfs_syscalls.c:2125
 #16 0xc0b29fe5 in syscall (frame=0xc53c9d38)
     at /usr/src/sys/i386/i386/trap.c:1101
 #17 0xc0b0cff0 in Xint0x80_syscall ()
     at /usr/src/sys/i386/i386/exception.s:262
 #18 0x00000033 in ?? ()


More information about the freebsd-fs mailing list