Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2008 21:43:48 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Frode Nordahl <frode@nordahl.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 7.1-PRERELEASE-p1, panic: dqget: free dquot isn't
Message-ID:  <20081203194348.GB2401@deviant.kiev.zoral.com.ua>
In-Reply-To: <F88AD2CD-04BA-46E5-93B9-A06558136D31@nordahl.net>
References:  <3B675385-956D-4A26-8E09-E338DF7D7244@nordahl.net> <20081203173939.GA2401@deviant.kiev.zoral.com.ua> <F88AD2CD-04BA-46E5-93B9-A06558136D31@nordahl.net>

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

--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 *)<printed value>
> (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--



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