From owner-freebsd-current@FreeBSD.ORG Fri Jun 6 15:20:44 2014 Return-Path: Delivered-To: freebsd-current@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 ESMTPS id C7C7ED35; Fri, 6 Jun 2014 15:20:44 +0000 (UTC) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (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 1C2012D58; Fri, 6 Jun 2014 15:20:43 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id w61so2912625wes.26 for ; Fri, 06 Jun 2014 08:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=FwrSjK7bm8j9Eu7pWdcaPv2Er7Oiy7snlckQ2D7GQPQ=; b=kdBlRSsyzGRej4N8kOTxQ5A68IMozyC8vs5bmTfhGDaZre8qHYLpCeQwwgFBXSTDEm UbMYvsDtnEeRxX0gfEfmirauh04e2L9eD+L/2rQaB9LgL3WEiVwBkkH3OMDimbaQLDNE ck8KxBZ+NOQF97QoZrCQDpFRJmeTDy53Yjujddh39ynZOMlSKsEdB4CVMnbw2zEJkRq5 OhZHpjiCrhKcYUtrdqfZZu/q8oi6Fs9S2OAVgCmhLNeP/YuH/AFyBBsiBQ3zoZnxEZh1 btRrssa/HiNJlIBkx0Biwz9Yb2aUZ9XvqzztIU8QgTRCEqGGapWes0CfJ/1gg08icmCN qhvA== MIME-Version: 1.0 X-Received: by 10.180.20.210 with SMTP id p18mr6457951wie.8.1402068042137; Fri, 06 Jun 2014 08:20:42 -0700 (PDT) Reply-To: attilio@FreeBSD.org Sender: asmrookie@gmail.com Received: by 10.217.61.196 with HTTP; Fri, 6 Jun 2014 08:20:42 -0700 (PDT) In-Reply-To: <20140606150640.GI33882@hub.FreeBSD.org> References: <20140606141215.GE33882@hub.FreeBSD.org> <1402064629.1123.46.camel@bruno> <20140606150640.GI33882@hub.FreeBSD.org> Date: Fri, 6 Jun 2014 17:20:42 +0200 X-Google-Sender-Auth: Anc5yN1hlh00KXDoYM4szBO2xRU Message-ID: Subject: Re: panic in deadlkres() on r267110 From: Attilio Rao To: Glen Barber Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 15:20:44 -0000 On Fri, Jun 6, 2014 at 5:06 PM, Glen Barber wrote: > On Fri, Jun 06, 2014 at 07:23:49AM -0700, Sean Bruno wrote: >> On Fri, 2014-06-06 at 10:12 -0400, Glen Barber wrote: >> > Two machines in the cluster panic last night with the same backtrace. >> > It is unclear yet exactly what was happening on the systems, but both >> > are port building machines using ports-mgmt/tinderbox. >> > >> > Any ideas or information on how to further debug this would be >> > appreciated. >> > >> These machines were happily running r266621 previously to this update >> yesterday. So, that gives us a bisection point. >> > > Some more debug information. Thank you to Attilio for information on > what data to get. > > Script started on Fri Jun 6 15:00:53 2014 > command: /bin/sh > # kgdb ./kernel.debug /var/crash/vmcore.0 > [...] > #0 doadump (textdump=-946873840) at pcpu.h:219 > 219 __asm("movq %%gs:%1,%0" : "=r" (td) > (kgdb) p/x allproc_lock.sx_lock > $1 = 0xfffff813ae7f4924 > Current language: auto; currently minimal > (kgdb) p ((struct thread *)0xfffff813ae7f4924) The actual thread address is: 0xfffff813ae7f4920. Then look at the GDB threads list and match with the tid. Attilio