Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2009 13:50:55 GMT
From:      "Vladislav V. Prodan" <universite@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/138662: ffs_blkfree: freeing free block
Message-ID:  <200909091350.n89Dotcr064163@www.freebsd.org>
Resent-Message-ID: <200909091400.n89E03Rq081176@freefall.freebsd.org>

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

>Number:         138662
>Category:       kern
>Synopsis:       ffs_blkfree: freeing free block
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 09 14:00:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Vladislav V. Prodan
>Release:        FreeBSD 8.0-BETA4 #0: Wed Sep  9 00:53:41 EEST 2009 amd64
>Organization:
>Environment:
FreeBSD mary-teresa.otrada.od.ua 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Wed Sep  9 00:53:41 EEST 2009     vlad11@mary-teresa.otrada.od.ua:/usr/obj/usr/src/sys/mary-teresa.17  amd64

>Description:
Unread portion of the kernel message buffer:
dev = ad6s1g, block = 1, fs = /dop
panic: ffs_blkfree: freeing free block
cpuid = 1
Uptime: 18m16s
Physical memory: 6098 MB
Dumping 1495 MB: 1480 1464 1448 1432 1416 1400 1384 1368 1352 1336 1320 1304 1288 1272 1256 1240 1224 1208 1192 1176 1160 1144 1128 1112 1096 1080 1064 1048 1032 1016 1000 984 968 952 936 920 904 888 872 856 840 824 808 792 776 760 744 728 712 696 680 664 648 632 616 600 584 568 552 536 520 504 488 472 456 440 424 408 392 376 360 344 328 312 296 280 264 248 232 216 200 184 168 152 136 120 104 88 72 56 40 24 8

Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/kernel/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /boot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from /boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
#0  doadump () at pcpu.h:223
223     pcpu.h: No such file or directory.
        in pcpu.h

(kgdb) bt
#0  doadump () at pcpu.h:223
#1  0xffffffff803a5219 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xffffffff803a566c in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:579
#3  0xffffffff805e87f3 in ffs_blkfree (ump=Variable "ump" is not available.
) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1912
#4  0xffffffff805f80b1 in indir_trunc (freeblks=0xffffff0003cfa400, dbn=Variable "dbn" is not available.
)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2925
#5  0xffffffff805f8143 in indir_trunc (freeblks=0xffffff0003cfa400, dbn=Variable "dbn" is not available.
)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2921
#6  0xffffffff805f8547 in handle_workitem_freeblocks (freeblks=0xffffff0003cfa400, flags=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:2773
#7  0xffffffff805f93c4 in process_worklist_item (mp=0xffffff0003dd48d0, flags=Variable "flags" is not available.
)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:959
#8  0xffffffff805fb421 in softdep_process_worklist (mp=0xffffff0003dd48d0, full=0)
    at /usr/src/sys/ufs/ffs/ffs_softdep.c:842
#9  0xffffffff805fc8c7 in softdep_flush () at /usr/src/sys/ufs/ffs/ffs_softdep.c:753
#10 0xffffffff8037d387 in fork_exit (callout=0xffffffff805fc730 <softdep_flush>, arg=0x0,
    frame=0xffffff8049202c80) at /usr/src/sys/kern/kern_fork.c:843
#11 0xffffffff8064593e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:561
#12 0x0000000000000000 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x0000000000000000 in ?? ()
#16 0x0000000000000000 in ?? ()
#17 0x0000000000000000 in ?? ()
#18 0x0000000000000000 in ?? ()
#19 0x0000000000000000 in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000000 in ?? ()
#30 0x0000000000000000 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000000 in ?? ()
#34 0x0000000000000000 in ?? ()
#35 0x0000000000000000 in ?? ()
#36 0x0000000000c6d000 in ?? ()
#37 0xffffff0003ccb000 in ?? ()
#38 0xffffffff808d0180 in tdq_cpu ()
#39 0xffffffff808cf500 in affinity ()
#40 0xffffff0001399720 in ?? ()
#41 0xffffff80492026c0 in ?? ()
#42 0xffffff8049202678 in ?? ()
#43 0xffffff0003ccb000 in ?? ()
#44 0xffffffff803c8159 in sched_switch (td=0x0, newtd=0xffffffff805fc730, flags=Variable "flags" is not available.
)
    at /usr/src/sys/kern/sched_ule.c:1858
Previous frame inner to this frame (corrupt stack?)


>How-To-Repeat:
If the machine is turned off not properly (due to power failure), and when you start the run background fsck, then it crashes with the file system, will fly panic.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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