amd64/138656: ZFS panic "lock &arg.lock already initialized" during zfs recv

James R. Van Artsdalen james-freebsd-current at jrv.org
Wed Sep 9 09:10:03 UTC 2009


>Number:         138656
>Category:       amd64
>Synopsis:       ZFS panic "lock &arg.lock already initialized" during zfs recv
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 09 09:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     James R. Van Artsdalen
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD pygmy.housenet.jrv 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r196500M: Wed Aug 26 11:28:43 CDT 2009 james at pygmy.housenet.jrv:/usr/src/sys/amd64/compile/GENERIC amd64


>Description:

About 4 TB into a zfs recv the kernel panic'd with "lock &arg.lock already initialized".

core.txt available.

partial backtrace:
#9  0xffffffff8058262b in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:562
#10 0xffffffff8102f47e in dsl_dataset_destroy_sync (arg1=0xffffff02a4e7a000, tag=0xffffffff810d9b04, cr=0xffffff000d088000, tx=0xffffff026cbe3000)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c:1422
#11 0xffffffff81031e3b in dsl_sync_task_group_sync (dstg=0xffffff026ca94b80, tx=0xffffff026cbe3000)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_synctask.c:186
#12 0xffffffff81031963 in dsl_pool_sync (dp=0xffffff000da9e800, txg=53189) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c:320
#13 0xffffffff81040385 in spa_sync (spa=0xffffff0009ec4000, txg=53189) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c:3988
#14 0xffffffff8104838f in txg_sync_thread () from /boot/kernel/zfs.ko
#15 0xffffffff8055a3da in fork_exit (callout=0xffffffff81048100 <txg_sync_thread>, arg=0xffffff000da9e800, frame=0xffffff81615b7c80) at ../../../kern/kern_fork.c:838
#16 0xffffffff8084a19e in fork_trampoline () at ../../../amd64/amd64/exception.S:561


>How-To-Repeat:
Receive large (10 TB) recv where the replicatiiion stream contains many filesystem deletes & rename.  Filesystem deletes and renames seem to cause more problems.

>Fix:

None
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list