From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 23 14:26:35 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F57D5FE for ; Tue, 23 Sep 2014 14:26:35 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F5E9638 for ; Tue, 23 Sep 2014 14:26:35 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8NEQZm7081605 for ; Tue, 23 Sep 2014 14:26:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193875] New: [zfs] [panic] [reproducable] zfs/space_map.c: solaris assert: sm->sm_space + size <= sm->sm_size Date: Tue, 23 Sep 2014 14:26:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 14:26:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193875 Bug ID: 193875 Summary: [zfs] [panic] [reproducable] zfs/space_map.c: solaris assert: sm->sm_space + size <= sm->sm_size Product: Base System Version: 10.0-RELEASE Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: girgen@FreeBSD.org Hi! This is a production machine, one of two identical redunant storage systems. After upgrading one to FreeBSD 10.0-RELEASE-p3, it crashes within a few hours in production. Running bonnie locally we manage to reproduce the crash within minutes. System has 32 GB RAM zpool list -v NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT tank 21,8T 7,71T 14,0T 35% 1.00x ONLINE - raidz2 21,8T 7,71T 14,0T - da0 - - - - da1 - - - - da2 - - - - da3 - - - - da4 - - - - da5 - - - - da6p1 39,8G 4,44M 39,7G - cache - - - - - - da6p2 19,6G 248M 19,4G - zpool verison 28 zfs version 5 panic: solaris assert: sm->sm_space + size <= sm->sm_size, file: /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c, line: 121 (kgdb) bt #0 doadump (textdump=) at pcpu.h:219 #1 0xffffffff808af860 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:447 #2 0xffffffff808afc24 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:754 #3 0xffffffff81a31202 in assfail (a=, f=, l=) at /usr/src/sys/modules/opensolaris/../../cddl/compat/opensolaris/kern/opensolaris_cmn_err.c:81 #4 0xffffffff8185fc24 in space_map_add (sm=0xfffff80016a24600, start=1029308416, size=131072) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c:121 #5 0xffffffff81860429 in space_map_load (sm=0xfffff80016a24600, ops=0xffffffff8191ad58, maptype=, smo=0xfffff800169b2b20, os=0xfffff80016475c00) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c:391 #6 0xffffffff8184aee0 in metaslab_activate (msp=0xfffff800169b2b00, activation_weight=9223372036854775808) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c:978 #7 0xffffffff8184a209 in metaslab_alloc (spa=0xfffff80016285000, mc=0xfffff800161a0900, psize=131072, bp=0xfffffe01f5c12008, ndvas=1, txg=9442048, hintbp=0xfffff8001681e000, flags=) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c:1520 #8 0xffffffff81882f23 in zio_alloc_zil (spa=0xfffff80016285000, txg=9442048, new_bp=0xfffffe01f5c12008, old_bp=0xfffff804f6ff5e48, size=131072, use_slog=) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:2448 #9 0xffffffff81880b71 in zil_lwb_write_start (zilog=0xfffff800168a1c00, lwb=0xfffff804f6ff5e40) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c:987 #10 0xffffffff8187f488 in zil_commit (zilog=0xfffff800168a1c00, foid=) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c:1060 #11 0xffffffff818a4a78 in zfs_sync (vfsp=, waitfor=) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c:161 #12 0xffffffff8094e2e0 in sync_fsync (ap=) at /usr/src/sys/kern/vfs_subr.c:3666 #13 0xffffffff80d9d458 in VOP_FSYNC_APV (vop=, a=) at vnode_if.c:1330 #14 0xffffffff8094eb6a in sched_sync () at vnode_if.h:549 #15 0xffffffff80881cba in fork_exit (callout=0xffffffff8094e7a0 , arg=0x0, frame=0xfffffe085c3e2ac0) at /usr/src/sys/kern/kern_fork.c:995 #16 0xffffffff80c79f0e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:606 #17 0x0000000000000000 in ?? () Current language: auto; currently minimal -- You are receiving this mail because: You are the assignee for the bug.