Project

General

Profile

Actions

Bug #2871

closed

hammer2 kernel crash

Added by arcade@b1t.name almost 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
VFS subsystem
Target version:
-
Start date:
12/22/2015
Due date:
% Done:

0%

Estimated time:

Description

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->allocated 0
Dec 22 15:30:59 probe kernel: ERR->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.

Actions

Also available in: Atom PDF