From owner-freebsd-arm@FreeBSD.ORG Thu Aug 29 17:38:45 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A4F5347B for ; Thu, 29 Aug 2013 17:38:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5F7E72AF1 for ; Thu, 29 Aug 2013 17:38:45 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id z10so410254qcx.4 for ; Thu, 29 Aug 2013 10:38:44 -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=TOuNcSvwXF7qsoy1jbD9EmejG5Po4pfim+0H/0VY4MA=; b=Egnn/zsr6fsjDuiDoC8TsU9BObg7OFU9X2LRRIOUMCiEoVYeVzyUNA5PdYzWR82pEK GCM1cbOrZW4hBliK+qM1JyoMYopRvOFIZMssozKzR6KN0J1J5vlyUonr9l3FzP7X/kwE Mocxz5xFFlYEwJpGkRUKXVAtYpKiy/Nfc6Kwn69oxW5/CmKJLzjR1eD5dbv/Se/+P37d ZRoeExFdJCA5Bz4/1cbBrXn/BOaAZZpR6irCDqtgYqOL58OWQtPCCfF2SGAFpMHZrdMH ZLthOwsP6eQbXyLw74xiX78RwHziGvyEcJ5Hx82Gvd5XZHXa/IEzSLwU8vnJUMfxwRVA Q9tA== MIME-Version: 1.0 X-Received: by 10.229.214.200 with SMTP id hb8mr5592682qcb.1.1377797924440; Thu, 29 Aug 2013 10:38:44 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.128.70 with HTTP; Thu, 29 Aug 2013 10:38:44 -0700 (PDT) In-Reply-To: <6046B66D-5F4C-4E8D-923A-3E26DED5DD8F@bsdimp.com> References: <20130820091527.42127170@bender.Home> <1377271598.1111.78.camel@revolution.hippie.lan> <6046B66D-5F4C-4E8D-923A-3E26DED5DD8F@bsdimp.com> Date: Thu, 29 Aug 2013 10:38:44 -0700 X-Google-Sender-Auth: fNMckvKVSQnHN_2_y_ll3h9r4CM Message-ID: Subject: Re: Reminder: Removal of WITHOUT_ARM_EABI From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" , Ronald Klop 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:38:45 -0000 On 29 August 2013 10:25, Warner Losh wrote: > > On Aug 29, 2013, at 11:17 AM, Adrian Chadd wrote: > > > (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 > > This stack trace is poo. These routines long ago finished running, and > certainly wouldn't be running in the context of df. They'd be running if he hit the magic "please sir, may I enter ddb?" routine. The attach function is just ddb getting the symbol lookup wrong - you'd have to run (arm) addr2line to get the PC -> symbol. But the wchan shows its running, not that it's spun in the kernel. So, either it's running and doign ridiculous amounts of syscalls in some kind of loop, or it's actually spinning in userland. Re jmg - yeah, maybe running it in userland gdb will shed more light. -adrian