Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2007 22:03:56 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Richard Arends <richard@unixguru.nl>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: ZFS - quick start.
Message-ID:  <20070407200356.GP63916@garage.freebsd.pl>
In-Reply-To: <20070407075435.GP20680@sun.unixguru.nl>
References:  <20070406214325.GB61039@garage.freebsd.pl> <20070407075435.GP20680@sun.unixguru.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--EkxpYdHiqGHPYbUt
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> > Ok, ZFS is now in the tree, what's now? Below you'll find some
> > instructions how to quickly make it up and running.
>=20
> I got a few LOR's trying out your instructions.
>=20
> 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:&d=
r->dt.di.dr_mtx) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/c=
ommon/fs/zfs/dbuf.c:1865
> Apr  7 09:46:36 base kernel: 2nd 0xc5db1988 zfs:&db->db_mtx (zfs:&db->db_=
mtx) @ /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,c=
09f64ec,...) 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,c5=
62a5c5,c5af4c00,...) at dbuf_sync_list+0xde
> Apr  7 09:46:36 base kernel: dnode_sync(c5df1000,c72a1a00,135,0,c591d800,=
=2E..) at dnode_sync+0x3a8
> Apr  7 09:46:36 base kernel: dmu_objset_sync(c54b1e00,c5af4c00,c72a1a00,c=
52db54c,c54b1200,...) at dmu_objset_sync+0xf6
> Apr  7 09:46:36 base kernel: dsl_pool_sync(c52db400,135,0,c54bb000,135,..=
=2E) at dsl_pool_sync+0x6d
> Apr  7 09:46:36 base kernel: spa_sync(c54bb000,135,0,c52db4ac,c5675b03,..=
=2E) at spa_sync+0x33f
> Apr  7 09:46:36 base kernel: txg_sync_thread(c52db400,e8120d38) at txg_sy=
nc_thread+0x183
> Apr  7 09:46:36 base kernel: fork_exit(c5645fcc,c52db400,e8120d38) at for=
k_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 =3D 0, esp =3D 0xe8120d70, e=
bp =3D 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) @ /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_l=
ock) @ /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,c=
09f64ec,...) at kdb_backtrace+0x29
> Apr  7 09:46:36 base kernel: witness_checkorder(c728e770,9,c5676a28,49) a=
t witness_checkorder+0x586
> Apr  7 09:46:36 base kernel: _sx_xlock(c728e770,c5676a28,49,c5672d26,e812=
09d8,...) at _sx_xlock+0x3e
> Apr  7 09:46:36 base kernel: znode_pageout_func(c72897a8,c728e760,c72897a=
8,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,c728=
97a8,...) at dbuf_clear+0x1d
> Apr  7 09:46:36 base kernel: dbuf_evict(c72897a8,c72897e4,c5672d26,1a1,c7=
283c48,...) at dbuf_evict+0xd
> Apr  7 09:46:36 base kernel: dnode_evict_dbufs(c7283ae0,0,255,14,0,...) a=
t dnode_evict_dbufs+0x1fd
> Apr  7 09:46:36 base kernel: dnode_sync(c7283ae0,c72a1a00,c54b1eb8,c7283a=
e0,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,c=
52db54c,c54b1200,...) at dmu_objset_sync+0x112
> Apr  7 09:46:36 base kernel: dsl_pool_sync(c52db400,135,0,c54bb000,135,..=
=2E) at dsl_pool_sync+0x6d
> Apr  7 09:46:36 base kernel: spa_sync(c54bb000,135,0,c52db4ac,c5675b03,..=
=2E) at spa_sync+0x33f
> Apr  7 09:46:36 base kernel: txg_sync_thread(c52db400,e8120d38) at txg_sy=
nc_thread+0x183
> Apr  7 09:46:36 base kernel: fork_exit(c5645fcc,c52db400,e8120d38) at for=
k_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 =3D 0, esp =3D 0xe8120d70, e=
bp =3D 0 ---

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

	http://perforce.freebsd.org/fileDownLoad.cgi?FSPC=3D//depot/user/pjd/zfs/L=
OR&REV=3D1

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

--EkxpYdHiqGHPYbUt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGF/ksForvXbEpPzQRAoqDAKCUGVhaJggSu90oufC/DSTihDAs/wCg1sWh
1gXZF9x/Gvomdi+4tPoWwSU=
=12t8
-----END PGP SIGNATURE-----

--EkxpYdHiqGHPYbUt--



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