Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2000 16:27:29 +0200
From:      Joakim Henriksson <murduth@ludd.luth.se>
To:        freebsd-bugs@freebsd.org
Subject:   kern/16740
Message-ID:  <200008161427.QAA00723@rmstar.campus.luth.se>

next in thread | raw e-mail | index | archive | help
Hello, i have some further datapoints to the bugs in the fs code that several 
persons have been bitten by.

I have a new panic that is also shared by another person. Mr Ian Dowse identified that the rellocation code was in the code path of the crash. I've since then tried to run with the rellocation code turned off.

Instead of the "ffs_clusteralloc: map mismatch" i now get this panic message
"panic: ffs_blkfree: freeing free frag" it would seem that the bug is somewhere else than the rellocation code.

Here is some info from the crash dump (available on request, together with the older one). Hopefully it will help someone and hopefully someone will look into it, please?

Oh yeah, i'm running STABLE as of 2000-08-15.

IdlePTD 3665920
initial pcb at 2f7060
panicstr: ffs_blkfree: freeing free frag
panic messages:
---
panic: ffs_blkfree: freeing free frag


#0  boot (howto=256) at ../../kern/kern_shutdown.c:302
302                     dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0  boot (howto=256) at ../../kern/kern_shutdown.c:302
#1  0xc014aafc in poweroff_wait (junk=0xc0297320, howto=-1071025440)
    at ../../kern/kern_shutdown.c:552
#2  0xc01fdfc7 in ffs_blkfree (ip=0xc87c3c48, bno=3239, size=1024)
    at ../../ufs/ffs/ffs_alloc.c:1375
#3  0xc0202132 in handle_workitem_freeblocks (freeblks=0xc1004400)
    at ../../ufs/ffs/ffs_softdep.c:1981
#4  0xc0201b58 in softdep_setup_freeblocks (ip=0xc103d400, length=0)
    at ../../ufs/ffs/ffs_softdep.c:1677
#5  0xc01ff72e in ffs_truncate (vp=0xc9389c80, length=0, flags=0, cred=0x0, 
    p=0xc87b5780) at ../../ufs/ffs/ffs_inode.c:195
#6  0xc0209d2e in ufs_inactive (ap=0xc87c3f04) at ../../ufs/ufs/ufs_inode.c:84
#7  0xc020ee19 in ufs_vnoperate (ap=0xc87c3f04)
    at ../../ufs/ufs/ufs_vnops.c:2285
#8  0xc01756d2 in vput (vp=0xc9389c80) at vnode_if.h:794
#9  0xc0202ec8 in handle_workitem_remove (dirrem=0xc0f2dc00)
    at ../../ufs/ffs/ffs_softdep.c:2668
#10 0xc02005b9 in softdep_process_worklist (matchmnt=0x0)
    at ../../ufs/ffs/ffs_softdep.c:557
#11 0xc0175003 in sched_sync () at ../../kern/vfs_subr.c:1034
#12 0xc026152c in fork_trampoline ()
Cannot access memory at address 0x8000.
(kgdb) up 2
#2  0xc01fdfc7 in ffs_blkfree (ip=0xc87c3c48, bno=3239, size=1024)
    at ../../ufs/ffs/ffs_alloc.c:1375
1375                                    panic("ffs_blkfree: freeing free frag");
(kgdb) print frags
$2 = 0
(kgdb) print blksfree[(bno+i)/8]
$5 = 255 'ÿ'


-- 
regards/ Joakim




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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