Hi. I wonder if you think this has something to do with ufs? This is RELENG_7 from Fri Nov 23 13:08:36 Any tips welcome. thanks! (kgdb) [root_at_flash /usr/obj/usr/src/sys/FLASH]# kgdb kernel.debug /var/crash/vmcore.11 [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: panic: vm_page_insert: page already inserted cpuid = 0 Uptime: 22h40m30s Physical memory: 2036 MB Dumping 394 MB: 379 363 347 331 315 299 283 267 251 235 219 203 187 171 155 139 123 107 91 75 59 43 27 11 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0x0000000000000004 in ?? () #2 0xffffffff8045bff9 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #3 0xffffffff8045c3fd in panic (fmt=0x104 <Address 0x104 out of bounds>) at /usr/src/sys/kern/kern_shutdown.c:563 #4 0xffffffff806733a4 in vm_page_insert (m=0xffffff007d4b1dd0, object=0xffffff0021f56340, pindex=0) at /usr/src/sys/vm/vm_page.c:634 #5 0xffffffff806736ee in vm_page_alloc (object=0xffffff0021f56340, pindex=0, req=0) at /usr/src/sys/vm/vm_page.c:1118 #6 0xffffffff804c1919 in allocbuf (bp=0xffffffff9a485ba0, size=16384) at /usr/src/sys/kern/vfs_bio.c:2891 #7 0xffffffff804c4e95 in getblk (vp=0xffffff00255a99b0, blkno=0, size=16384, slpflag=0, slptimeo=0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/vfs_bio.c:2662 #8 0xffffffff80630969 in ffs_balloc_ufs2 (vp=0xffffff00255a99b0, startoffset=Variable "startoffset" is not available. ) at /usr/src/sys/ufs/ffs/ffs_balloc.c:676 #9 0xffffffff8064c9f5 in ffs_write (ap=0xffffffffaeea5a10) at /usr/src/sys/ufs/ffs/ffs_vnops.c:720 #10 0xffffffff807212b5 in VOP_WRITE_APV (vop=0xffffffff80990b00, a=0xffffffffaeea5a10) at vnode_if.c:691 #11 0xffffffff804e6961 in vn_write (fp=0xffffff0001b0b618, uio=0xffffffffaeea5b00, active_cred=Variable "active_cred" is not available. ) at vnode_if.h:373 #12 0xffffffff80491b08 in dofilewrite (td=0xffffff003b5d7350, fd=4, fp=0xffffff0001b0b618, auio=0xffffffffaeea5b00, offset=Variable "offset" is not available. ) at file.h:254 #13 0xffffffff80491e0e in kern_writev (td=0xffffff003b5d7350, fd=4, auio=0xffffffffaeea5b00) at /usr/src/sys/kern/sys_generic.c:401 #14 0xffffffff80491e8c in write (td=0x0, uap=0x0) at /usr/src/sys/kern/sys_generic.c:317 #15 0xffffffff806df5f7 in syscall (frame=0xffffffffaeea5c70) at /usr/src/sys/amd64/amd64/trap.c:825 #16 0xffffffff806c5b6b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:290 #17 0x0000000800a6771c in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) f 9 #9 0xffffffff8064c9f5 in ffs_write (ap=0xffffffffaeea5a10) at /usr/src/sys/ufs/ffs/ffs_vnops.c:720 720 error = UFS_BALLOC(vp, uio->uio_offset, xfersize, (kgdb) l 715 if (fs->fs_bsize > xfersize) 716 flags |= BA_CLRBUF; 717 else 718 flags &= ~BA_CLRBUF; 719 /* XXX is uio->uio_offset the right thing here? */ 720 error = UFS_BALLOC(vp, uio->uio_offset, xfersize, 721 ap->a_cred, flags, &bp); 722 if (error != 0) 723 break; 724 /* -- Phillip N. <pneumann_at_gmail.com>Received on Sat Nov 24 2007 - 18:41:18 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC