From owner-cvs-src@FreeBSD.ORG Fri Dec 23 13:05:30 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C51716A41F; Fri, 23 Dec 2005 13:05:30 +0000 (GMT) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A195243D45; Fri, 23 Dec 2005 13:05:29 +0000 (GMT) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBND5SHG017731; Fri, 23 Dec 2005 13:05:28 GMT (envelope-from grehan@repoman.freebsd.org) Received: (from grehan@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBND5Sx4017730; Fri, 23 Dec 2005 13:05:28 GMT (envelope-from grehan) Message-Id: <200512231305.jBND5Sx4017730@repoman.freebsd.org> From: Peter Grehan Date: Fri, 23 Dec 2005 13:05:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/powerpc db_trace.c trap_subr.S X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 13:05:30 -0000 grehan 2005-12-23 13:05:28 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc db_trace.c trap_subr.S Log: Mark the return address of the call to ast() in the generic trap handling code so the stack trace unwinders don't start trying to go into user-space. Found by trying to create core dumps with a KTR_COMPILE/KTR_GEOM kernel, which results in a stack_save() call in the ast() coredump path - this created a panic, and then calling 'trace' in ddb resulted in the black screen of death after printing out most of the backtrace. Revision Changes Path 1.12 +9 -5 src/sys/powerpc/powerpc/db_trace.c 1.16 +2 -0 src/sys/powerpc/powerpc/trap_subr.S