Frode Nordahl
2008-Dec-03 11:36 UTC
FreeBSD 7.1-PRERELEASE-p1, panic: dqget: free dquot isn't
(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"); (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
Kostik Belousov
2008-Dec-03 11:44 UTC
FreeBSD 7.1-PRERELEASE-p1, panic: dqget: free dquot isn't
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 > >-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20081203/0437b35a/attachment.pgp