Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2014 17:20:42 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Glen Barber <gjb@freebsd.org>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: panic in deadlkres() on r267110
Message-ID:  <CAJ-FndCgF6Ud7Sw=ohOnros_w_zBoOvv09AtOPAV46=RPxiJJw@mail.gmail.com>
In-Reply-To: <20140606150640.GI33882@hub.FreeBSD.org>
References:  <20140606141215.GE33882@hub.FreeBSD.org> <1402064629.1123.46.camel@bruno> <20140606150640.GI33882@hub.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 6, 2014 at 5:06 PM, Glen Barber <gjb@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndCgF6Ud7Sw=ohOnros_w_zBoOvv09AtOPAV46=RPxiJJw>