Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2006 21:22:34 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Mike Jakubik <mikej@rogers.com>
Cc:        freebsd-stable@freebsd.org, Dmitriy Kirhlarov <dimma@higis.ru>
Subject:   Re: quota and snapshots in 6.1-RELEASE
Message-ID:  <20060606182234.GB72368@deviant.kiev.zoral.com.ua>
In-Reply-To: <4485C010.9040402@rogers.com>
References:  <20060523181638.GC767@dimma.mow.oilspace.com> <6eb82e0605231120q37224c6r3b25982f556bed72@mail.gmail.com> <447366AD.30203@rogers.com> <44736E11.6060104@mkproductions.org> <20060523203521.GA48061@xor.obsecurity.org> <20060524062118.GA766@dimma.mow.oilspace.com> <447400BB.9060603@samsco.org> <4485C010.9040402@rogers.com>

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

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

On Tue, Jun 06, 2006 at 01:49:04PM -0400, Mike Jakubik wrote:
> Scott Long wrote:
> >Dmitriy Kirhlarov wrote:
> >
> >>Hi!
> >>
> >>On Tue, May 23, 2006 at 04:35:21PM -0400, Kris Kennaway wrote:
> >>
> >>
> >>>>>>6.1-STABLE after 6.1-RELEASE is releases. So I think you may want
> >>>
> >>>If you use snapshots with your quotas, update to 6.1-STABLE.  If you
> >>
> >>
> >>Sorry, guys. You are mean RELENG_6_1 or RELENG_6?
> >>
> >>WBR
> >
> >RELENG_6.  However, the changes will likely make their way into=20
> >RELENG_6_1 in a few weeks as part of an errata update.
> >
> >Scott
>=20
> I have just done tests on 6.1-R and RELENG_6 as of yesterday evening.=20
> Unfortunately both still lock up hard, no crash, just a frozen system. I=
=20
> cant enter the KDB (ddb) via the console, but its unusable, as it wont=20
> let me type in anything. There must be some other change in -CURRENT=20
> that fixes this, as -CURRENT did not freeze during my previous tests.
>=20
>=20
> Just to confirm, here is the ID of ufs_quota.c on my RELENG_6 system:
>=20
> /usr/src/sys/ufs/ufs/ufs_quota.c:
>     $FreeBSD: src/sys/ufs/ufs/ufs_quota.c,v 1.74.2.4 2006/05/14=20
> 00:23:27 tegge Exp $
The hangs are mostly related to snapshots. It would be better to
update to the latest RELENG_6.

Hangs on RELENG_6_1 is not so much interesting. For
hanged RELENG_6 system, please do what described below and post
the log of the ddb session.

I'm not sure whether kbdmux was MFCed into RELENG_6 (AFAIR, yes).
If you have it in your kernel, add the line
hint.kbdmux.0.disabled=3D"1"
into the /boot/device.hints to make ddb usable.

After that, on the hang, enter ddb, and
do ps and tr <pid> for all suspected processes.
Better yet, add the following options to your kernel:

options         INVARIANTS
options         INVARIANT_SUPPORT
options         WITNESS
options         DEBUG_LOCKS
options         DEBUG_VFS_LOCKS
options         DIAGNOSTIC

and, after hang, do in ddb

show allpcpu
show alllocks
show lockedvnods
ps

For each process mentioned in show output, do where <pid>
(for threaded processes, do thread <thread-id>; where).

BTW, it would be great to add this instructions to the FAQ.

--i0/AhcQY5QxfSsSZ
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFEhcfpC3+MBN1Mb4gRAty7AJ9iJHu1+humrXxq1ylFSNqMr4CKmACeP/tj
s/syhnOvwXO8M5IJzUTsHI8=
=m0DZ
-----END PGP SIGNATURE-----

--i0/AhcQY5QxfSsSZ--



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