Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2014 12:52:02 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-fs@freebsd.org
Cc:        grarpamp <grarpamp@gmail.com>
Subject:   Re: ZFS import panic (kgdb backtrace attached)
Message-ID:  <201406111252.02544.jhb@freebsd.org>
In-Reply-To: <CAD2Ti29vpDa2rwE5_opwV9BFmmEx62UzdgHt-tX8RoWxy2wjMw@mail.gmail.com>
References:  <CAD2Ti29gKmED34S5z6NEUnaGOsx8m2uPEJiPWPZLcebJ6PD-mw@mail.gmail.com> <201406101158.08599.jhb@freebsd.org> <CAD2Ti29vpDa2rwE5_opwV9BFmmEx62UzdgHt-tX8RoWxy2wjMw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, June 10, 2014 2:00:37 pm grarpamp wrote:
> On Tue, Jun 10, 2014 at 11:58 AM, John Baldwin <jhb@freebsd.org> 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
> <range_tree_seg_compare>, avl_offset = 0, avl_numnodes = 1, avl_size =
> 48},
>   rt_space = 4294967296, rt_ops = 0x1, rt_arg = 0x0, rt_histogram = {0
> <repeats 64 times>}, 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406111252.02544.jhb>