From owner-freebsd-fs@FreeBSD.ORG Wed Jun 11 17:55:50 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA86FCF2 for ; Wed, 11 Jun 2014 17:55:50 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93800226B for ; Wed, 11 Jun 2014 17:55:50 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 7BA09B9C4; Wed, 11 Jun 2014 13:55:49 -0400 (EDT) From: John Baldwin To: freebsd-fs@freebsd.org Subject: Re: ZFS import panic (kgdb backtrace attached) Date: Wed, 11 Jun 2014 12:52:02 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: <201406101158.08599.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201406111252.02544.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 11 Jun 2014 13:55:49 -0400 (EDT) Cc: grarpamp X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2014 17:55:50 -0000 On Tuesday, June 10, 2014 2:00:37 pm grarpamp wrote: > On Tue, Jun 10, 2014 at 11:58 AM, John Baldwin wrote: > > Can you do 'frame 7' and 'p *rt' and 'p *rt->rt_ops'? > > (kgdb) frame 7 > #7 0xc13cb9f4 in range_tree_vacate (rt=0xc83dc000, func=0, arg=0x0) > at /.../src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/range_tree.c:364 > 364 rt->rt_ops->rtop_vacate(rt, rt->rt_arg); > (kgdb) p *rt > $1 = {rt_root = {avl_root = 0xd6900780, avl_compar = 0xc13cb890 > , avl_offset = 0, avl_numnodes = 1, avl_size = > 48}, > rt_space = 4294967296, rt_ops = 0x1, rt_arg = 0x0, rt_histogram = {0 > }, rt_lock = 0xc8309000} > (kgdb) p *rt->rt_ops > Cannot access memory at address 0x1 Humm, that is the source of the actual fault. I've no idea why that would be set to 1 however. Unfortunately you need someone more familiar with ZFS to look at this further. -- John Baldwin