From owner-freebsd-fs@FreeBSD.ORG Fri Jun 17 12:54:03 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BCB01065670 for ; Fri, 17 Jun 2011 12:54:03 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id DE1BD8FC1D for ; Fri, 17 Jun 2011 12:54:02 +0000 (UTC) Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by qmta09.westchester.pa.mail.comcast.net with comcast id x0jg1g0071YDfWL590u3Sv; Fri, 17 Jun 2011 12:54:03 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta20.westchester.pa.mail.comcast.net with comcast id x0u11g00f1t3BNj3g0u2Lu; Fri, 17 Jun 2011 12:54:02 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8E24A102C19; Fri, 17 Jun 2011 05:54:00 -0700 (PDT) Date: Fri, 17 Jun 2011 05:54:00 -0700 From: Jeremy Chadwick To: ?????????????? Message-ID: <20110617125400.GA6291@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS raid1 crash kernel panic. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2011 12:54:03 -0000 On Wed, Jun 15, 2011 at 04:15:56PM +0400, ?????????????? wrote: > I have a ZFS raid1 from 2 drives to 1TB . > Recently, my system OS: FreeBSD 8.2-RELEASE has crashed, with kernel > panic: > > -------------------------------- > panic: solaris assert: ss->ss_end >= end (0x6a80753600 >= 0x6a80753800), > file: > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c, > line: 174 > > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"... > > Unread portion of the kernel message buffer: > panic: solaris assert: ss->ss_end >= end (0x6a80753600 >= 0x6a80753800), > file: > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c, > line: 174 > cpuid = 0 > KDB: stack backtrace: > #0 0xffffffff805f4e0e at kdb_backtrace+0x5e > #1 0xffffffff805c2d07 at panic+0x187 > #2 0xffffffff80ee36f6 at space_map_remove+0x296 > #3 0xffffffff80ee3d9b at space_map_load+0x1bb > #4 0xffffffff80ed4c19 at metaslab_activate+0x89 > #5 0xffffffff80ed586e at metaslab_alloc+0x6ae > #6 0xffffffff80f00299 at zio_dva_allocate+0x69 > #7 0xffffffff80efe287 at zio_execute+0x77 > #8 0xffffffff80e9e303 at taskq_run_safe+0x13 > #9 0xffffffff805ffeb5 at taskqueue_run_locked+0x85 > #10 0xffffffff8060004e at taskqueue_thread_loop+0x4e > #11 0xffffffff805994f8 at fork_exit+0x118 > #12 0xffffffff8089547e at fork_trampoline+0xe > --------------- > > Reinstall OS and import zfs pool not change anything. > smartctl-a says that everything is OK > Can anybody tell me what is it? The panic happens intentionally due to an assertion check. Assuming these "solaris asserts" work the same way as KASSERT(), then what the output says is: "ss->ss_end should be >= end, but obviously 0x6a80753600 is less than 0x6a80753800, thus panic". ZFS developers, do you have any ideas/explanations for this crash or what Aleksey can provide to help diagnose the cause? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |