From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 12 19:28:50 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6ED916A424; Mon, 12 Dec 2005 19:28:50 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7BD343D60; Mon, 12 Dec 2005 19:28:46 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 3660099 for multiple; Mon, 12 Dec 2005 14:30:51 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jBCJSTM4012946; Mon, 12 Dec 2005 14:28:35 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 12 Dec 2005 13:24:41 -0500 User-Agent: KMail/1.8.2 References: <1133993394.1426.2.camel@localhost> In-Reply-To: <1133993394.1426.2.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512121324.43169.jhb@freebsd.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Danilo Asara , David Xu Subject: Re: Fatal trap 12: page fault while in kernel mode X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2005 19:28:50 -0000 On Wednesday 07 December 2005 05:09 pm, Danilo Asara wrote: > danilo@resolza [~]$ uname -a > FreeBSD resolza.fastwebnet.it 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri > Nov18 11:19:38 CET > root@resolza.fastwebnet.it:/usr/obj/usr/src/sys/RESOLZA i386 > danilo@resolza [~]$ > > > root@resolza [/usr/crash]# kgdb kernel.debug.0 vmcore.0 > [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 "i386-marcel-freebsd". > > Unread portion of the kernel message buffer: > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x0 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0500411 > stack pointer = 0x28:0xef58fcac > frame pointer = 0x28:0xef58fcdc > 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 = 722 (artsd) > trap number = 12 > panic: page fault > cpuid = 0 > KDB: stack backtrace: > kdb_backtrace(100,c2a83a80,28,ef58fc6c,c) at kdb_backtrace+0x29 > panic(c06b2fec,c06d9f5b,0,fffff,c09b) at panic+0x114 > trap_fatal(ef58fc6c,0,c2a83a80,c2890bb8,c) at trap_fatal+0x2ca > trap_pfault(ef58fc6c,0,0) at trap_pfault+0x1d7 > trap(8,28,28,c2ea9e70,c2a83a80) at trap+0x2fd > calltrap() at calltrap+0x5 > --- trap 0xc, eip = 0xc0500411, esp = 0xef58fcac, ebp = 0xef58fcdc --- > kse_release(c2a83a80,ef58fd04,1,0,200292) at kse_release+0x165 > syscall(3b,3b,3b,80f2100,81) at syscall+0x2bf > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (383, FreeBSD ELF32, kse_release), eip = 0x287d81af, esp = > 0xbf9fef30, ebp = 0xbf9fef8c --- > Uptime: 12h9m20s > Dumping 1023 MB (2 chunks) > chunk 0: 1MB (159 pages) ... ok > chunk 1: 1023MB (261872 pages) 1007 991 975 959 943 927 911 895 879 > 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 > 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 > 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 > > #0 doadump () at pcpu.h:165 > 165 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) where > #0 doadump () at pcpu.h:165 > #1 0xc05132bf in boot (howto=260) > at /usr/src/sys/kern/kern_shutdown.c:399 > #2 0xc0513615 in panic (fmt=0xc06b2fec "%s") > at /usr/src/sys/kern/kern_shutdown.c:555 > #3 0xc068d8ca in trap_fatal (frame=0xef58fc6c, eva=0) > at /usr/src/sys/i386/i386/trap.c:831 > #4 0xc068d5d7 in trap_pfault (frame=0xef58fc6c, usermode=0, eva=0) > at /usr/src/sys/i386/i386/trap.c:742 > #5 0xc068d1ed in trap (frame= > {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1024811408, tf_esi = > -1029162368, tf_ebp = -279380772, tf_isp = -279380840, tf_ebx = > -1026066384, tf_edx = -1029162368, tf_ecx = -1026066303, tf_eax = 0, > tf_trapno = 12, tf_err = 0, tf_eip = -1068497903, tf_cs = 32, tf_eflags > = 2687622, tf_esp = -1036728832, tf_ss = 30}) > at /usr/src/sys/i386/i386/trap.c:432 > #6 0xc067aaca in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #7 0xc0500411 in kse_release (td=0xc2a83a80, uap=0xef58fd04) > at /usr/src/sys/kern/kern_kse.c:428 The problem is here. You can try posting this to threads@FreeBSD.org and see if someone there can help you debug this further. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org