From owner-freebsd-current@FreeBSD.ORG Tue Jul 7 18:57:39 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAB4B1065675 for ; Tue, 7 Jul 2009 18:57:39 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6888FC13 for ; Tue, 7 Jul 2009 18:57:38 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id n67IvbqU093739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Jul 2009 20:57:37 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4A539AA0.3030901@omnilan.de> Date: Tue, 07 Jul 2009 20:57:36 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.21 (X11/20090425) MIME-Version: 1.0 To: FreeBSD-Current X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF835A6C57283DB3CD30B60EF" Subject: Where to report LORs? (ffs and unionfs LORs included 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: Tue, 07 Jul 2009 18:57:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF835A6C57283DB3CD30B60EF Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Hello, I remember when 7.0 was -current there was a specioal LOR reporting site.= Is it still the best place to report LORs? Currently I have some of them: lock order reversal: 1st 0xc88d88b8 ufs (ufs) @ /usr/src/sys/kern/vfs_lookup.c:492 2nd 0xd9ae0fb0 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_softdep.c:6= 170 3rd 0xc9d6a9c4 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2083 KDB: stack backtrace: db_trace_self_wrapper(c08430b6,ec8272cc,c05cfd9f,c05c170b,c0845f64,...)=20 at db_trace_self_wrapper+0x26 kdb_backtrace(c05c170b,c0845f64,c5a0ee28,c5a12a48,ec827328,...) at=20 kdb_backtrace+0x29 _witness_debugger(c0845f64,c9d6a9c4,c0838ab3,c5a12a48,c084d2d2,...) at=20 _witness_debugger+0x1e witness_checkorder(c9d6a9c4,9,c084d2d2,823,0,...) at=20 witness_checkorder+0x815 __lockmgr_args(c9d6a9c4,80100,c9d6a9e0,0,0,...) at __lockmgr_args+0x771 ffs_lock(ec827430,c05cfb7b,c084c7c5,80100,c9d6a96c,...) at ffs_lock+0x7d VOP_LOCK1_APV(c08ad460,ec827430,cae79524,c08c33a0,c9d6a96c,...) at=20 VOP_LOCK1_APV+0xaf _vn_lock(c9d6a96c,80100,c084d2d2,823,4,...) at _vn_lock+0x5e vget(c9d6a96c,80100,cae79480,50,0,...) at vget+0xb8 vfs_hash_get(cb207c94,9bc0b,80000,cae79480,ec82758c,...) at=20 vfs_hash_get+0xdf ffs_vgetf(cb207c94,9bc0b,80000,ec82758c,1,...) at ffs_vgetf+0x43 softdep_sync_metadata(c88d8860,0,c085ff5b,146,0,...) at=20 softdep_sync_metadata+0x5a6 ffs_syncvnode(c88d8860,1,ec827624,c05cfb7b,c083e509,...) at=20 ffs_syncvnode+0x3c9 ffs_truncate(c88d8860,200,0,880,cb0fc400,...) at ffs_truncate+0x644 ufs_direnter(c88d8860,cd399d9c,ec8278e4,ec827bd8,0,...) at=20 ufs_direnter+0x8e0 ufs_makeinode(ec827bd8) at ufs_makeinode+0x4df ufs_create(ec827acc,ec827ae4,0,0,ec827bac,...) at ufs_create+0x2c VOP_CREATE_APV(c08ad460,ec827acc,ec827bd8,ec827a64,0,...) at=20 VOP_CREATE_APV+0xa2 vn_open_cred(ec827bac,ec827c60,1a4,0,cb0fc400,...) at vn_open_cred+0x1fc vn_open(ec827bac,ec827c60,1a4,c7e080e0,c08e0102,...) at vn_open+0x3b kern_openat(cae79480,ffffff9c,33f53970,0,602,...) at kern_openat+0x116 kern_open(cae79480,33f53970,0,601,1b6,...) at kern_open+0x35 open(cae79480,ec827cf8,c,ec827d2c,c088e6ec,...) at open+0x30 syscall(ec827d38) at syscall+0x281 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (5, FreeBSD ELF32, open), eip =3D 0x33dd10fb, esp =3D=20 0xbfbfe02c, ebp =3D 0xbfbfe0b8 --- These two are with unionfs: lock order reversal: 1st 0xc62f08b8 unionfs (unionfs) @=20 /usr/src/sys/fs/unionfs/union_subr.c:356 2nd 0xc62f09c4 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2188 KDB: stack backtrace: db_trace_self_wrapper(c08430b6,e83a1868,c05cfd9f,c05c170b,c0845f4b,...)=20 at db_trace_self_wrapper+0x26 kdb_backtrace(c05c170b,c0845f4b,c5a12b80,c5a12a48,e83a18c4,...) at=20 kdb_backtrace+0x29 _witness_debugger(c0845f4b,c62f09c4,c0838ab3,c5a12a48,c084d2d2,...) at=20 _witness_debugger+0x1e witness_checkorder(c62f09c4,9,c084d2d2,88c,0,...) at=20 witness_checkorder+0x815 __lockmgr_args(c62f09c4,80100,c62f09e0,0,0,...) at __lockmgr_args+0x771 ffs_lock(e83a19cc,c5a12b80,c084d2d2,80100,c62f096c,...) at ffs_lock+0x7d VOP_LOCK1_APV(c08ad460,e83a19cc,c0582686,c08c33a0,c62f096c,...) at=20 VOP_LOCK1_APV+0xaf _vn_lock(c62f096c,80100,c084d2d2,88c,c07ff2d1,...) at _vn_lock+0x5e vrele(c62f096c,e83a1a54,c62f08d4,0,0,...) at vrele+0x126 unionfs_noderem(c62f0860,c61d6480,e83a1a94,c07fe256,e83a1ab4,...) at=20 unionfs_noderem+0x4ac unionfs_reclaim(e83a1ab4,1,0,c62f0860,e83a1ad8,...) at unionfs_reclaim+0x= 1b VOP_RECLAIM_APV(c088b7c0,e83a1ab4,0,0,c62f08d4,...) at VOP_RECLAIM_APV+0x= 9f vgonel(c62f08d4,0,c084d2d2,9c5,e83a1b38,...) at vgonel+0x1a9 vrecycle(c62f0860,c61d6480,e83a1b20,c07fe326,e83a1b38,...) at vrecycle+0x= 45 unionfs_inactive(e83a1b38,c62f08d4,c62f0860,c62f08d4,e83a1b50,...) at=20 unionfs_inactive+0x28 VOP_INACTIVE_APV(c088b7c0,e83a1b38,c084d2d2,924,c08c3360,...) at=20 VOP_INACTIVE_APV+0xa0 vinactive(c088b7c0,e83a1b6c,c084d2d2,8aa,e83a1bfc,...) at vinactive+0x82 vput(c62f0860,e83a1c1c,c08409ec,64a,400,...) at vput+0x1c0 kern_readlinkat(c61d6480,ffffff9c,33d7898f,0,bfbfe003,...) at=20 kern_readlinkat+0x16d kern_readlink(c61d6480,33d7898f,0,bfbfe003,0,...) at kern_readlink+0x3c readlink(c61d6480,e83a1cf8,c,c0846dc1,c088ecb8,...) at readlink+0x38 syscall(e83a1d38) at syscall+0x281 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (58, FreeBSD ELF32, readlink), eip =3D 0x33cfb3ff, esp =3D=20 0xbfbfdf8c, ebp =3D 0xbfbfe418 --- lock order reversal: 1st 0xc794082c filedesc structure (filedesc structure) @=20 /usr/src/sys/kern/kern_descrip.c:1088 2nd 0xc7f4bce8 ufs (ufs) @ /usr/src/sys/fs/unionfs/union_vnops.c:1821 KDB: stack backtrace: db_trace_self_wrapper(c08430b6,e847b9d0,c05cfd9f,c05c170b,c0845f4b,...)=20 at db_trace_self_wrapper+0x26 kdb_backtrace(c05c170b,c0845f4b,c5a0f100,c5a12a48,e847ba2c,...) at=20 kdb_backtrace+0x29 _witness_debugger(c0845f4b,c7f4bce8,c0838ab3,c5a12a48,c0834c57,...) at=20 _witness_debugger+0x1e witness_checkorder(c7f4bce8,9,c0834c57,71d,0,...) at=20 witness_checkorder+0x815 __lockmgr_args(c7f4bce8,80500,c7f4bd04,0,0,...) at __lockmgr_args+0x771 ffs_lock(e847bb4c,df,80500,80500,c7f5210c,...) at ffs_lock+0x7d VOP_LOCK1_APV(c08ad460,e847bb4c,c0834c57,71a,100000,...) at=20 VOP_LOCK1_APV+0xaf unionfs_lock(e847bb9c,4,0,80400,c7f5210c,...) at unionfs_lock+0x1d2 VOP_LOCK1_APV(c088b7c0,e847bb9c,c083acd9,c08c33a0,c7f5210c,...) at=20 VOP_LOCK1_APV+0xaf _vn_lock(c7f5210c,80400,c084d2d2,ffb,e847bbf8,...) at _vn_lock+0x5e vfs_knllock(c7f5210c,0,c083acd9,696,c7f4d088,...) at vfs_knllock+0x29 knlist_remove_kq(0,e847bc18,c0618395,c7d3801c,c7f4d088,...) at=20 knlist_remove_kq+0x85 knlist_remove(c7d3801c,c7f4d088,0,e847bc44,c05625ae,...) at=20 knlist_remove+0x1b filt_vfsdetach(c7f4d088,0,c083acd9,777,d,...) at filt_vfsdetach+0x39 knote_fdclose(c70f3b40,12cd,c083a810,440,c794082c,...) at knote_fdclose+0= xec kern_close(c70f3b40,12cd,e847bd2c,c07f304a,c70f3b40,...) at kern_close+0x= c8 close(c70f3b40,e847bcf8,4,c0846835,c088e708,...) at close+0x1a syscall(e847bd38) at syscall+0x281 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (6, FreeBSD ELF32, close), eip =3D 0x33f6de2b, esp =3D=20 0xbfbfe71c, ebp =3D 0xbfbfe738 --- Some more: lock order reversal: 1st 0xd9914750 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2558 2nd 0xc613f800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:2= 85 KDB: stack backtrace: db_trace_self_wrapper(c08430b6,e850e864,c05cfd9f,c05c170b,c0845f4b,...)=20 at db_trace_self_wrapper+0x26 kdb_backtrace(c05c170b,c0845f4b,c5a0ee28,c5a12ab0,e850e8c0,...) at=20 kdb_backtrace+0x29 _witness_debugger(c0845f4b,c613f800,c0860649,c5a12ab0,c08602e2,...) at=20 _witness_debugger+0x1e witness_checkorder(c613f800,9,c08602e2,11d,0,...) at=20 witness_checkorder+0x815 _sx_xlock(c613f800,0,c08602e2,11d,c70ca244,...) at _sx_xlock+0x7f ufsdirhash_acquire(d99146f0,e850e9d8,174,da423aa4,e850e990,...) at=20 ufsdirhash_acquire+0x31 ufsdirhash_add(c70ca244,e850e9d8,aa4,e850e97c,e850e980,...) at=20 ufsdirhash_add+0x13 ufs_direnter(c70d2a78,c799e430,e850e9d8,e850ebe0,0,...) at=20 ufs_direnter+0x713 ufs_makeinode(e850ebe0) at ufs_makeinode+0x4df ufs_create(e850ec04,e850ec18,e850eb4c,e850eb4c,0,...) at ufs_create+0x2c VOP_CREATE_APV(c08ad460,e850ec04,e850ebe0,e850eb4c,c6408aac,...) at=20 VOP_CREATE_APV+0xa2 uipc_bind(c7266ce0,c70df300,c7272b40,e850ec64,c05fa439,...) at=20 uipc_bind+0x31f sobind(c7266ce0,c70df300,c7272b40,c70df300,c71fee70,...) at sobind+0x23 kern_bind(c7272b40,4,c70df300,c70df300,c71c8d48,...) at kern_bind+0xaf bind(c7272b40,e850ecf8,c,c0846835,c088f1c0,...) at bind+0x42 syscall(e850ed38) at syscall+0x281 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (104, FreeBSD ELF32, bind), eip =3D 0x33d91bd3, esp =3D=20 0xbfbfe87c, ebp =3D 0xbfbfe978 --- lock order reversal: 1st 0xc7fb012c filedesc structure (filedesc structure) @=20 /usr/src/sys/kern/kern_descrip.c:1088 2nd 0xcac46ad0 pseudofs (pseudofs) @ /usr/src/sys/kern/vfs_subr.c:4091 KDB: stack backtrace: db_trace_self_wrapper(c08430b6,e84fba44,c05cfd9f,c05c170b,c0845f4b,...)=20 at db_trace_self_wrapper+0x26 kdb_backtrace(c05c170b,c0845f4b,c5a0f100,c5a12be8,e84fbaa0,...) at=20 kdb_backtrace+0x29 _witness_debugger(c0845f4b,cac46ad0,c08340c3,c5a12be8,c084d2d2,...) at=20 _witness_debugger+0x1e witness_checkorder(cac46ad0,9,c084d2d2,ffb,cac46aec,...) at=20 witness_checkorder+0x815 __lockmgr_args(cac46ad0,80400,cac46aec,0,0,0,c084d2d2,ffb) at=20 __lockmgr_args+0x771 vop_stdlock(e84fbb9c,4,0,80400,cac46a78,...) at vop_stdlock+0x5c VOP_LOCK1_APV(c088b540,e84fbb9c,c083acd9,c08c33a0,cac46a78,...) at=20 VOP_LOCK1_APV+0xaf _vn_lock(cac46a78,80400,c084d2d2,ffb,e84fbbf8,...) at _vn_lock+0x5e vfs_knllock(cac46a78,0,c083acd9,696,c703a94c,...) at vfs_knllock+0x29 knlist_remove_kq(0,e84fbc18,c0618395,cacf0364,c703a94c,...) at=20 knlist_remove_kq+0x85 knlist_remove(cacf0364,c703a94c,0,e84fbc44,c05625ae,...) at=20 knlist_remove+0x1b filt_vfsdetach(c703a94c,0,c083acd9,777,16,...) at filt_vfsdetach+0x39 knote_fdclose(c70f4b40,d6,c083a810,440,c7fb012c,...) at knote_fdclose+0xe= c kern_close(c70f4b40,d6,e84fbd2c,c07f304a,c70f4b40,...) at kern_close+0xc8= close(c70f4b40,e84fbcf8,4,c085afd4,c088e708,...) at close+0x1a syscall(e84fbd38) at syscall+0x281 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (6, FreeBSD ELF32, close), eip =3D 0x33f6de2b, esp =3D=20 0xbfbfe5bc, ebp =3D 0xbfbfe5d8 --- lock order reversal: 1st 0xc7917880 kqueue (kqueue) @ /usr/src/sys/kern/kern_event.c:1112 2nd 0xc1c900e8 system map (system map) @ /usr/src/sys/vm/vm_map.c:2762 KDB: stack backtrace: db_trace_self_wrapper(c08430b6,e847b960,c05cfd9f,c05c170b,c0845f4b,...)=20 at db_trace_self_wrapper+0x26 kdb_backtrace(c05c170b,c0845f4b,c5a0c318,c5a0c178,e847b9bc,...) at=20 kdb_backtrace+0x29 _witness_debugger(c0845f4b,c1c900e8,c0861f20,c5a0c178,c086243d,...) at=20 _witness_debugger+0x1e witness_checkorder(c1c900e8,9,c086243d,aca,0,...) at=20 witness_checkorder+0x815 _mtx_lock_flags(c1c900e8,0,c086243d,aca,c7b3c000,...) at=20 _mtx_lock_flags+0xb8 _vm_map_lock(c1c9008c,c086243d,aca,c79956a8,c7b3a000,...) at=20 _vm_map_lock+0x31 vm_map_remove(c1c9008c,c7b3a000,c7b3c000,e847ba48,c078d0b9,...) at=20 vm_map_remove+0x2a kmem_free(c1c9008c,c7b3a000,2000,e847ba60,c078df06,...) at kmem_free+0x30= page_free(c7b3a000,2000,22,2000,e847ba84,...) at page_free+0x46 uma_large_free(c79956a8,c083acd9,458,c7b3a000,600,...) at=20 uma_large_free+0x89 free(c7b3a000,c0892874,1400,458,c7917880,...) at free+0xe9 kqueue_expand(0,500,e847baec,328,df,...) at kqueue_expand+0xf4 kqueue_register(1,e847bb48,1,0,0,...) at kqueue_register+0x11e kern_kevent(c70f3b40,3,1,0,e847bc5c,...) at kern_kevent+0xd7 kevent(c70f3b40,e847bcf8,18,c0846c74,c0890e14,...) at kevent+0x197 syscall(e847bd38) at syscall+0x281 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (363, FreeBSD ELF32, kevent), eip =3D 0x33f50c2b, esp =3D=20 0xbfbfe48c, ebp =3D 0xbfbfe6a8 --- --------------enigF835A6C57283DB3CD30B60EF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpTmqEACgkQLDqVQ9VXb8iZLACdGBlWjCVpL9pkTWWalGBc8im8 gUwAnjTmHFvqlVcExX9/caYkdsBxUC6F =OEVC -----END PGP SIGNATURE----- --------------enigF835A6C57283DB3CD30B60EF--