From owner-freebsd-arm@freebsd.org Wed Apr 27 15:15:50 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2430B1E9AB for ; Wed, 27 Apr 2016 15:15:50 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE24F1013 for ; Wed, 27 Apr 2016 15:15:50 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by mail-ig0-x22e.google.com with SMTP id bi2so130877923igb.0 for ; Wed, 27 Apr 2016 08:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=he4mG8ZdO7eHNFiBWoYoSlYYpxCIDCr5NlnQJryIuPc=; b=j4Hmu5ev5v0hdlefeWOrzBgIpvMeNoaTuY3zP119WHS8YBSvX5hCguBSBYR+co9mC7 JrilDMhTvji1gm2ku5DcD57ATfTuQZigGDOoWQTZlwRdjGvG6qpwmEfqXtJ86lVfuKsx cPmhnteYeYDpvqycZ0B3uhC1HYR+5H/yuDya75BVxv2lABEwbL6ePjFSlnv3c8J182CG MBWIwQC8T7jEoMZgCjxT3za3V91bj0yTd5RxX2DpBUOFB+K5KKDHqs4WuzriQMfV4UBI XjsJHr4nq3Ni/oNd8ysKG78WMuAsHIM/CRNe3MOj+LMCVaHrZKpdJYPRPThLJWOL0UTu TXSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=he4mG8ZdO7eHNFiBWoYoSlYYpxCIDCr5NlnQJryIuPc=; b=XnhD86qemMbtL/Nfi69gOsLl0bUd4LLCftSaBofuD8UBNZRAQImYWCfq2BocY9YHYl yq1I7cyPNfSXhtmZyT1o0T1aiwiswZIA+us+KTahOmoDJZam6BZnai5Io512XflIwXQR aMK0s8hPpHh/sW1f8JB+kUdEcLVATDIuYPhwpOMPWUwCLtFmRruRo0rvO0fwmdWq8YQO QY+elPtUXXM94ZItMeuUwm0r0pBcs+c0FK2I0SGM1lRngfVeksFDVNxFBZf8WnEhJRhZ qfLMNvdivCVl82ypNmjlNGkoqrXxDtao6OI4tFHUVJY7oLoEV3nmttXSBeb/GKrcebhh VNJQ== X-Gm-Message-State: AOPr4FVfO6MN7JZv5233BZdewCwYZG5ls8pt9UzKuft05L9Y4wcQVYpY3jJ/nD3CQb/o3M9qk3z/LvZOt5y1sg== MIME-Version: 1.0 X-Received: by 10.50.62.13 with SMTP id u13mr16942810igr.42.1461770149595; Wed, 27 Apr 2016 08:15:49 -0700 (PDT) Received: by 10.64.93.100 with HTTP; Wed, 27 Apr 2016 08:15:49 -0700 (PDT) In-Reply-To: <20160426214309.GP71221@www.zefox.net> References: <20160426183030.GN71221@www.zefox.net> <20160426204016.GO71221@www.zefox.net> <20160426214309.GP71221@www.zefox.net> Date: Wed, 27 Apr 2016 17:15:49 +0200 Message-ID: Subject: Re: Another reboot hang From: Svatopluk Kraus To: bob prohaska Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 15:15:51 -0000 On Tue, Apr 26, 2016 at 11:43 PM, bob prohaska wrote: > On Tue, Apr 26, 2016 at 11:28:42PM +0200, Svatopluk Kraus wrote: >> >> Hmm, it's third command which needs WITNESS option. I added 'show all >> pcpu' on first place later and did not fix the reference. By breaking >> to debugger repeatedly I mean - type 'c' in ddb ('continue' command) >> and then break to debugger again. >> >> > Ok, that sounds much easier. I'll try continuing and returning > to the debugger first. Those were general hints how to deal with such situation. In your case, it looks more like an infinite waiting for something on another thread not in your backtrace. So the all procs and locks dumps would be unavoidable. And probably a backtrace of all threads too. > > Thanks again! > > bob >