From owner-freebsd-stable@FreeBSD.ORG Tue Jun 6 18:23:58 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76D0616ADF5 for ; Tue, 6 Jun 2006 18:22:54 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A101843D53 for ; Tue, 6 Jun 2006 18:22:42 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k56IMOmU026047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Jun 2006 21:22:24 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k56IMaLN010280; Tue, 6 Jun 2006 21:22:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k56IMY3c010279; Tue, 6 Jun 2006 21:22:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 6 Jun 2006 21:22:34 +0300 From: Konstantin Belousov To: Mike Jakubik Message-ID: <20060606182234.GB72368@deviant.kiev.zoral.com.ua> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <4485C010.9040402@rogers.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: freebsd-stable@freebsd.org, Dmitriy Kirhlarov Subject: Re: quota and snapshots in 6.1-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 18:23:59 -0000 --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 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 (for threaded processes, do thread ; 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--