Re: ZFS - quick start.

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sat, 7 Apr 2007 22:03:56 +0200
On Sat, Apr 07, 2007 at 09:54:35AM +0200, Richard Arends wrote:
> On Fri, Apr 06, 2007 at 11:43:25PM +0200, Pawel Jakub Dawidek wrote:
> 
> > Ok, ZFS is now in the tree, what's now? Below you'll find some
> > instructions how to quickly make it up and running.
> 
> I got a few LOR's trying out your instructions.
> 
> Apr  7 09:46:36 base kernel: lock order reversal:
> Apr  7 09:46:36 base kernel: 1st 0xc6f4cb20 zfs:&dr->dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) _at_ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1865
> Apr  7 09:46:36 base kernel: 2nd 0xc5db1988 zfs:&db->db_mtx (zfs:&db->db_mtx) _at_ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1836
> Apr  7 09:46:36 base kernel: KDB: stack backtrace:
> Apr  7 09:46:36 base kernel: db_trace_self_wrapper(c094b931) at db_trace_self_wrapper+0x25
> Apr  7 09:46:36 base kernel: kdb_backtrace(0,ffffffff,c0a5aca8,c0a5afa0,c09f64ec,...) at kdb_backtrace+0x29
> Apr  7 09:46:36 base kernel: witness_checkorder(c5db1988,9,c5672404,72c) at witness_checkorder+0x586
> Apr  7 09:46:36 base kernel: _sx_xlock(c5db1988,c5672404,72c,c1474788,728,...) at _sx_xlock+0x3e
> Apr  7 09:46:36 base kernel: dbuf_sync_list(c6f4cb38,c72a1a00,c094ab6c,91,c5673ab1,...) at dbuf_sync_list+0x5e
> Apr  7 09:46:36 base kernel: dbuf_sync_list(c5df10b0,c72a1a00,e8120b84,c562a5c5,c5af4c00,...) at dbuf_sync_list+0xde
> Apr  7 09:46:36 base kernel: dnode_sync(c5df1000,c72a1a00,135,0,c591d800,...) at dnode_sync+0x3a8
> Apr  7 09:46:36 base kernel: dmu_objset_sync(c54b1e00,c5af4c00,c72a1a00,c52db54c,c54b1200,...) at dmu_objset_sync+0xf6
> Apr  7 09:46:36 base kernel: dsl_pool_sync(c52db400,135,0,c54bb000,135,...) at dsl_pool_sync+0x6d
> Apr  7 09:46:36 base kernel: spa_sync(c54bb000,135,0,c52db4ac,c5675b03,...) at spa_sync+0x33f
> Apr  7 09:46:36 base kernel: txg_sync_thread(c52db400,e8120d38) at txg_sync_thread+0x183
> Apr  7 09:46:36 base kernel: fork_exit(c5645fcc,c52db400,e8120d38) at fork_exit+0xac
> Apr  7 09:46:36 base kernel: fork_trampoline() at fork_trampoline+0x8
> Apr  7 09:46:36 base kernel: --- trap 0, eip = 0, esp = 0xe8120d70, ebp = 0 ---
> Apr  7 09:46:36 base kernel: lock order reversal:
> Apr  7 09:46:36 base kernel: 1st 0xc72897e4 zfs:&db->db_mtx (zfs:&db->db_mtx) _at_ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c:417
> Apr  7 09:46:36 base kernel: 2nd 0xc728e770 zfs:&zp->z_lock (zfs:&zp->z_lock) _at_ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c:73
> Apr  7 09:46:36 base kernel: KDB: stack backtrace:
> Apr  7 09:46:36 base kernel: db_trace_self_wrapper(c094b931) at db_trace_self_wrapper+0x25
> Apr  7 09:46:36 base kernel: kdb_backtrace(0,ffffffff,c0a5afa0,c0a5ae10,c09f64ec,...) at kdb_backtrace+0x29
> Apr  7 09:46:36 base kernel: witness_checkorder(c728e770,9,c5676a28,49) at witness_checkorder+0x586
> Apr  7 09:46:36 base kernel: _sx_xlock(c728e770,c5676a28,49,c5672d26,e81209d8,...) at _sx_xlock+0x3e
> Apr  7 09:46:36 base kernel: znode_pageout_func(c72897a8,c728e760,c72897a8,e8120a04,c5621a59,...) at znode_pageout_func+0x1f
> Apr  7 09:46:36 base kernel: dbuf_evict_user(c5db1690,c72897a8,0,c7283c60,e8120a14,...) at dbuf_evict_user+0x31
> Apr  7 09:46:36 base kernel: dbuf_clear(c72897a8,0,e8120ad4,c5630f11,c72897a8,...) at dbuf_clear+0x1d
> Apr  7 09:46:36 base kernel: dbuf_evict(c72897a8,c72897e4,c5672d26,1a1,c7283c48,...) at dbuf_evict+0xd
> Apr  7 09:46:36 base kernel: dnode_evict_dbufs(c7283ae0,0,255,14,0,...) at dnode_evict_dbufs+0x1fd
> Apr  7 09:46:36 base kernel: dnode_sync(c7283ae0,c72a1a00,c54b1eb8,c7283ae0,10,...) at dnode_sync+0x257
> Apr  7 09:46:36 base kernel: dmu_objset_sync_dnodes(c5df1000,c72a1a00,135,0,c591d800,...) at dmu_objset_sync_dnodes+0x29
> Apr  7 09:46:36 base kernel: dmu_objset_sync(c54b1e00,c5af4c00,c72a1a00,c52db54c,c54b1200,...) at dmu_objset_sync+0x112
> Apr  7 09:46:36 base kernel: dsl_pool_sync(c52db400,135,0,c54bb000,135,...) at dsl_pool_sync+0x6d
> Apr  7 09:46:36 base kernel: spa_sync(c54bb000,135,0,c52db4ac,c5675b03,...) at spa_sync+0x33f
> Apr  7 09:46:36 base kernel: txg_sync_thread(c52db400,e8120d38) at txg_sync_thread+0x183
> Apr  7 09:46:36 base kernel: fork_exit(c5645fcc,c52db400,e8120d38) at fork_exit+0xac
> Apr  7 09:46:36 base kernel: fork_trampoline() at fork_trampoline+0x8
> Apr  7 09:46:36 base kernel: --- trap 0, eip = 0, esp = 0xe8120d70, ebp = 0 ---

I think I saw them both. One is already documented at:

	http://perforce.freebsd.org/fileDownLoad.cgi?FSPC=//depot/user/pjd/zfs/LOR&REV=1

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Sat Apr 07 2007 - 18:04:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC