From owner-freebsd-stable@FreeBSD.ORG Wed Dec 3 19:43:54 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26957106564A for ; Wed, 3 Dec 2008 19:43:54 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id BE6D68FC08 for ; Wed, 3 Dec 2008 19:43:53 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1L7xdX-000O4D-GJ; Wed, 03 Dec 2008 21:43:51 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id mB3Jhmpx008749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Dec 2008 21:43:48 +0200 (EET) (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.14.3/8.14.3) with ESMTP id mB3Jhmix015674; Wed, 3 Dec 2008 21:43:48 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id mB3Jhmxe015673; Wed, 3 Dec 2008 21:43:48 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 3 Dec 2008 21:43:48 +0200 From: Kostik Belousov To: Frode Nordahl Message-ID: <20081203194348.GB2401@deviant.kiev.zoral.com.ua> References: <3B675385-956D-4A26-8E09-E338DF7D7244@nordahl.net> <20081203173939.GA2401@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yNb1oOkm5a9FJOVX" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1L7xdX-000O4D-GJ 765fdd06359df0fa028f66d7e2ef1451 X-Terabit: YES Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.1-PRERELEASE-p1, panic: dqget: free dquot isn't 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: Wed, 03 Dec 2008 19:43:54 -0000 --yNb1oOkm5a9FJOVX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 03, 2008 at 08:12:22PM +0100, Frode Nordahl wrote: > (moved to freebsd-stable) >=20 > On 3. des.. 2008, at 18.39, Kostik Belousov wrote: >=20 > >>db> where > >>Tracing pid 41111 tid 100199 td 0xffffff0056f1f370 > >>kdb_enter_why() at kdb_enter_why+0x3d > >>panic() at panic+0x17b > >>dqget() at dqget+0xaa4 > >>getinoquota() at getinoquota+0x5b > >>ufs_access() at ufs_access+0x28c > >>ufs_lookup() at ufs_lookup+0x9fe > >>vfs_cache_lookup() at vfs_cache_lookup+0xf8 > >>VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0x40 > >>lookup() at lookup+0x531 > >>namei() at namei+0x35d > >>kern_rmdir() at kern_rmdir+0xbd > >>syscall() at syscall+0x256 > >>Xfast_syscall() at Xfast_syscall+0xab > > > >For the start, I want to see the content of the *dq in the dqget() > >frame. >=20 >=20 > I am unable to get to *dq :-( >=20 > (kgdb) frame 10 > #10 0xffffffff806dbc54 in dqget (vp=3D0xffffff011e0767e0, id=3D419444, > ump=3D0xffffff00038a9000, type=3D0, dqp=3D0xffffff0122e47268) > at /usr/src/sys/ufs/ufs/ufs_quota.c:1210 > 1210 panic("dqget: free dquot isn't"); If this is repeatable, change panic to panic("dqget: free dquot isn't %p", dq); and then in kgdb p/x *(struct dquot *) > (kgdb) print dq > Variable "dq" is not available. >=20 > I will try to provoke the panic again and see if I can get more info =20 > from DDB. (Any hints as to what to ask ddb to get the information you =20 > requested?) >=20 > (I'll put my kernel.debug and vmcore.0 in an archve somewhere and mail = =20 > you the URL privately if you are up to download 126MB) >=20 > -- > Frode Nordahl >=20 >=20 --yNb1oOkm5a9FJOVX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkk24XMACgkQC3+MBN1Mb4jtRgCeOi159RfIPG5fdb+YgHsAFK9g QdwAnj8BnuSj3FsmZlIlHtwrJjkt6LkV =GgbU -----END PGP SIGNATURE----- --yNb1oOkm5a9FJOVX--