From owner-freebsd-current@FreeBSD.ORG Sat Jun 19 12:11:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 716CB16A4CE for ; Sat, 19 Jun 2004 12:11:48 +0000 (GMT) Received: from imap.univie.ac.at (mail.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CEA043D5A for ; Sat, 19 Jun 2004 12:11:47 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from wireless (adslle.cc.univie.ac.at [131.130.102.11]) by imap.univie.ac.at (8.12.10/8.12.10) with ESMTP id i5JCBU8b1337884; Sat, 19 Jun 2004 14:11:32 +0200 Date: Sat, 19 Jun 2004 14:11:31 +0200 (CEST) From: Lukas Ertl To: current@FreeBSD.org Message-ID: <20040619140831.Q670@korben.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: imap 4248; Body=2 Fuz1=2 cc: obrien@FreeBSD.org Subject: Kernel debugging with gdb6 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 12:11:48 -0000 Hi, I updated a -current box yesterday and installed the gdb6 package. Now I try to debug a kernel crash dump and get this: (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236 #1 0xc04dde7c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:370 #2 0xc04de1a7 in panic (fmt=0xc063ebc0 "%s") at /usr/src/sys/kern/kern_shutdown.c:548 #3 0xc061732a in trap_fatal (frame=0xdb99a818, eva=44) at /usr/src/sys/i386/i386/trap.c:815 #4 0xc0617043 in trap_pfault (frame=0xdb99a818, usermode=0, eva=44) at /usr/src/sys/i386/i386/trap.c:733 #5 0xc0616cc5 in trap (frame= {tf_fs = -1067188200, tf_es = 16, tf_ds = -1066991600, tf_edi = -1032440448, tf_esi = 0, tf_ebp = -610685776, tf_isp = -610686908, tf_ebx = -1030506624, tf_edx = 0, tf_ecx = -1033195047, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1002626949, tf_cs = 8, tf_eflags = 66118, tf_esp = -1032440416, tf_ss = -1030506624}) at /usr/src/sys/i386/i386/trap.c:420 #6 0xc060616a in calltrap () at /usr/src/sys/i386/i386/exception.s:140 #7 0xc0640018 in ?? () #8 0x00000010 in ?? () #9 0xc0670010 in ?? () #10 0xc2763580 in ?? () #11 0x00000000 in ?? () #12 0xdb99acb0 in ?? () #13 0xdb99a844 in ?? () #14 0xc293b780 in ?? () #15 0x00000000 in ?? () #16 0xc26ab1d9 in ?? () #17 0x00000000 in ?? () #18 0x0000000c in ?? () #19 0x00000000 in ?? () #20 0xc43d207b in ?? () #21 0x00000008 in ?? () #22 0x00010246 in ?? () #23 0xc27635a0 in ?? () #24 0xc293b780 in ?? () #25 0xc2763580 in ?? () #26 0x00000078 in ?? () ---Type to continue, or q to quit--- #27 0xc04d5172 in free (addr=0xc2763580, type=0xdf939c60) at /usr/src/sys/kern/kern_malloc.c:342 #28 0xc43d266f in ?? () #29 0xc438da80 in ?? () #30 0xdf939c60 in ?? () #31 0xc43da6e0 in ?? () #32 0xdf939c60 in ?? () #33 0x00000000 in ?? () #34 0xdb99ace8 in ?? () #35 0xc04af346 in g_ctl_req (arg=0xdf939c60, flag=-1002592544) at /usr/src/sys/geom/geom_ctl.c:441 Previous frame identical to this frame (corrupt stack?) cheers, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/