Date: Thu, 19 Mar 2009 00:59:31 +0100 From: Raphael Becker <rabe@uugrn.org> To: freebsd-stable@freebsd.org Subject: Re: GCC build causes panic: page already inserted Message-ID: <20090318235931.GB95898@ma.sigsys.de> In-Reply-To: <20090318233456.GA95898@ma.sigsys.de> References: <7381363A-9B55-4A3B-99BF-A05B2F879403@airwired.net> <20090318233456.GA95898@ma.sigsys.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 19, 2009 at 12:34:56AM +0100, Raphael Becker wrote: > info.0 says: > Dump header from device /dev/label/TOPSWAP > Architecture: i386 > Architecture Version: 2 > Dump Length: 246185984B (234 MB) > Blocksize: 512 > Dumptime: Sat Mar 14 22:43:46 2009 > Hostname: top.uugrn.org > Magic: FreeBSD Kernel Dump > Version String: FreeBSD 7.1-STABLE #0: Sat Mar 14 20:06:04 CET 2009 > root@top.uugrn.org:/usr/obj/usr/src_RELENG_7/sys/TOP > Panic String: vm_page_insert: page already inserted > Dump Parity: 31664128 > Bounds: 0 > Dump Status: good Some more details ... maybe someone will get somethin interesing from this: [root@top /usr/obj/usr/src_RELENG_7/sys/TOP]# kgdb kernel.debug /var/crash/= vmcore.0 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 condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: panic: vm_page_insert: page already inserted cpuid =3D 1 Uptime: 1h41m26s Physical memory: 2034 MB Dumping 234 MB: 219 203 187 Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0x186a0 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0x186a0 stack pointer =3D 0x28:0xe571da48 frame pointer =3D 0x28:0xe571da68 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 4 (g_down) trap number =3D 12 panic: page fault cpuid =3D 1 171 155 139 123 107 91 75 59 43 27 11 Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from /boot/kernel/geom_mirror.ko.symbols...done. done. Loaded symbols for /boot/kernel/geom_mirror.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/ipfw.ko...Reading symbols from /boot/kernel/ipfw.ko.symbols...done. done. Loaded symbols for /boot/kernel/ipfw.ko Reading symbols from /boot/kernel/logo_saver.ko...Reading symbols from /boot/kernel/logo_saver.ko.symbols...done. done. Loaded symbols for /boot/kernel/logo_saver.ko Reading symbols from /boot/kernel/nullfs.ko...Reading symbols from /boot/kernel/nullfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/nullfs.ko Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from /boot/kernel/fdescfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/fdescfs.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); (kgdb) (kgdb) where #0 doadump () at pcpu.h:196 #1 0xc07d3a87 in boot (howto=3D260) at /usr/src_RELENG_7/sys/kern/kern_shu= tdown.c:418 #2 0xc07d3d59 in panic (fmt=3DVariable "fmt" is not available.) at /usr/sr= c_RELENG_7/sys/kern/kern_shutdown.c:574 #3 0xc0a1d4ca in vm_page_insert (m=3D0xc3735b20, object=3D0xc1461200, pind= ex=3DUnhandled dwarf expression opcode 0x93) at /usr/src_RELENG_7/sys/vm/vm= _page.c:665 #4 0xc0a1da29 in vm_page_alloc (object=3D0xc1461200, pindex=3D5785959, req= =3D546) at /usr/src_RELENG_7/sys/vm/vm_page.c:1171 #5 0xc083bd6b in allocbuf (bp=3D0xc51fe0c8, size=3D16384) at /usr/src_RELE= NG_7/sys/kern/vfs_bio.c:2895 #6 0xc083f62d in getblk (vp=3D0xc58969b4, blkno=3D46287648, size=3D16384, = slpflag=3D0, slptimeo=3D0, flags=3DVariable "flags" is not available.) at /= usr/src_RELENG_7/sys/kern/vfs_bio.c:2666 #7 0xc083ffe4 in breadn (vp=3D0xc58969b4, blkno=3DUnhandled dwarf expressi= on opcode 0x93) at /usr/src_RELENG_7/sys/kern/vfs_bio.c:786 #8 0xc084011c in bread (vp=3D0xc58969b4, blkno=3DUnhandled dwarf expressio= n opcode 0x93) at /usr/src_RELENG_7/sys/kern/vfs_bio.c:734 #9 0xc09edecb in ffs_vgetf (mp=3D0xc5852b40, ino=3D2897024, flags=3D2, vpp= =3D0xe83338e8, ffs_flags=3DVariable "ffs_flags" is not available.) at /usr/= src_RELENG_7/sys/ufs/ffs/ffs_vfsops.c:1477 #10 0xc09ee09e in ffs_vget (mp=3D0xc5852b40, ino=3D2897024, flags=3D2, vpp= =3D0xe83338e8) at /usr/src_RELENG_7/sys/ufs/ffs/ffs_vfsops.c:1379 #11 0xc09= fa44b in ufs_lookup (ap=3D0xe8333930) at /usr/src_RELENG_7/sys/ufs/ufs/ufs_= lookup.c:600 #12 0xc0aeada2 in VOP_CACHEDLOOKUP_APV (vop=3D0xc0c5ff00, a=3D0xe8333930) a= t vnode_if.c:153 #13 0xc084178c in vfs_cache_lookup (ap=3D0xe83339b4) at vnode_if.h:83 #14 0xc0aeca76 in VOP_LOOKUP_APV (vop=3D0xc0c60420, a=3D0xe83339b4) at vnod= e_if.c:99 #15 0xc08481b1 in lookup (ndp=3D0xe8333b7c) at vnode_if.h:57 #16 0xc0848eff in namei (ndp=3D0xe8333b7c) at /usr/src_RELENG_7/sys/kern/vf= s_lookup.c:215 #17 0xc08600c7 in vn_open_cred (ndp=3D0xe8333b7c, flagp=3D0xe8333c78, cmode= =3D0, cred=3D0xc635cb00, fp=3D0xca134804) at /usr/src_RELENG_7/sys/kern/vfs= _vnops.c:188 #18 0xc0860393 in vn_open (ndp=3D0xe8333b7c, flagp=3D0xe8333c78, cmode=3D0,= fp=3D0xca134804) at /usr/src_RELENG_7/sys/kern/vfs_vnops.c:94 #19 0xc085dab7 in kern_open (td=3D0xc7326230, path=3D0x8265910 <Address 0x8= 265910 out of bounds>, pathseg=3DUIO_USERSPACE, flags=3D1, mode=3D0) at /us= r/src_RELENG_7/sys/kern/vfs_syscalls.c:1042 #20 0xc085e020 in open (td=3D0xc7326230, uap=3D0xe8333cfc) at /usr/src_RELE= NG_7/sys/kern/vfs_syscalls.c:1009 #21 0xc0ad6ab5 in syscall (frame=3D0xe8333d38) at /usr/src_RELENG_7/sys/i38= 6/i386/trap.c:1090 #22 0xc0abb830 in Xint0x80_syscall () at /usr/src_RELENG_7/sys/i386/i386/ex= ception.s:255 #23 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) HTH! Raphael PS: I'd need some assistance from here to get more that this out of the vmcore. =20 --=20 Raphael Becker <rabe@uugrn.org> http://rabe.uugrn.org/ GnuPG: E7B2 1D66 3AF2 EDC7 9828 6D7A 9CDA 3E7B 10CA 9F2D =2E........|.........|.........|.........|.........|.........|.........|.. --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFJwYrjnNo+exDKny0RAl79AJ0YLTfWO4W+/do13ua4StcZIhMUOwCbBmcd vGShok8+XFwOH2iiflPsJ7w= =q4v/ -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090318235931.GB95898>