From owner-freebsd-stable@FreeBSD.ORG Thu Dec 8 15:45:01 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D4DE16A41F for ; Thu, 8 Dec 2005 15:45:01 +0000 (GMT) (envelope-from kkowalik@uci.agh.edu.pl) Received: from galaxy.agh.edu.pl (galaxy.agh.edu.pl [149.156.96.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F2FC43D6B for ; Thu, 8 Dec 2005 15:44:56 +0000 (GMT) (envelope-from kkowalik@uci.agh.edu.pl) Received: by galaxy.agh.edu.pl (Postfix, from userid 1001) id 8C755101F; Thu, 8 Dec 2005 16:44:53 +0100 (CET) Date: Thu, 8 Dec 2005 16:44:53 +0100 From: Krzysztof Kowalik To: freebsd-stable@freebsd.org Message-ID: <20051208154453.GA4035@uci.agh.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Fatal trap 12: page fault while in kernel mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 15:45:01 -0000 Hello. While copying a few directories from one machine to my new notebook (tar over ssh over wireless connection [if_iwi]), the notebook paniced with the following: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x52535307 fault code = supervisor read, page not present instruction pointer = 0x20:0xc078bc08 stack pointer = 0x28:0xde4ae95c frame pointer = 0x28:0xde4ae984 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 = 761 (bsdtar) trap number = 12 panic: page fault Uptime: 11m20s Dumping 502 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 502MB (128464 pages) 486 470 454 438 422 406 390 374 358 342 326 310 294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6 (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc0638202 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xc0638498 in panic (fmt=0xc084e5a2 "%s") at /usr/src/sys/kern/kern_shutdown.c:555 #3 0xc0807c30 in trap_fatal (frame=0xde4ae91c, eva=1381192455) at /usr/src/sys/i386/i386/trap.c:831 #4 0xc080799b in trap_pfault (frame=0xde4ae91c, usermode=0, eva=1381192455) at /usr/src/sys/i386/i386/trap.c:742 #5 0xc08075d9 in trap (frame= {tf_fs = 8, tf_es = -565575640, tf_ds = -1065943000, tf_edi = -565515340, tf_esi = -1043806720, tf_ebp = -565515900, tf_isp = -565515960, tf_ebx = -1039299392, tf_edx = 170, tf_ecx = 1, tf_eax = 1381191775, tf_trapno = 12, tf_err = 0, tf_eip = -1065829368, tf_cs = 32, tf_eflags = 66051, tf_esp = -1064527936, tf_ss = -565515812}) at /usr/src/sys/i386/i386/trap.c:432 #6 0xc07f6dca in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc078bc08 in ufsdirhash_lookup (ip=0xc20ec318, name=0xc1c45810 "UPCII.TTF", namelen=9, offp=0x5253505f, bpp=0x5253505f, prevoffp=0x0) at /usr/src/sys/ufs/ufs/ufs_dirhash.c:409 #8 0xc078d480 in ufs_lookup (ap=0xde4aea80) at /usr/src/sys/ufs/ufs/ufs_lookup.c:209 #9 0xc0816d64 in VOP_CACHEDLOOKUP_APV (vop=0x5253505f, a=0xaa) at vnode_if.c:150 #10 0xc0682c9e in vfs_cache_lookup (ap=0x5253505f) at vnode_if.h:82 #11 0xc0816cf3 in VOP_LOOKUP_APV (vop=0xc08fbf40, a=0xde4aeb18) at vnode_if.c:99 #12 0xc068722d in lookup (ndp=0xde4aeba0) at vnode_if.h:56 #13 0xc0686b6e in namei (ndp=0xde4aeba0) at /usr/src/sys/kern/vfs_lookup.c:203 #14 0xc0694367 in kern_lstat (td=0xc1fea900, path=0xaa
, pathseg=170, sbp=0xde4aec74) at /usr/src/sys/kern/vfs_syscalls.c:2102 #15 0xc0694303 in lstat (td=0xc1fea900, uap=0xde4aed04) at /usr/src/sys/kern/vfs_syscalls.c:2086 #16 0xc0807f47 in syscall (frame= {tf_fs = 59, tf_es = 4259899, tf_ds = -1078001605, tf_edi = -1077941792, tf_esi = -1077941248, tf_ebp = -1077941560, tf_isp = -565514908, tf_ebx = 134672409, tf_edx = 134586905, tf_ecx = 25, tf_eax = 190, tf_trapno = 0, tf_err = 2, tf_eip = 672111379, tf_cs = 51, tf_eflags = 658, tf_esp = -1077941860, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:976 #17 0xc07f6e1f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #18 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) The notebook runs GENERIC kernel of 6.0-RELEASE. I don't know if it's known issue or not, nor it is reproducible. If dmesg would be helpful, I can post it as well. I will keep the vmcore.0 for a while, too, just in case. -- Krzysztof Kowalik | () ASCII Ribbon Campaign Computer Center, AGH UST | /\ Support plain text e-mail