Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 18:04:23 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Eric Anderson <anderson@centtech.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, pjd@freebsd.org
Subject:   Re: 6-STABLE snapshot (background fsck) lock-up
Message-ID:  <20060817150423.GA20768@deviant.kiev.zoral.com.ua>
In-Reply-To: <44E482E8.50509@centtech.com>
References:  <44E45C3F.6060901@centtech.com> <20060817122502.GF1483@deviant.kiev.zoral.com.ua> <44E4614B.9000902@centtech.com> <44E482E8.50509@centtech.com>

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

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

On Thu, Aug 17, 2006 at 09:53:28AM -0500, Eric Anderson wrote:
> On 08/17/06 07:30, Eric Anderson wrote:
> >On 08/17/06 07:25, Kostik Belousov wrote:
> >>On Thu, Aug 17, 2006 at 07:08:31AM -0500, Eric Anderson wrote:
> >>>I've seen this several times now, but this time I got a dump.=20
> >>>Basically, the system comes up after unclean shutdown, throws a bunch =
of=20
> >>>filesystems into the background fsck list, and begins 60 seconds later=
.=20
> >>>   After some amount of time, the system will lock up, presumably hung=
=20
> >>>waiting on locks.
> >>>
> >>>Here's some info:
> >>>lock type bufwait: EXCL (count 1) by thread 0xffffff0128812980 (pid 80=
4)=20
> >>>lock type getblk: EXCL (count 1) by thread 0xffffff0128812980 (pid=20
> >>>804)Locked vnodes
> >>>
> >>>0xffffff01c5c9f000: tag ufs, type VREG
> >>>    usecount 1, writecount 0, refcount 13656 mountedhere 0
> >>>    flags (VV_SYSTEM)
> >>>    v_object 0xffffff01b09542a0 ref 0 pages 1691637
> >>>     lock type snaplk: EXCL (count 1) by thread 0xffffff0128812980 (pi=
d=20
> >>>804)
> >>>        ino 4, on dev label/vol4
> >>>
> >>>
> >>>
> >>>How can I use kgdb to get more debugging information from this?
> >>>
> >>Look at the
> >>http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ke=
rneldebug-deadlocks.html
> >>for instructions for ddb.
> >>
> >>What is the date of the system checkout ?
> >
> >
> >6-STABLE from ~8/12/06.
> >
> >So there's not much that can be done with the vmcore?
> >
> >I'll add the options to my kernel config (I was missing a few), and I=20
> >suppose wait for another deadlock.
>=20
> Ok, had another one.  Here are screenshots:
>=20
> http://www.googlebit.com/freebsd/snapshots/
>=20
> Is it the sysctl that is triggering it?

Hmm, unbelievable. It would be much simpler for you to set up serial
console.

Anyway, you use g_journal, and the problem seems to be related to some
geom locking. pjd@ is the right person to contact. I added him to the Cc:.

--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFE5IV2C3+MBN1Mb4gRAg9dAKC+mhKmGK3nLzND+eALWzuEUtoxogCg97x2
r4saVVAdTfti3PjGlqyfZ1E=
=E/Gr
-----END PGP SIGNATURE-----

--HcAYCG3uE/tztfnV--



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