Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2006 16:36:54 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Vivek Khera <vivek@khera.org>
Cc:        stable@freebsd.org
Subject:   Re: ffs snapshot lockup
Message-ID:  <20060922203654.GA65693@xor.obsecurity.org>
In-Reply-To: <555B84D2-520F-44D6-84D6-CF9CE7EE47C7@khera.org>
References:  <917B087C-5E13-4D7F-94FA-95CB0E5C1884@khera.org> <20060922190328.GA64849@xor.obsecurity.org> <555B84D2-520F-44D6-84D6-CF9CE7EE47C7@khera.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 22, 2006 at 04:24:41PM -0400, Vivek Khera wrote:
>=20
> On Sep 22, 2006, at 3:03 PM, Kris Kennaway wrote:
>=20
> >>I know this is very un-useful as a bug report, but I'm putting this
> >>out in case anyone else has noticed this.  It has never happened to
> >>us before when we were running 5.4 and then 6.1 on this box.  Nothing
> >>else changed on the system during this time.
> >
> >Yep, we'd need additional debugging to proceed.
>=20
> How does one debug a system where the disk sub-system is frozen?  I =20
> have serial console with DDB/KDB built into the kernel and debugging =20
> symbols too.  Is that the only option here?

Perhaps, but you can probably also take a dump still.  It's a
filesystem deadlock, not a disk device problem.

> We're gonna try the full level 0 backup again monday and if it locks =20
> up I'll try to figure it out, but could use some hints as to where to =20
> poke in the kernel.

Start by enabling INVARIANTS, INVARIANT_SUPPORT, DEBUG_LOCKS and
DEBUG_VFS_LOCKS, then run 'show lockedvnods' and 'alltrace' in DDB
(spammy, need that serial console), or at least trace the running
processes (show allpcpu) and those listed in lockedvnods.  Then call
doadump and save the core+kernel.debug when you reboot.

Kris


--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFFElmWry0BWjoQKURAmtXAKDfFNOcZNyyRkIzOgg1eG6VuO6QCgCg0qbv
FM9A/9+XsdnqwaVOm+pDtQA=
=aDub
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--



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