Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2013 15:17:43 +0200
From:      Davide Italiano <davide@freebsd.org>
To:        mexas@bris.ac.uk
Cc:        freebsd-current <freebsd-current@freebsd.org>, freebsd-ia64@freebsd.org
Subject:   Re: panic: ia64 r255811: deadlkres: possible deadlock detected for 0xe000000012d07b00, blocked for 902743 ticks
Message-ID:  <CACYV=-GEaL4whdSmiY51U8pqgaidpWbMyOVshENWHb7TDh5V_w@mail.gmail.com>
In-Reply-To: <201310110926.r9B9Qt4d080267@mech-cluster241.men.bris.ac.uk>
References:  <CACYV=-GcZXiv81BNzrGQOAapE1xxDjfvXzg_k5gmhPxmMVdy%2Bw@mail.gmail.com> <201310110926.r9B9Qt4d080267@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 11, 2013 at 11:26 AM, Anton Shterenlikht <mexas@bris.ac.uk> wrote:
> >From davide.italiano@gmail.com Thu Sep 26 13:12:30 2013
>>On Thu, Sep 26, 2013 at 12:23 PM, Anton Shterenlikht <mexas@bris.ac.uk> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACYV=-GEaL4whdSmiY51U8pqgaidpWbMyOVshENWHb7TDh5V_w>