From owner-freebsd-current@FreeBSD.ORG Mon Jun 2 05:45:45 2008 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 A176C106564A for ; Mon, 2 Jun 2008 05:45:45 +0000 (UTC) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.freebsd.org (Postfix) with ESMTP id 067618FC26 for ; Mon, 2 Jun 2008 05:45:44 +0000 (UTC) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 1B2B68CA0C3; Mon, 2 Jun 2008 13:26:31 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 186B38CA076 for ; Mon, 2 Jun 2008 13:26:30 +0800 (CST) Date: Mon, 2 Jun 2008 13:26:30 +0800 (CST) From: Tai-hwa Liang To: freebsd-current@freebsd.org Message-ID: <08060213205215.83104@www.mmlab.cse.yzu.edu.tw> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Multiple LORs in -CURRENT 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: Mon, 02 Jun 2008 05:45:45 -0000 Following LORs popped up after updating from an old HEAD(around Dec-2007) to today's -CURRENT. FreeBSD 8.0-CURRENT #17: Mon Jun 2 12:35:17 CST 2008 . . . pass0 at ata1 bus 0 target 0 lun 0 pass0: Removable CD-ROM SCSI-0 device pass0: 16.000MB/s transfers WARNING: WITNESS option enabled, expect reduced performance. lock order reversal: (sleepable after non-sleepable) 1st 0xc2fc801c struct mount mtx (struct mount mtx) @ kern/vfs_subr.c:343 2nd 0xc2fc8000 vfslock (vfslock) @ kern/vfs_subr.c:370 KDB: stack backtrace: db_trace_self_wrapper(c06f3059,c2a71b64,c058318e,c06f56a6,c2fc8000,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c06f56a6,c2fc8000,c06fb51a,c06fb51a,c06fbacb,...) at kdb_backtrace+0x29 witness_checkorder(c2fc8000,1,c06fbac2,172,c076aab8,...) at witness_checkorder+0x6de __lockmgr_args(c2fc8000,200100,c2fc801c,0,0,...) at __lockmgr_args+0x230 vfs_busy(c2fc8000,200,0,c2c4c000,1,...) at vfs_busy+0x1bc vfs_mount_alloc(0,c07224e0,c06fb868,c2c4c000,c05c1f60,...) at vfs_mount_alloc+0x78 vfs_mountroot(c0764af0,4,c06eb522,264,c057aaf4,...) at vfs_mountroot+0x26c start_init(0,c2a71d38,c06ece31,324,c2c4a000,...) at start_init+0x65 fork_exit(c05126d0,0,c2a71d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc2a71d70, ebp = 0 --- lock order reversal: (sleepable after non-sleepable) 1st 0xc2ed9e10 vnode interlock (vnode interlock) @ fs/devfs/devfs_vnops.c:288 2nd 0xc2ed9df4 devfs (devfs) @ kern/vfs_subr.c:2044 KDB: stack backtrace: db_trace_self_wrapper(c06f3059,c2a71a8c,c058318e,c06f56a6,c2ed9df4,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c06f56a6,c2ed9df4,c06e874c,c06e874c,c06fbacb,...) at kdb_backtrace+0x29 witness_checkorder(c2ed9df4,9,c06fbac2,7fc,c2ed9df4,...) at witness_checkorder+0x6de __lockmgr_args(c2ed9df4,80100,c2ed9e10,0,0,...) at __lockmgr_args+0x766 vop_stdlock(c2a71b8c,c06e8903,c06f50a6,80100,c2ed9d9c,...) at vop_stdlock+0x62 VOP_LOCK1_APV(c07225c0,c2a71b8c,c0748320,c2ed9d9c,80100,...) at VOP_LOCK1_APV+0xa5 _vn_lock(c2ed9d9c,80100,c06fbac2,7fc,c06e88fa,...) at _vn_lock+0x5e vget(c2ed9d9c,80100,c2c4c000,121,c06e889b,...) at vget+0x9c devfs_allocv(c2faac00,c2fc8000,c2a71c20,c2c4c000,c2c4c0a4,...) at devfs_allocv+0x11a devfs_root(c2fc8000,80000,c07b2234,c2c4c000,4,...) at devfs_root+0x51 set_rootvnode(c07b2220,0,c06fb41b,5f4,c05c1f60,...) at set_rootvnode+0x2d vfs_mountroot(c0764af0,4,c06eb522,264,c057aaf4,...) at vfs_mountroot+0x34c start_init(0,c2a71d38,c06ece31,324,c2c4a000,...) at start_init+0x65 fork_exit(c05126d0,0,c2a71d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc2a71d70, ebp = 0 --- lock order reversal: 1st 0xc2ed9df4 devfs (devfs) @ kern/vfs_subr.c:2044 2nd 0xc2fa7614 devfsmount (devfsmount) @ fs/devfs/devfs_vnops.c:292 KDB: stack backtrace: db_trace_self_wrapper(c06f3059,c2a71bb0,c058318e,c06f56a6,c2fa7614,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c06f56a6,c2fa7614,c06e88e0,c06e88e0,c06e8903,...) at kdb_backtrace+0x29 witness_checkorder(c2fa7614,9,c06e88fa,124,122,...) at witness_checkorder+0x6de _sx_xlock(c2fa7614,0,c06e88fa,124,c06e889b,...) at _sx_xlock+0x7d devfs_allocv(c2faac00,c2fc8000,c2a71c20,c2c4c000,c2c4c0a4,...) at devfs_allocv+0x13f devfs_root(c2fc8000,80000,c07b2234,c2c4c000,4,...) at devfs_root+0x51 set_rootvnode(c07b2220,0,c06fb41b,5f4,c05c1f60,...) at set_rootvnode+0x2d vfs_mountroot(c0764af0,4,c06eb522,264,c057aaf4,...) at vfs_mountroot+0x34c start_init(0,c2a71d38,c06ece31,324,c2c4a000,...) at start_init+0x65 fork_exit(c05126d0,0,c2a71d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc2a71d70, ebp = 0 --- Trying to mount root from ufs:/dev/ad0s3a lock order reversal: (sleepable after non-sleepable) 1st 0xc2ed9b20 bufobj interlock (bufobj interlock) @ kern/vfs_bio.c:2442 2nd 0xc292fe80 bufwait (bufwait) @ kern/vfs_bio.c:2456 KDB: stack backtrace: db_trace_self_wrapper(c06f3059,c2a71788,c058318e,c06f56a6,c292fe80,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c06f56a6,c292fe80,c06fa413,c06fa413,c06f9984,...) at kdb_backtrace+0x29 witness_checkorder(c292fe80,9,c06f997b,998,c076aab8,...) at witness_checkorder+0x6de __lockmgr_args(c292fe80,81900,c2ed9b20,c06fa36f,50,...) at __lockmgr_args+0x766 getblk(c2ed9a78,0,0,800,0,...) at getblk+0x153 breadn(c2ed9a78,0,0,800,0,...) at breadn+0x44 bread(c2ed9a78,0,0,800,0,...) at bread+0x4c ffs_blkatoff(c2ed9a78,0,0,0,c2a719a8,...) at ffs_blkatoff+0xd1 ufs_lookup(c2a719ec,c2ed9a78,c2a71b50,c2ed9a78,c2a71a0c,...) at ufs_lookup+0x2e6 VOP_CACHEDLOOKUP_APV(c073b640,c2a719ec,c2a71b50,c2a71b3c,c2c53100,...) at VOP_CACHEDLOOKUP_APV+0xa5 vfs_cache_lookup(c2a71a6c,c2a71a6c,c2a71b50,80000,c2ed9a78,...) at vfs_cache_lookup+0xd0 VOP_LOOKUP_APV(c073b640,c2a71a6c,c2a71b50,1b0,c2a71b3c,...) at VOP_LOOKUP_APV+0xa5 lookup(c2a71b24,c06fb1e7,d8,c0,c2c5322c,...) at lookup+0x54e namei(c2a71b24,c2a71b28,c058296c,c06fb51a,c07b1a68,...) at namei+0x38b kern_unlinkat(c2c4c000,ffffff9c,c06fb864,1,c2a71c5c,...) at kern_unlinkat+0x46 kern_unlink(c2c4c000,c06fb864,1,62f,0,...) at kern_unlink+0x27 vfs_mountroot_try(c06fba1e,c06d636a,c06fb869,1,c05c1f60,...) at vfs_mountroot_try+0x472 vfs_mountroot(c0764af0,4,c06eb522,264,c057aaf4,...) at vfs_mountroot+0x40e start_init(0,c2a71d38,c06ece31,324,c2c4a000,...) at start_init+0x65 fork_exit(c05126d0,0,c2a71d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc2a71d70, ebp = 0 --- start_init: trying /sbin/init