Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2013 00:09:08 +0200
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Subject:   panic: excl->share in zfs
Message-ID:  <20130808220908.GA76693@caravan.chchile.org>

next in thread | raw e-mail | index | archive | help
Hi guys,

I've just got a panic with:
FreeBSD obiwan 10.0-CURRENT FreeBSD 10.0-CURRENT #21: Sun Jul 21 21:37:10 CEST 2013     root@obiwan:/usr/obj/usr/src/sys/OBIWAN  amd64

I have a core around if needed.


obiwan:/usr/src# svn info
Path: .
Working Copy Root Path: /usr/src
URL: http://svn0.us-west.freebsd.org/base/head
Repository Root: http://svn0.us-west.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 253515
Node Kind: directory
Schedule: normal
Last Changed Author: des
Last Changed Rev: 253515
Last Changed Date: 2013-07-21 09:24:25 +0200 (Sun, 21 Jul 2013)



ddb capture buffer

db:0:kdb.enter.panic>  run lockinfo
db:1:lockinfo> show locks
exclusive lockmgr zfs (zfs) r = 0 (0xfffffe0046ac4d50) locked @ /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c:1806
db:1:locks>  show alllocks
Process 29451 (git) thread 0xfffffe008bbc4000 (101227)
exclusive lockmgr zfs (zfs) r = 0 (0xfffffe0046ac4d50) locked @ /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c:1806
Process 11062 (sshd) thread 0xfffffe008c59a490 (101159)
exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xfffffe008c268e40) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148
db:1:alllocks>  show lockedvnods
Locked vnodes
db:0:kdb.enter.panic>  show pcpu
cpuid        = 1
dynamic pcpu = 0xffffff807f417080
curthread    = 0xfffffe008bbc4000: pid 29451 "git"
curpcb       = 0xffffff80e61d8cc0
fpcurthread  = none
idlethread   = 0xfffffe0009693490: tid 100004 "idle: cpu1"
curpmap      = 0xfffffe000969a138
tssp         = 0xffffffff8108e2f8
commontssp   = 0xffffffff8108e2f8
rsp0         = 0xffffff80e61d8cc0
gs32p        = 0xffffffff8108fd50
ldt          = 0xffffffff8108fd90
tss          = 0xffffffff8108fd80
spin locks held:
db:0:kdb.enter.panic>  bt
Tracing pid 29451 tid 101227 td 0xfffffe008bbc4000
kdb_enter() at kdb_enter+0x3e/frame 0xffffff80e61d7d10
vpanic() at vpanic+0x146/frame 0xffffff80e61d7d50
kassert_panic() at kassert_panic+0x136/frame 0xffffff80e61d7dc0
witness_checkorder() at witness_checkorder+0x327/frame 0xffffff80e61d7e50
__lockmgr_args() at __lockmgr_args+0x456/frame 0xffffff80e61d7f80
vop_stdlock() at vop_stdlock+0x3c/frame 0xffffff80e61d7fa0
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xf5/frame 0xffffff80e61d7fd0
_vn_lock() at _vn_lock+0xab/frame 0xffffff80e61d8040
zfs_lookup() at zfs_lookup+0x395/frame 0xffffff80e61d80d0
zfs_freebsd_lookup() at zfs_freebsd_lookup+0x6d/frame 0xffffff80e61d8210
VOP_CACHEDLOOKUP_APV() at VOP_CACHEDLOOKUP_APV+0xea/frame 0xffffff80e61d8240
vfs_cache_lookup() at vfs_cache_lookup+0xcf/frame 0xffffff80e61d8290
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xea/frame 0xffffff80e61d82c0
null_lookup() at null_lookup+0x8b/frame 0xffffff80e61d8330
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xea/frame 0xffffff80e61d8360
lookup() at lookup+0x590/frame 0xffffff80e61d83f0
namei() at namei+0x464/frame 0xffffff80e61d84a0
vn_open_cred() at vn_open_cred+0x28f/frame 0xffffff80e61d85f0
vop_stdvptocnp() at vop_stdvptocnp+0x1a4/frame 0xffffff80e61d8920
null_vptocnp() at null_vptocnp+0x2b/frame 0xffffff80e61d8980
VOP_VPTOCNP_APV() at VOP_VPTOCNP_APV+0xf0/frame 0xffffff80e61d89b0
vn_vptocnp_locked() at vn_vptocnp_locked+0x118/frame 0xffffff80e61d8a20
vn_fullpath1() at vn_fullpath1+0x1ca/frame 0xffffff80e61d8a80
kern___getcwd() at kern___getcwd+0xd6/frame 0xffffff80e61d8ae0
amd64_syscall() at amd64_syscall+0x265/frame 0xffffff80e61d8bf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xffffff80e61d8bf0
--- syscall (326, FreeBSD ELF64, sys___getcwd), rip = 0x8016ad99c, rsp = 0x7fffffffd848, rbp = 0x76cd20 ---



-- 
Jeremie Le Hen

Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.



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