From owner-freebsd-current@FreeBSD.ORG Fri Oct 11 13:17:44 2013 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 ESMTP id DAC83DBA; Fri, 11 Oct 2013 13:17:44 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-vc0-x231.google.com (mail-vc0-x231.google.com [IPv6:2607:f8b0:400c:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 875732477; Fri, 11 Oct 2013 13:17:44 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id hv10so2780129vcb.36 for ; Fri, 11 Oct 2013 06:17:43 -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=35ncyOzpSqVUu2VTB6fYyOiVcHa0AiafyMHz/TTeVCo=; b=UQ2NsdzLOa+jw+/jY/9DNm/0TDl80eaQ9nbTtBGdoiy4DSDEcSGLwcnrz4mr/jIdib apV/K2zJgSudcnulZdU2CJu7Czymst8VXUsZ121Xu7+8/PQHbZPhbrwDERcgS35uQjje XxQdVlt/QKiDQnefn+DM4y9ZcSfntNOaJrSQbc4LOHCZdQe3zKDwTXwA6vqJ/7PGsNtB WbafZq7e+cT4PwDP4CPbDLWnT5steDr4y/rrEoTp++zRP9O3oC3eeiA4cww96ZDO4IQM ai3adE/hbH5iACyRlULbCM0IMT8Iq06anC9O6e6laBcZhtk9QL2kVqeSlUD/bGb4ndD4 gSEQ== MIME-Version: 1.0 X-Received: by 10.52.244.15 with SMTP id xc15mr345807vdc.52.1381497463457; Fri, 11 Oct 2013 06:17:43 -0700 (PDT) Sender: davide.italiano@gmail.com Received: by 10.220.94.71 with HTTP; Fri, 11 Oct 2013 06:17:43 -0700 (PDT) In-Reply-To: <201310110926.r9B9Qt4d080267@mech-cluster241.men.bris.ac.uk> References: <201310110926.r9B9Qt4d080267@mech-cluster241.men.bris.ac.uk> Date: Fri, 11 Oct 2013 15:17:43 +0200 X-Google-Sender-Auth: _1OWfGH8Vwqhfcgu5zrsPpUZ4ro Message-ID: Subject: Re: panic: ia64 r255811: deadlkres: possible deadlock detected for 0xe000000012d07b00, blocked for 902743 ticks From: Davide Italiano To: mexas@bris.ac.uk Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current , freebsd-ia64@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 11 Oct 2013 13:17:44 -0000 On Fri, Oct 11, 2013 at 11:26 AM, Anton Shterenlikht wrote: > >From davide.italiano@gmail.com Thu Sep 26 13:12:30 2013 >>On Thu, Sep 26, 2013 at 12:23 PM, Anton Shterenlikht wrote: >>> >>> Regarding textdump(4), I'm not clear where the following >>> "scripts" should be located and used: >>> >> >>[snip] >> >>> Are these ddb(8) commands? Or do I set these in /etc/rc.conf? >>> >> >>The scripts (quotes unneeded) should be located in /etc/ddb.conf. >>I think you want ddb_enable="YES" in your /etc/rc.conf > > I've set textdump following the man page. > > I've got several more deadlocks, but > it seems savecore causes deadlock too! > > # savecore > savecore: reboot after panic: deadlkres: possible deadlock detected for 0xe0000000129d2000, blocked for 902608 ticks > savecore: writing core to ./vmcore.5 > > When the size of vmcore.x file gets to about 9GB, > I get a deadlock again. > > What can I do now? > > Thanks > > Anton > If you're not able to get a full dump, a textdump would be enough. In your DDB scripts just remove the 'call doadump' step and you should be done, unless I'm missing something. Please adjust the script as well to include all the informations requested as mentioned in my previous link, e.g. 'show lockedvnods' is not mentioned on the example section of textdump(4) manpage but it could be useful to ease debugging. Thanks for your time, -- Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare