From owner-freebsd-stable@FreeBSD.ORG Thu Mar 23 18:32:42 2006 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 D072B16A425 for ; Thu, 23 Mar 2006 18:32:42 +0000 (UTC) (envelope-from db@db.net) Received: from heceta.db.net (heceta.db.net [142.46.199.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 372D143D7B for ; Thu, 23 Mar 2006 18:32:31 +0000 (GMT) (envelope-from db@db.net) Received: from heceta.db.net ([142.46.199.182] helo=localhost ident=mailnull) by heceta.db.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FMUbl-0007a2-EO; Thu, 23 Mar 2006 13:32:29 -0500 Received: from localhost.dbn ([127.0.0.1] helo=night.db.net) by night.db.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FMUg8-000Cgh-Tr; Thu, 23 Mar 2006 13:37:01 -0500 Received: (from db@localhost) by night.db.net (8.13.4/8.13.4/Submit) id k2NIaxIG048774; Thu, 23 Mar 2006 13:36:59 -0500 (EST) (envelope-from db@night.db.net) Date: Thu, 23 Mar 2006 13:36:59 -0500 From: Diane Bruce To: Vlad Message-ID: <20060323183659.GA48702@night.db.net> References: <20060317173651.GA27314@xor.obsecurity.org> <20060317212755.GC38277@nickel.oss.ntelos.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: Fatal trap 12: page fault while in kernel mode / current process=12 (swi1: net) 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, 23 Mar 2006 18:32:42 -0000 I have a similar crash from 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Sun Mar 19 13:28: On Fri, Mar 17, 2006 at 09:01:05PM -0600, Vlad wrote: i > Ok, thanks for Joe's hint I was able to get stuff captured: > > # kgdb kernel.debug /var/crash/vmcore.0 ... > #9 0xffffffff8037ee2b in calltrap () at ../../../amd64/amd64/exception.S:168 > #10 0xffffffff8026d5f6 in propagate_priority (td=0xffffff003a5e94c0) > at ../../../kern/subr_turnstile.c:233 > #11 0xffffffff8026de2f in turnstile_wait (lock=0xffffffff805710c0, > owner=0x0) at ../../../kern/subr_turnstile.c:628 > #12 0xffffffff8023b4a9 in _mtx_lock_sleep (m=0xffffffff805710c0, > tid=18446742975234022368, opts=180, > file=0xfffffffe
, My panic. kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x808080f4 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0513ff5 stack pointer = 0x28:0xda6e4c0c frame pointer = 0x28:0xda6e4c10 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 3984 (sh) [thread pid 3984 tid 100242 ] Stopped at turnstile_setowner+0xd: movl 0x74(%ecx),%eax db> bt Tracing pid 3984 tid 100242 td 0xc41fb780 turnstile_setowner(c41fe840,80808080,c07a5c58,c079f3e0,c41fb780) at turnstile_se towner+0xd turnstile_wait(c079f3e0,80808080) at turnstile_wait+0xa5 _mtx_lock_sleep(c079f3e0,c41fb780,0,c0674893,25e) at _mtx_lock_sleep+0xc4 _mtx_lock_flags(c079f3e0,0,c0674893,25e,c44b37f8) at _mtx_lock_flags+0x30 fork1(c41fb780,14,0,da6e4cd4,c41fb780) at fork1+0xb2a fork(c41fb780,da6e4d04,0,0,246) at fork+0x18 syscall(3b,3b,3b,0,8068000) at syscall+0x25f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (2, FreeBSD ELF32, fork), eip = 0x2813ca33, esp = 0xbfbfe5ec, ebp = 0xbfbfe608 - -- - db@db.net http://www.db.net/~db