From owner-freebsd-ppc@FreeBSD.ORG Thu May 22 14:06:46 2014 Return-Path: Delivered-To: freebsd-ppc@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 ESMTPS id 4B7CB1000 for ; Thu, 22 May 2014 14:06:46 +0000 (UTC) Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D7122572 for ; Thu, 22 May 2014 14:06:45 +0000 (UTC) Received: by mail-yk0-f177.google.com with SMTP id 19so2818819ykq.22 for ; Thu, 22 May 2014 07:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=0t6EIV6eCiUqBVX9cDYNxWhmqT/yF1C6RqD2auFg7RA=; b=rAOt3HGgFS6OxWWOlhPNmGP1JwRwhK+ZGCGaEzcOvogA39Tb05RJFKkLv3D4vbvyZQ xlyCaUCEKNZZ4QKRfxgI+qNQyIO3j5ZAb4+jp/DremJ94Ww5Pm/i5QJkMg/dFAYuuszI kF/sgj4LB1hJW5H/c4nl1OtGyAep22+N1LzH+gULgsl9eUFxxx8kGM+uG8/XyDe9CTJp RbSrhcepxe1CnHFocgcmaHR9zyOyU4ATAprEAkDTJLnvbsJy7BWf9zNYSFzEhs5hvTcL mWXChBQEN0FDSZ6LhNE7sBno/u7GVnJZqoGRwMOdq+0LGDpqjwUsdJLYyrPl0vFIXdEk HSrw== X-Received: by 10.236.125.69 with SMTP id y45mr52654557yhh.42.1400767605211; Thu, 22 May 2014 07:06:45 -0700 (PDT) Received: from zhabar.att.net (107-222-186-3.lightspeed.sntcca.sbcglobal.net. [107.222.186.3]) by mx.google.com with ESMTPSA id h48sm39210706yhl.49.2014.05.22.07.06.44 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 22 May 2014 07:06:45 -0700 (PDT) Date: Thu, 22 May 2014 07:06:41 -0700 From: Justin Hibbits To: Alexey Dokuchaev Subject: Re: DSI when in dhclient Message-ID: <20140522070641.5da22e1a@zhabar.att.net> In-Reply-To: <20140522075104.GA19283@regency.nsu.ru> References: <20140511175007.721425b1@zhabar.att.net> <20140522075104.GA19283@regency.nsu.ru> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 14:06:46 -0000 On Thu, 22 May 2014 14:51:04 +0700 Alexey Dokuchaev wrote: > On Sun, May 11, 2014 at 05:50:07PM -0700, Justin Hibbits wrote: > > Something odd I've been running into lately on 32-bit powerpc, when > > I run dhclient on an interface, I get a Data Storage Interrupt > > dropping me to ddb. It happens when dhclient is > > spawning /usr/sbin/arp, and I don't know why. I can write directly > > to the page it's trying to write into. [...] Does anyone else see > > this? > > I sometimes get dropped to ddb(4) due to DSI on Mac mini G4 but > unrelated to dhclient(8); however, I have a question about kernel > debugging, so I'd chime in. :) > > While at db> prompt, I can see the backtrace and even "call doadump" > to save some 37MB of memory. On subsequent reboot, usual set of > files under /var/crash is generated, but running kgdb(1) on them for > postmortem shows nothing except couple of question marks. > > Is crashdump saving/reading is broken on PowerPC these days, or I'm > just doing it wrongly? > > ./danfe I fixed that DSI last week at BSDCan, thankfully :) Regarding kgdb, I've never had luck with using it for postmortem. Textdumps work, but crashdumps don't, and I don't know why. The dumps themselves are generated and look correct, but I think either kgdb isn't correct, or I may be generating the minidumps incorrectly. - Justin