From owner-freebsd-arm@FreeBSD.ORG Thu Aug 29 17:17:22 2013 Return-Path: Delivered-To: freebsd-arm@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 7C99A7A2 for ; Thu, 29 Aug 2013 17:17:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x230.google.com (mail-qc0-x230.google.com [IPv6:2607:f8b0:400d:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37C912966 for ; Thu, 29 Aug 2013 17:17:22 +0000 (UTC) Received: by mail-qc0-f176.google.com with SMTP id u20so323599qcx.7 for ; Thu, 29 Aug 2013 10:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=iW4wxZTxmBNR9i53hknzYUaeZ8Yk/Zz+UFdEr2UK9aA=; b=zB0KWbl5On+zgni0TF2aY4hTIWD1Ku+XBFOy7E1jLab+x7qUE1nWOC8kNVNHYUNhgq nN3NWz+n9dv3xvDcoXle4bNG5uj+IvkYv8HgHxQknHOzPeQBl0ZxRWx8sbeXtIvJCPBd kxyO4pWE34U0prg/5xTdtoX67Vaxsw5hwasZK42zWLnx4IiYwp5TL+SzQeJ0yNAcA3B2 UuPyrJJCuu0F1Ovafn/XR4J2BnS5halWFtYDkMEp6we3ASM9JSYJ8Su6VAz87vHnaMcL EcmqKPe4txwneuCShH5dmGt2S+wQ2SFg1JyV+JZN+2gEuk5FU9KijF/JPFUZ3CDFmMPI 3b2Q== MIME-Version: 1.0 X-Received: by 10.229.103.135 with SMTP id k7mr5346082qco.22.1377796641285; Thu, 29 Aug 2013 10:17:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.128.70 with HTTP; Thu, 29 Aug 2013 10:17:21 -0700 (PDT) In-Reply-To: References: <20130820091527.42127170@bender.Home> <1377271598.1111.78.camel@revolution.hippie.lan> Date: Thu, 29 Aug 2013 10:17:21 -0700 X-Google-Sender-Auth: 1wO4D6O0J6MDp8aV5Q7qre1_WsY Message-ID: Subject: Re: Reminder: Removal of WITHOUT_ARM_EABI From: Adrian Chadd To: Ronald Klop Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" 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: Thu, 29 Aug 2013 17:17:22 -0000 (top posting so one doesn't have to scroll down to the bottom to read this..) ARM people - is this useful? This looks to me like the serial console IO path to enter ddb. I guess uart_bus_attach() is the wrong function name and the real function is something inside the uart RX path. When this userland process hangs, are other processes able to run? are you able to do something like df &, have it hang in the background, then enter kdb (from the shell pid?) I wonder if this is a userland hang rather than a kernel hang.. -adrian On 29 August 2013 10:08, Ronald Klop wrote: > On Thu, 29 Aug 2013 19:02:48 +0200, Adrian Chadd > wrote: > > ok, next, try 'bt 47'. It should get a stack trace of the df pid. >> >> It shows its running, so.. >> >> >> >> -adrian >> ______________________________**_________________ >> freebsd-arm@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@**freebsd.org >> " >> >> > That gives me this. I have to go now, but I will leave it in the debugger > so I can test more when I'm back. > > db> bt 47 > Tracing pid 47 tid 100040 td 0xc4047320 > db_trace_self() at db_trace_self > pc = 0xc0bb9b4c lr = 0xc093277c (db_hex2dec+0x494) > sp = 0xdce8dab0 fp = 0xdce8dac8 > r10 = 0xc0c9d4e0 > db_hex2dec() at db_hex2dec+0x494 > pc = 0xc093277c lr = 0xc0932130 (db_command_loop+0x2f4) > sp = 0xdce8dad0 fp = 0xdce8db70 > r4 = 0x00000000 r5 = 0x00000000 > r6 = 0xc0c31c57 > db_command_loop() at db_command_loop+0x2f4 > pc = 0xc0932130 lr = 0xc0931e8c (db_command_loop+0x50) > sp = 0xdce8db78 fp = 0xdce8db88 > r4 = 0xc0c02fb7 r5 = 0xc0c19c4d > r6 = 0xc0e4575c r7 = 0xdce8dd58 > r8 = 0xc4047320 r9 = 0xc0ce1094 > r10 = 0xc0c9d750 > db_command_loop() at db_command_loop+0x50 > pc = 0xc0931e8c lr = 0xc09347fc (X_db_symbol_values+0x254) > sp = 0xdce8db90 fp = 0xdce8dcb0 > r4 = 0x00000000 r5 = 0xdce8db98 > r6 = 0xc0ce10c0 > X_db_symbol_values() at X_db_symbol_values+0x254 > pc = 0xc09347fc lr = 0xc0a7d034 (kdb_trap+0xd4) > sp = 0xdce8dcb8 fp = 0xdce8dcd8 > r4 = 0x00000000 r5 = 0x00000001 > r6 = 0xc0ce10c0 r7 = 0xdce8dd58 > kdb_trap() at kdb_trap+0xd4 > pc = 0xc0a7d034 lr = 0xc0bca7ac (undefinedinstruction+0x204) > sp = 0xdce8dce0 fp = 0xdce8dd50 > r4 = 0x00000000 r5 = 0x00000000 > r6 = 0xc0bca4f8 r7 = 0xe7ffffff > r8 = 0xc4047320 r9 = 0xc0a7cad4 > r10 = 0xdce8dd58 > undefinedinstruction() at undefinedinstruction+0x204 > pc = 0xc0bca7ac lr = 0xc0bbb400 (exception_exit) > sp = 0xdce8dd58 fp = 0xdce8ddb8 > r4 = 0xffffffff r5 = 0xffff1004 > r6 = 0x00000002 r7 = 0x00000000 > r8 = 0x00000001 r9 = 0xc4047320 > r10 = 0x27be4eaf > exception_exit() at exception_exit > pc = 0xc0bbb400 lr = 0xc0a7cac4 (kdb_alt_break+0x184) > sp = 0xdce8ddac fp = 0xdce8ddb8 > r0 = 0xc0ce10a4 r1 = 0xc0c030ab > r2 = 0x00000000 r3 = 0x60000093 > r4 = 0xc3d45200 r5 = 0xc3d45288 > r6 = 0x00000002 r7 = 0x00000000 > r8 = 0x00000001 r9 = 0xc4047320 > r10 = 0x27be4eaf r12 = 0x000000c0 > kdb_alt_break() at kdb_alt_break+0x198 > pc = 0xc0a7cad8 lr = 0xc0a7c950 (kdb_alt_break+0x10) > sp = 0xdce8ddc0 fp = 0xdce8ddc0 > r4 = 0xc3d45200 r5 = 0xc3d45288 > r6 = 0x00000002 r7 = 0x00000000 > kdb_alt_break() at kdb_alt_break+0x10 > pc = 0xc0a7c950 lr = 0xc094c5d8 (uart_bus_ihand+0x2fc) > sp = 0xdce8ddc8 fp = 0xdce8dde0 > uart_bus_ihand() at uart_bus_ihand+0x2fc > pc = 0xc094c5d8 lr = 0xc094d19c (uart_bus_attach+0x690) > sp = 0xdce8dde8 fp = 0xdce8de20 > r4 = 0x0000ff7f r5 = 0xc3d45200 > r6 = 0x00040000 > uart_bus_attach() at uart_bus_attach+0x690 > pc = 0xc094d19c lr = 0xc0a27f7c (intr_event_handle+0x78) > sp = 0xdce8de28 fp = 0xdce8de40 > r4 = 0xc34c3700 r5 = 0xdce8de60 > r6 = 0x00000000 r7 = 0xc3e3b340 > r8 = 0x00000000 > intr_event_handle() at intr_event_handle+0x78 > pc = 0xc0a27f7c lr = 0xc0bbc68c (arm_handler_execute+0x54) > sp = 0xdce8de48 fp = 0xdce8de58 > r4 = 0xdce8de60 r5 = 0x00000021 > r6 = 0xc0cc29e0 r7 = 0xc0e42ad8 > r8 = 0x12a2532a r9 = 0xc6d47a95 > arm_handler_execute() at arm_handler_execute+0x54 > pc = 0xc0bbc68c lr = 0xc0bcef24 (irq_entry+0x9c) > sp = 0xdce8de60 fp = 0xbfffe528 > r4 = 0xffffffff r5 = 0xffff1004 > r6 = 0x208dc014 r7 = 0x2f5b177e > irq_entry() at irq_entry+0x9c > pc = 0xc0bcef24 lr = 0x200eba44 (0x200eba44) > sp = 0xdce8deb4 fp = 0xbfffe528 > r0 = 0xa5581795 r1 = 0x209707a0 > r2 = 0x0000ec90 r3 = 0x20901280 > r4 = 0x27be4eaf r5 = 0x00000000 > r6 = 0x208dc014 r7 = 0x2f5b177e > r8 = 0x12a2532a r9 = 0xc6d47a95 > r10 = 0x27be4eaf r12 = 0xc849eabc > Unable to unwind into user mode > > > > Ronald. > ______________________________**_________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@**freebsd.org > " >