From owner-freebsd-net@FreeBSD.ORG Fri Apr 25 07:20:03 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FB141065674 for ; Fri, 25 Apr 2008 07:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 81DA68FC16 for ; Fri, 25 Apr 2008 07:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3P7K3A7019606 for ; Fri, 25 Apr 2008 07:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3P7K3Jk019605; Fri, 25 Apr 2008 07:20:03 GMT (envelope-from gnats) Date: Fri, 25 Apr 2008 07:20:03 GMT Message-Id: <200804250720.m3P7K3Jk019605@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: misha saf Cc: Subject: Re: misc/123066: kernel trap with ipsec X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: misha saf List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2008 07:20:03 -0000 The following reply was made to PR kern/123066; it has been noted by GNATS. From: misha saf To: Kris Kennaway Cc: Subject: Re: misc/123066: kernel trap with ipsec Date: Fri, 25 Apr 2008 10:59:33 +0400 * Kris Kennaway [Fri, 25 Apr 2008 05:46:54 +0000]: > On Fri, Apr 25, 2008 at 04:13:40AM +0000, Mihail wrote: > > > (kgdb) backtrace > > #0 doadump () at pcpu.h:195 > > #1 0xc075df57 in boot (howto=260) at > /usr/src/sys/kern/kern_shutdown.c:409 > > #2 0xc075e219 in panic (fmt=Variable "fmt" is not available. > > ) at /usr/src/sys/kern/kern_shutdown.c:563 > > #3 0xc0a9766c in trap_fatal (frame=0xc884e934, eva=3621180904) > > at /usr/src/sys/i386/i386/trap.c:899 > > #4 0xc0a978f0 in trap_pfault (frame=0xc884e934, usermode=0, > eva=3621180904) > > at /usr/src/sys/i386/i386/trap.c:812 > > #5 0xc0a9829c in trap (frame=0xc884e934) at > /usr/src/sys/i386/i386/trap.c:490 > > #6 0xc0a7e21b in calltrap () at > /usr/src/sys/i386/i386/exception.s:139 > > #7 0xc0a952f6 in generic_bcopy () at > /usr/src/sys/i386/i386/support.s:498 > > Previous frame inner to this frame (corrupt stack?) > > Unfortunately we need the rest of the stack. Can you either try to > reproduce with DDB in the kernel and obtain a stack trace from there, > or if this is not possible then try recompiling the kernel with -O > instead of -O2 which tends to produce better stack traces. > > Kris > (kgdb) info registers eax 0x15e6c9c0 367446464 ecx 0x1 1 edx 0xfbc 4028 ebx 0x4 4 esp 0xc1c8c300 0xc1c8c300 ebp 0xc884e9d8 0xc884e9d8 esi 0xc1f00c28 -1041232856 edi 0xd7d6d5e8 -673786392 eip 0xc0a952f6 0xc0a952f6 eflags 0x10202 66050 cs 0x20 32 ss 0xc1f00c00 -1041232896 ds 0x28 40 es 0x28 40 fs 0x8 8 gs 0x0 0 (kgdb) x/12xw 0xc1c8c300 0xc1c8c300: 0xcfcecdcc 0xd3d2d1d0 0xd7d6d5d4 0x00000024 0xc1c8c310: 0xdfdedddc 0xe3e2e1e0 0xe7e6e5e4 0xebeae9e8 0xc1c8c320: 0xefeeedfc 0xf3f2f1f0 0xf7f6f5f4 0xfbfaf9f8 That's all needed info ?