Re: panic: LK_RETRY set with incompatible flags (0x200400) or an error occured (11)

From: Jeremie Le Hen <jlh_at_FreeBSD.org>
Date: Fri, 28 Feb 2014 09:27:15 +0100
Another instance, with a sligthly different stacktrace:

db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00e612ae40
kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe00e612aef0
vpanic() at vpanic+0x126/frame 0xfffffe00e612af30
kassert_panic() at kassert_panic+0x136/frame 0xfffffe00e612afa0
_vn_lock() at _vn_lock+0x70/frame 0xfffffe00e612b010
zfs_lookup() at zfs_lookup+0x44d/frame 0xfffffe00e612b0a0
zfs_freebsd_lookup() at zfs_freebsd_lookup+0x91/frame 0xfffffe00e612b1e0
VOP_CACHEDLOOKUP_APV() at VOP_CACHEDLOOKUP_APV+0xea/frame 0xfffffe00e612b210
vfs_cache_lookup() at vfs_cache_lookup+0xcf/frame 0xfffffe00e612b260
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xea/frame 0xfffffe00e612b290
null_lookup() at null_lookup+0x8b/frame 0xfffffe00e612b300
VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xea/frame 0xfffffe00e612b330
lookup() at lookup+0x590/frame 0xfffffe00e612b3c0
namei() at namei+0x524/frame 0xfffffe00e612b490
vn_open_cred() at vn_open_cred+0x28f/frame 0xfffffe00e612b5e0
vop_stdvptocnp() at vop_stdvptocnp+0x17d/frame 0xfffffe00e612b920
null_vptocnp() at null_vptocnp+0x2b/frame 0xfffffe00e612b980
VOP_VPTOCNP_APV() at VOP_VPTOCNP_APV+0xf0/frame 0xfffffe00e612b9b0
vn_vptocnp_locked() at vn_vptocnp_locked+0x118/frame 0xfffffe00e612ba20
vn_fullpath1() at vn_fullpath1+0x1ca/frame 0xfffffe00e612ba80
kern___getcwd() at kern___getcwd+0xd6/frame 0xfffffe00e612bae0
amd64_syscall() at amd64_syscall+0x265/frame 0xfffffe00e612bbf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe00e612bbf0



kgdb stacktrace:

#1  0xffffffff80302ca5 in db_fncall (dummy1=<value optimized out>, 
    dummy2=<value optimized out>, dummy3=<value optimized out>, 
    dummy4=<value optimized out>) at /usr/src-svn/sys/ddb/db_command.c:578
#2  0xffffffff8030298d in db_command (cmd_table=<value optimized out>)
    at /usr/src-svn/sys/ddb/db_command.c:449
#3  0xffffffff80306bef in db_script_exec (
    scriptname=0xfffffe00e612aad0 "kdb.enter.panic", 
    warnifnotfound=<value optimized out>)
    at /usr/src-svn/sys/ddb/db_script.c:302
#4  0xffffffff80306a26 in db_script_kdbenter (eventname=0x0)
    at /usr/src-svn/sys/ddb/db_script.c:324
#5  0xffffffff803050ab in db_trap (type=<value optimized out>, code=0)
    at /usr/src-svn/sys/ddb/db_main.c:230
#6  0xffffffff80696c33 in kdb_trap (type=3, code=0, tf=<value optimized out>)
    at /usr/src-svn/sys/kern/subr_kdb.c:656
#7  0xffffffff809b0e92 in trap (frame=0xfffffe00e612ae20)
    at /usr/src-svn/sys/amd64/amd64/trap.c:571
#8  0xffffffff80996122 in calltrap ()
    at /usr/src-svn/sys/amd64/amd64/exception.S:231
#9  0xffffffff806963ee in kdb_enter (why=0xffffffff80b3c985 "panic", 
    msg=<value optimized out>) at cpufunc.h:63
#10 0xffffffff8065ec96 in vpanic (fmt=<value optimized out>, 
    ap=<value optimized out>) at /usr/src-svn/sys/kern/kern_shutdown.c:752
#11 0xffffffff8065eb46 in kassert_panic (fmt=<value optimized out>)
    at /usr/src-svn/sys/kern/kern_shutdown.c:647
#12 0xffffffff807167c0 in _vn_lock (vp=0xfffff80013ca41d8, flags=2098176, 
    file=0xffffffff81508fe5 "/usr/src-svn/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c", line=1518)
    at /usr/src-svn/sys/kern/vfs_vnops.c:1436
#13 0xffffffff8148417d in zfs_lookup ()
    at /usr/src-svn/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1518
#14 0xffffffff814844e1 in zfs_freebsd_lookup (ap=0xfffffe00e612b220)
    at /usr/src-svn/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:6106
#15 0xffffffff80a6b34a in VOP_CACHEDLOOKUP_APV (vop=<value optimized out>, 
    a=<value optimized out>) at vnode_if.c:195
#16 0xffffffff806f480f in vfs_cache_lookup (ap=<value optimized out>)
    at vnode_if.h:80
#17 0xffffffff80a6b1fa in VOP_LOOKUP_APV (vop=<value optimized out>, 
    a=<value optimized out>) at vnode_if.c:127
#18 0xffffffff80578ecb in null_lookup (ap=0xfffffe00e612b378) at vnode_if.h:54
#19 0xffffffff80a6b1fa in VOP_LOOKUP_APV (vop=<value optimized out>, 
    a=<value optimized out>) at vnode_if.c:127
#20 0xffffffff806fc980 in lookup (ndp=0xfffffe00e612b678) at vnode_if.h:54
#21 0xffffffff806fc0f4 in namei (ndp=0xfffffe00e612b678)
    at /usr/src-svn/sys/kern/vfs_lookup.c:298
#22 0xffffffff80715f5f in vn_open_cred (ndp=0xfffffe00e612b678, 
    flagp=0xfffffe00e612b800, cmode=0, vn_open_flags=<value optimized out>, 
    cred=0xfffff8006c41de00, fp=0x0) at /usr/src-svn/sys/kern/vfs_vnops.c:205
#23 0xffffffff806f7b5d in vop_stdvptocnp (ap=<value optimized out>)
    at /usr/src-svn/sys/kern/vfs_default.c:797
#24 0xffffffff805797fb in null_vptocnp (ap=0xfffffe00e612b9c8)
    at /usr/src-svn/sys/fs/nullfs/null_vnops.c:824
#25 0xffffffff80a6fb40 in VOP_VPTOCNP_APV (vop=<value optimized out>, 
    a=<value optimized out>) at vnode_if.c:3647
#26 0xffffffff806f5048 in vn_vptocnp_locked (vp=0xfffffe00e612ba50, 
    cred=0xfffff8006c41de00, 
    buf=0xfffff80002bae000 "...",
    buflen=0xfffffe00e612ba4c) at vnode_if.h:1564
#27 0xffffffff806f4b6a in vn_fullpath1 (td=0xfffff80061c26490, 
    vp=0xfffff80058178938, rdir=0xfffff80013dc0b10, 
    buf=0xfffff80002bae000 "...",
    retbuf=0xfffffe00e612bab0, buflen=1016)
    at /usr/src-svn/sys/kern/vfs_cache.c:1330
#28 0xffffffff806f4906 in kern___getcwd (td=0xfffff80061c26490, 
    buf=0x7fffffffcc18 <Address 0x7fffffffcc18 out of bounds>, 
    bufseg=UIO_USERSPACE, buflen=Cannot access memory at address 0x400
) at /usr/src-svn/sys/kern/vfs_cache.c:1094
#29 0xffffffff809b1af5 in amd64_syscall (td=0xfffff80061c26490, traced=0)
    at subr_syscall.c:133
#30 0xffffffff8099640b in Xfast_syscall ()
    at /usr/src-svn/sys/amd64/amd64/exception.S:390




On Mon, Feb 10, 2014 at 09:56:07PM +0100, Jeremie Le Hen wrote:
> Hi,
> 
> I run 11.0-CURRENT r260696 on amd64.
> 
> I've got the following panic:
> 
> panic: LK_RETRY set with incompatible flags (0x200400) or an error occured (11)
> cpuid = 1
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
> 0xfffffe00e5e53980
> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe00e5e53a30
> vpanic() at vpanic+0x126/frame 0xfffffe00e5e53a70
> kassert_panic() at kassert_panic+0x136/frame 0xfffffe00e5e53ae0
> _vn_lock() at _vn_lock+0x70/frame 0xfffffe00e5e53b50
> zfs_lookup() at zfs_lookup+0x44d/frame 0xfffffe00e5e53be0
> zfs_freebsd_lookup() at zfs_freebsd_lookup+0x91/frame 0xfffffe00e5e53d20
> VOP_CACHEDLOOKUP_APV() at VOP_CACHEDLOOKUP_APV+0xea/frame
> 0xfffffe00e5e53d50
> vfs_cache_lookup() at vfs_cache_lookup+0xcf/frame 0xfffffe00e5e53da0
> VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xea/frame 0xfffffe00e5e53dd0
> null_lookup() at null_lookup+0x8b/frame 0xfffffe00e5e53e40
> VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xea/frame 0xfffffe00e5e53e70
> lookup() at lookup+0x590/frame 0xfffffe00e5e53f00
> namei() at namei+0x524/frame 0xfffffe00e5e53fd0
> vn_open_cred() at vn_open_cred+0x28f/frame 0xfffffe00e5e54120
> vop_stdvptocnp() at vop_stdvptocnp+0x17d/frame 0xfffffe00e5e54460
> null_vptocnp() at null_vptocnp+0x2b/frame 0xfffffe00e5e544c0
> VOP_VPTOCNP_APV() at VOP_VPTOCNP_APV+0xf0/frame 0xfffffe00e5e544f0
> vn_vptocnp_locked() at vn_vptocnp_locked+0x118/frame 0xfffffe00e5e54560
> vn_fullpath1() at vn_fullpath1+0x1ca/frame 0xfffffe00e5e545c0
> vn_fullpath() at vn_fullpath+0xc5/frame 0xfffffe00e5e54620
> export_fd_to_sb() at export_fd_to_sb+0x2fd/frame 0xfffffe00e5e54850
> kern_proc_filedesc_out() at kern_proc_filedesc_out+0x237/frame
> 0xfffffe00e5e548d0
> sysctl_kern_proc_filedesc() at sysctl_kern_proc_filedesc+0x66/frame
> 0xfffffe00e5e54940
> sysctl_root() at sysctl_root+0x1e4/frame 0xfffffe00e5e54990
> userland_sysctl() at userland_sysctl+0x192/frame 0xfffffe00e5e54a30
> sys___sysctl() at sys___sysctl+0x74/frame 0xfffffe00e5e54ae0
> amd64_syscall() at amd64_syscall+0x265/frame 0xfffffe00e5e54bf0
> Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe00e5e54bf0
> --- syscall (202, FreeBSD ELF64, sys___sysctl), rip = 0x801027d1a, rsp = 0x7fffffffc758, rbp = 0x7fffffffc790 ---
> 
> 
> 
> I can provide core upon request.
> 
> -- 
> Jeremie Le Hen
> 
> Scientists say the world is made up of Protons, Neutrons and Electrons.
> They forgot to mention Morons.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 

-- 
Jeremie Le Hen

Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.
Received on Fri Feb 28 2014 - 07:37:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC