From owner-freebsd-current@FreeBSD.ORG Sat Apr 7 20:04:24 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3DA416A400 for ; Sat, 7 Apr 2007 20:04:23 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 24E0B13C4BD for ; Sat, 7 Apr 2007 20:04:23 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3682F487F4; Sat, 7 Apr 2007 22:04:22 +0200 (CEST) Received: from localhost (cvl74.internetdsl.tpnet.pl [83.19.93.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id A442D45685; Sat, 7 Apr 2007 22:04:07 +0200 (CEST) Date: Sat, 7 Apr 2007 22:03:56 +0200 From: Pawel Jakub Dawidek To: Richard Arends Message-ID: <20070407200356.GP63916@garage.freebsd.pl> References: <20070406214325.GB61039@garage.freebsd.pl> <20070407075435.GP20680@sun.unixguru.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EkxpYdHiqGHPYbUt" Content-Disposition: inline In-Reply-To: <20070407075435.GP20680@sun.unixguru.nl> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-current@FreeBSD.org Subject: Re: ZFS - quick start. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 20:04:24 -0000 --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--