kern/120529: LOR opensolaris_vfs.c:206 and kern_resource.c:1273 - 7.0-RC2

Henri Hennebert hlh at restart.be
Wed Feb 20 13:40:05 UTC 2008


The following reply was made to PR kern/120529; it has been noted by GNATS.

From: Henri Hennebert <hlh at restart.be>
To: bug-followup at FreeBSD.org, hlh at restart.be
Cc:  
Subject: Re: kern/120529: LOR opensolaris_vfs.c:206 and kern_resource.c:1273
 - 7.0-RC2
Date: Wed, 20 Feb 2008 14:34:26 +0100

 I encounter later a problem maybe related:
 
 zfs snapshot pool0 at snap1
 
 zfs list
 
 NAME              USED  AVAIL  REFER  MOUNTPOINT
 pool0            13.8G  32.7G  16.5M  legacy
 pool0 at snap1        41K      -  16.5M  -
 pool0/home       1.57G  32.7G  1.57G  /home
 <--- clip--->
 
 ls /.zfs/snapshot/snap1
 
 error message complaining about snapshot (sorry I don't write it down 
 :-/ ) - anyway, the snapshot is not accessible.
 
 In /var/log/messages I have:
 
 uma_zalloc_arg: zone "256" with the following non-sleepable locks held:
 exclusive sleep mutex struct mount mtx r = 0 (0xa815eaa0) locked @ 
 /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_vfs.c:206
 KDB: stack backtrace:
 db_trace_self_wrapper(a07d3fd1,f96df6ec,a05ca76d,a07d4342,f96df700,...) 
 at db_trace_self_wrapper+0x26
 kdb_backtrace(a07d4342,f96df700,4,1,0,...) at kdb_backtrace+0x29
 witness_warn(5,0,a07ea73d,a07e6167,a61b9000,...) at witness_warn+0x1cd
 uma_zalloc_arg(a18671e0,0,102,a815ea70,aa840bb0,...) at uma_zalloc_arg+0x34
 malloc(a0,a0811ba0,102,a815ea70,f96df794,...) at malloc+0x51
 crget(a8da9300,a0811ba0,a815ea70,f96df7d8,a098cecc,...) at crget+0x23
 crdup(a5520700,0,a0a049bc,ce,c2,...) at crdup+0xc
 domount(a61b9000,aa840bb0,a0a09ae1,a6c5edc0,f96df814,...) at domount+0x20c
 zfsctl_snapdir_lookup(f96dfaa0,f96dfa58,2,b111acc0,f96dfac0,...) at 
 zfsctl_snapdir_lookup+0x362
 VOP_LOOKUP_APV(a0a0daa0,f96dfaa0,a61b9000,a07d9b3e,19b,...) at 
 VOP_LOOKUP_APV+0x46
 lookup(f96dfb48,a07d9b3e,c6,bf,a99db82c,...) at lookup+0x57e
 namei(f96dfb48,a61b9000,a085d434,a61b9000,f96dfb4c,...) at namei+0x2bb
 kern_lstat(a61b9000,2821c268,0,f96dfc18,a07e7092,...) at kern_lstat+0x4f
 lstat(a61b9000,f96dfcfc,8,a07d5fca,a080c090,...) at lstat+0x2f
 syscall(f96dfd38) at syscall+0x2b3
 Xint0x80_syscall() at Xint0x80_syscall+0x20
 --- syscall (190, FreeBSD ELF32, lstat), eip = 0x281a230b, esp = 
 0x9fbfe55c, ebp = 0x9fbfe5e8 ---
 uma_zalloc_arg: zone "256" with the following non-sleepable locks held:
 exclusive sleep mutex struct mount mtx r = 0 (0xa815e2cc) locked @ 
 /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_vfs.c:206
 KDB: stack backtrace:
 db_trace_self_wrapper(a07d3fd1,f99ae6ec,a05ca76d,a07d4342,f99ae700,...) 
 at db_trace_self_wrapper+0x26
 kdb_backtrace(a07d4342,f99ae700,4,1,0,...) at kdb_backtrace+0x29
 witness_warn(5,0,a07ea73d,a07e6167,a65cfcc0,...) at witness_warn+0x1cd
 uma_zalloc_arg(a18671e0,0,102,a815e29c,aea94cc0,...) at uma_zalloc_arg+0x34
 malloc(a0,a0811ba0,102,a815e29c,f99ae794,...) at malloc+0x51
 crget(a714f500,a0811ba0,a815e29c,f99ae7d8,a098cecc,...) at crget+0x23
 crdup(a5520700,0,a0a049bc,ce,c2,...) at crdup+0xc
 domount(a65cfcc0,aea94cc0,a0a09ae1,ae11acc0,f99ae814,...) at domount+0x20c
 zfsctl_snapdir_lookup(f99aeaa0,f99aea58,2,b039c660,f99aeac0,...) at 
 zfsctl_snapdir_lookup+0x362
 VOP_LOOKUP_APV(a0a0daa0,f99aeaa0,a65cfcc0,a07d9b3e,2a9,...) at 
 VOP_LOOKUP_APV+0x46
 lookup(f99aeb48,a07d9b3e,c6,bf,a668b12c,...) at lookup+0x57e
 namei(f99aeb48,f99aeb50,a058debd,a085d434,8,...) at namei+0x2bb
 kern_lstat(a65cfcc0,28453ca0,0,f99aec18,a07e7092,...) at kern_lstat+0x4f
 lstat(a65cfcc0,f99aecfc,8,a07d679d,a080c090,...) at
 lstat+0x2f
 syscall(f99aed38) at syscall+0x2b3
 Xint0x80_syscall() at Xint0x80_syscall+0x20
 --- syscall (190, FreeBSD ELF32, lstat), eip = 0x2831230b, esp = 
 0x9fbfe9ac, ebp = 0x9fbfea38 ---
 uma_zalloc_arg: zone "256" with the following non-sleepable locks held:
 exclusive sleep mutex struct mount mtx r = 0 (0xa815eaa0) locked @ 
 /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_vfs.c:206
 KDB: stack backtrace:
 db_trace_self_wrapper(a07d3fd1,f99ae6ec,a05ca76d,a07d4342,f99ae700,...) 
 at db_trace_self_wrapper+0x26
 kdb_backtrace(a07d4342,f99ae700,4,1,0,...) at kdb_backtrace+0x29
 witness_warn(5,0,a07ea73d,a07e6167,a65cfcc0,...) at witness_warn+0x1cd
 uma_zalloc_arg(a18671e0,0,102,a815ea70,aca7e990,...) at uma_zalloc_arg+0x34
 malloc(a0,a0811ba0,102,a815ea70,f99ae794,...) at malloc+0x51
 crget(a9186800,a0811ba0,a815ea70,f99ae7d8,a098cecc,...) at crget+0x23
 crdup(a5520700,0,a0a049bc,ce,c2,...) at crdup+0xc
 domount(a65cfcc0,aca7e990,a0a09ae1,adf54260,f99ae814,...) at domount+0x20c
 zfsctl_snapdir_lookup(f99aeaa0,f99aea58,2,af0eb660,f99aeac0,...) at 
 zfsctl_snapdir_lookup+0x362
 VOP_LOOKUP_APV(a0a0daa0,f99aeaa0,a65cfcc0,a07d9b3e,2a9,...) at 
 VOP_LOOKUP_APV+0x46
 lookup(f99aeb48,a07d9b3e,c6,bf,a668b12c,...) at lookup+0x57e
 namei(f99aeb48,f99aeb50,a058debd,a085d434,8,...) at namei+0x2bb
 kern_lstat(a65cfcc0,28453c80,0,f99aec18,a07e7092,...) at kern_lstat+0x4f
 lstat(a65cfcc0,f99aecfc,8,a07d679d,a080c090,...) at lstat+0x2f
 syscall(f99aed38) at syscall+0x2b3
 Xint0x80_syscall() at Xint0x80_syscall+0x20
 --- syscall (190, FreeBSD ELF32, lstat), eip = 0x2831230b, esp = 
 0x9fbfe9ac, ebp = 0x9fbfea38 ---
 
 Henri
 


More information about the freebsd-bugs mailing list