[DragonFlyBSD - Bug #2871] (Closed) hammer2 kernel crash

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Feb 22 01:43:12 PST 2018


Issue #2871 has been updated by arcade at b1t.name.

Status changed from New to Closed

----------------------------------------
Bug #2871: hammer2 kernel crash
http://bugs.dragonflybsd.org/issues/2871#change-13384

* Author: arcade at b1t.name
* Status: Closed
* Priority: Low
* Assignee: 
* Category: VFS subsystem
* Target version: 
----------------------------------------
One fine day I was doing many things simultaneously when:

panic: assertion "pbase != 0 && ((lbase + lsize - 1) & pmask) == pbase" failed in hammer2_io_getblk at /usr/src/sys/vfs/hammer2/hammer2_io.c:95

Trace beginning at frame 0xffffffe0cfa077b0
panic() at panic+0x25f 0xffffffff8027bb8e
panic() at panic+0x25f 0xffffffff8027bb8e
hammer2_io_getblk() at hammer2_io_getblk+0x9f 0xffffffff81f57e78
_hammer2_io_new() at _hammer2_io_new+0x47 0xffffffff81f586ea
hammer2_io_newnz() at hammer2_io_newnz+0xf 0xffffffff81f58f18
hammer2_strategy_xop_write() at hammer2_strategy_xop_write+0x823 0xffffffff81f49c21

When system rebooted it just failed again with the same trace during `savecore`. So I did bulkfree from single user:

Dec 22 15:30:59 probe kernel: bulkfree pass statistics (100.00% storage processed):
Dec 22 15:30:59 probe kernel: transition->free   121833
Dec 22 15:30:59 probe kernel: transition->staged 3567305
Dec 22 15:30:59 probe kernel: ERR(00)->allocated 0
Dec 22 15:30:59 probe kernel: ERR(01)->allocated 0
Dec 22 15:30:59 probe kernel: staged->allocated  0
Dec 22 15:30:59 probe kernel: ~2MB segs cleaned  261
Dec 22 15:30:59 probe kernel: linear adjusts     354
Dec 22 15:30:59 probe kernel: dedup factor       31042

After that system became stable again.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list