From owner-freebsd-arm@FreeBSD.ORG Tue Nov 5 02:20:00 2013 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E198DF7B for ; Tue, 5 Nov 2013 02:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A82F423EC for ; Tue, 5 Nov 2013 02:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA52K0Na064155 for ; Tue, 5 Nov 2013 02:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA52K0Vu064154; Tue, 5 Nov 2013 02:20:00 GMT (envelope-from gnats) Resent-Date: Tue, 5 Nov 2013 02:20:00 GMT Resent-Message-Id: <201311050220.rA52K0Vu064154@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-arm@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Howard Su Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AB2E8F58 for ; Tue, 5 Nov 2013 02:18:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9943023E3 for ; Tue, 5 Nov 2013 02:18:54 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA52IsiK041534 for ; Tue, 5 Nov 2013 02:18:54 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA52Isds041524; Tue, 5 Nov 2013 02:18:54 GMT (envelope-from nobody) Message-Id: <201311050218.rA52Isds041524@oldred.freebsd.org> Date: Tue, 5 Nov 2013 02:18:54 GMT From: Howard Su To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: arm/183668: Panic when read unalign in ddb X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 02:20:00 -0000 >Number: 183668 >Category: arm >Synopsis: Panic when read unalign in ddb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-arm >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 05 02:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Howard Su >Release: FreeBSD-Current >Organization: >Environment: FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r257039: Thu Oct 24 11:39:07 CET 2013 >Description: when read some memory in DDB unalign, the system will get reset. this is inconsistent with i386 behavior. >How-To-Repeat: Ctrl-Break, enter DDB type 'dump thread 1' >Fix: Index: sys/arm/arm/trap.c =================================================================== --- sys/arm/arm/trap.c (revision 257663) +++ sys/arm/arm/trap.c (working copy) @@ -528,7 +528,8 @@ #ifdef KDB if (debugger_on_panic || kdb_active) - kdb_trap(fsr, 0, tf); + if (kdb_trap(fsr, 0, tf)) + return 0; #endif panic("Fatal abort"); /*NOTREACHED*/ >Release-Note: >Audit-Trail: >Unformatted: