From owner-freebsd-hackers Fri Aug 21 08:25:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA20875 for freebsd-hackers-outgoing; Fri, 21 Aug 1998 08:25:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from indigo.ie (ts02-088.dublin.indigo.ie [194.125.134.218]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA20858 for ; Fri, 21 Aug 1998 08:25:13 -0700 (PDT) (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id QAA01819 for freebsd-hackers@freebsd.org; Fri, 21 Aug 1998 16:19:01 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199808211519.QAA01819@indigo.ie> Date: Fri, 21 Aug 1998 16:18:58 +0000 Reply-To: rotel@indigo.ie X-Files: The truth is out there X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: freebsd-hackers@FreeBSD.ORG Subject: Generating backtrace from kernel panic Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG A 2.2.7-RELEASE machine recently paniced on me, I had dumpon/savecore enabled but hadn't built the kernel with debugging symbols, so I rm'd *.o in compile, added -g to COPTFLAGS and remade the kernel, but I still can't get a backtrace: (kgdb) symbol-file /usr/src/stable/src/sys/compile/GINSENG/kernel Reading symbols from /usr/src/stable/src/sys/compile/GINSENG/kernel...done. (kgdb) exec-file kernel.1 (kgdb) core-file vmcore.1 IdlePTD 1e5000 current pcb at 1c6d98 panic: page fault #0 boot (howto=Cannot access memory at address 0xefbffcb4. ) at ../../kern/kern_shutdown.c:268 268 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=Cannot access memory at address 0xefbffcb4. ) at ../../kern/kern_shutdown.c:268 Cannot access memory at address 0xefbffcb0. (kgdb) x/a $ebp + 4 0xefbffcb0: Cannot access memory at address 0xefbffcb0. (kgdb) x/4i boot 0xf0119750 : pushl %ebp 0xf0119751 : movl %esp,%ebp 0xf0119753 : pushl %edi 0xf0119754 : pushl %esi As you can see it was not compiled with -fomit-frame-pointer. Is there anything else I can try? Niall -- Niall Smart, rotel@indigo.ie. Amaze your friends and annoy your enemies: echo '#define if(x) if (!(x))' >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message