DragonFly BSD
DragonFly bugs List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

panic: assertion: (RB_EMPTY(&ip->rec_tree) && (ip->flags & HAMMER_INODE_XDIRTY) == 0) || (!RB_EMPTY(&ip->rec_tree) && (ip->flags & HAMMER_INODE_XDIRTY) != 0) in hammer_flush_inode_done


From: YONETANI Tomokazu <qhwt.dfly@xxxxxxxxxx>
Date: Sun, 21 Nov 2010 20:19:31 +0900

Hello.
Caught this while running pbulk on an Atom D510, running x86_64 kernel.
This one is new to me and I haven't seen this one before updating the
kernel.  The current kernel was built from source whose commit hash is
c6aff4f7f0c74961380763de0bcb5dd49fb7faea, while the previous kernel was
from c4ce4f88f289f77826fecf470965d7e216274018.  No hammer cleanup was
running when it panicked.

Unread portion of the kernel message buffer:
 1548 1532 1516 1500 1484 1468SECONDARY PANIC ON CPU 3 THREAD 0xffffffe02c36cc70
SECONDARY PANIC ON CPU 1 THREAD 0xffffffe02c36c670
SECONDARY PANIC ON CPU 2 THREAD 0xffffffe0526d7a70
 1452SECONDARY PANIC ON CPU 2 THREAD 0xffffffe052996870
SECONDARY PANIC ON CPU 2 THREAD 0xffffffe0526d6870
SECONDARY PANIC ON CPU 3 THREAD 0xffffffe052bac070
SECONDARY PANIC ON CPU 3 THREAD 0xffffffe0526dd470
 1436SECONDARY PANIC ON CPU 3 THREAD 0xffffffe02c369070
 1420 1404 1388 1372 1356 1340 1324 1308 1292 1276 1260 1244 1228 1212 1196 1180 1164 1148 1132 1116 1100 1084 1068 1052 1036 1020 1004 988 972 956 940 924 908 892 876 860 844 828 812 796 780 764 748 732 716 700 684 668 652 636 620 604 588 572 556 540 524 508 492 476 460 444 428 412 396 380 364 348 332 316 300 284 268 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12

Reading symbols from /boot/kernel/acpi.ko...done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/ahci.ko...done.
Loaded symbols for /boot/kernel/ahci.ko
Reading symbols from /boot/kernel/ehci.ko...done.
Loaded symbols for /boot/kernel/ehci.ko
_get_mycpu (di=0xffffffff80719020) at ./machine/thread.h:73
73          __asm ("movq %%gs:globaldata,%0" : "=r" (gd) : "m"(__mycpu__dummy));
(kgdb) bt
#0  _get_mycpu (di=0xffffffff80719020) at ./machine/thread.h:73
#1  md_dumpsys (di=0xffffffff80719020)
    at /usr/src/sys/platform/pc64/x86_64/dump_machdep.c:262
#2  0xffffffff802a5b6c in dumpsys () at /usr/src/sys/kern/kern_shutdown.c:881
#3  0xffffffff802a62e9 in boot (howto=-2004318071)
    at /usr/src/sys/kern/kern_shutdown.c:388
#4  0xffffffff802a66a7 in panic (fmt=0xffffffff804d4f2a "assertion: %s in %s")
    at /usr/src/sys/kern/kern_shutdown.c:787
#5  0xffffffff804030f8 in hammer_flush_inode_done (ip=0xffffffe06fc17a78,
    error=<value optimized out>) at /usr/src/sys/vfs/hammer/hammer_inode.c:2421
#6  0xffffffff803ff587 in hammer_flusher_flush_inode (
    arg=<value optimized out>) at /usr/src/sys/vfs/hammer/hammer_flusher.c:525
#7  hammer_flusher_slave_thread (arg=<value optimized out>)
    at /usr/src/sys/vfs/hammer/hammer_flusher.c:455
#8  0xffffffff802b1a2a in lwkt_deschedule_self (td=0x0)
    at /usr/src/sys/kern/lwkt_thread.c:258
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(kgdb) fr 5
#5  0xffffffff804030f8 in hammer_flush_inode_done (ip=0xffffffe06fc17a78,
    error=<value optimized out>) at /usr/src/sys/vfs/hammer/hammer_inode.c:2421
2421            KKASSERT((RB_EMPTY(&ip->rec_tree) &&
(kgdb) p ip->rec_tree
$1 = {rbh_root = 0x0, rbh_inprog = 0x0}
(kgdb) p/x ip->flags
$2 = 0x1353813
(kgdb)

I'm preparing to upload the kern.18 and vmcore.18.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]