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
[-- Attachment #1 --]
On Wed, Dec 03, 2008 at 08:12:22PM +0100, Frode Nordahl wrote:
> (moved to freebsd-stable)
>
> On 3. des.. 2008, at 18.39, Kostik Belousov wrote:
>
> >>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.
>
>
> I am unable to get to *dq :-(
>
> (kgdb) frame 10
> #10 0xffffffff806dbc54 in dqget (vp=0xffffff011e0767e0, id=419444,
> ump=0xffffff00038a9000, type=0, dqp=0xffffff0122e47268)
> 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.
>
> I will try to provoke the panic again and see if I can get more info
> from DDB. (Any hints as to what to ask ddb to get the information you
> requested?)
>
> (I'll put my kernel.debug and vmcore.0 in an archve somewhere and mail
> you the URL privately if you are up to download 126MB)
>
> --
> Frode Nordahl
>
>
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
iEYEARECAAYFAkk24XMACgkQC3+MBN1Mb4jtRgCeOi159RfIPG5fdb+YgHsAFK9g
QdwAnj8BnuSj3FsmZlIlHtwrJjkt6LkV
=GgbU
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081203194348.GB2401>
