From nobody@FreeBSD.org Mon May 31 15:41:24 2010 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 663171065672 for ; Mon, 31 May 2010 15:41:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4B04A8FC15 for ; Mon, 31 May 2010 15:41:24 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4VFfOhp089951 for ; Mon, 31 May 2010 15:41:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4VFfOYN089950; Mon, 31 May 2010 15:41:24 GMT (envelope-from nobody) Message-Id: <201005311541.o4VFfOYN089950@www.freebsd.org> Date: Mon, 31 May 2010 15:41:24 GMT From: Yuriy Kohut To: freebsd-gnats-submit@FreeBSD.org Subject: 8.0-RELEASE-p3 i386 Xen DomU filesystem "ufs vfs_lookup.c", "bufwait ffs_softdep.c" and "ufs vfs_subr.c" issue X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 147249 >Category: kern >Synopsis: 8.0-RELEASE-p3 i386 Xen DomU filesystem "ufs vfs_lookup.c", "bufwait ffs_softdep.c" and "ufs vfs_subr.c" issue >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 31 15:50:01 UTC 2010 >Closed-Date: Mon May 31 17:51:34 UTC 2010 >Last-Modified: Mon May 31 17:51:34 UTC 2010 >Originator: Yuriy Kohut >Release: 8.0-RELEASE-p3 >Organization: UK2 >Environment: FreeBSD freebsd 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #1: Mon May 31 20:17:57 EEST 2010 root@fbsd.devel:/mnt/usr/src/sys/XEN i386 >Description: lock order reversal: 1st 0xc27718b8 ufs (ufs) @ /usr/src/sys/kern/vfs_lookup.c:497 2nd 0xc6836740 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_softdep.c:6193 3rd 0xc1f3e8b8 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2083 KDB: stack backtrace: X_db_sym_numargs(c0361263,cc7ff2c8,c0119f85,c010a59b,c0364095,...) at X_db_sym_numargs+0x146 kdb_backtrace(c010a59b,c0364095,c16c86d8,c16caea8,cc7ff324,...) at kdb_backtrace+0x29 witness_display_spinlock(c0364095,c1f3e8b8,c035726b,c16caea8,c036b311,...) at witness_display_spinlock+0x75 witness_checkorder(c1f3e8b8,9,c036b311,823,0,...) at witness_checkorder+0x839 __lockmgr_args(c1f3e8b8,80100,c1f3e8d4,0,0,...) at __lockmgr_args+0x7a7 ffs_syncvnode(cc7ff434,c0119d2b,c036a7fa,80100,c1f3e860,...) at ffs_syncvnode+0x62a VOP_LOCK1_APV(c03bae00,cc7ff434,c1812e24,c03ccfc0,c1f3e860,...) at VOP_LOCK1_APV+0xb5 _vn_lock(c1f3e860,80100,c036b311,823,4,...) at _vn_lock+0x5e vget(c1f3e860,80100,c1812d80,50,0,...) at vget+0xb9 vfs_hash_get(c187ac94,2dbd,80000,c1812d80,cc7ff590,...) at vfs_hash_get+0xe6 ffs_vgetf(c187ac94,2dbd,80000,cc7ff590,1,...) at ffs_vgetf+0x49 softdep_sync_metadata(c2771860,0,c037d7d9,146,0,...) at softdep_sync_metadata+0x5ba ffs_syncvnode(c2771860,1,c035c91d,c03568cf,3,...) at ffs_syncvnode+0x3e2 ffs_truncate(c2771860,200,0,880,c187eb80,...) at ffs_truncate+0x66a ufs_direnter(c2771860,c27c153c,cc7ff8e8,cc7ffbe0,0,...) at ufs_direnter+0x8f6 ufs_itimes(cc7ffbe0,0,cc7ffacc,cc7ffa30,c033fac5,...) at ufs_itimes+0x12ac ufs_itimes(cc7ffacc,cc7ffae4,0,0,cc7ffbb4,...) at ufs_itimes+0x1590 VOP_CREATE_APV(c03bae00,cc7ffacc,2,c0119d2b,0,...) at VOP_CREATE_APV+0xa5 vn_open_cred(cc7ffbb4,cc7ffc6c,1a4,0,c187eb80,...) at vn_open_cred+0x1d3 vn_open(cc7ffbb4,cc7ffc6c,1a4,c188abd0,cc7ffc5c,...) at vn_open+0x3b kern_openat(c1812d80,ffffff9c,2831b3a4,0,602,...) at kern_openat+0x11f kern_open(c1812d80,2831b3a4,0,601,1b6,...) at kern_open+0x35 open(c1812d80,cc7ffd08,c,c,c039cd0c,...) at open+0x30 syscall(cc7ffd48) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x22 --- syscall (5, FreeBSD ELF32, open), eip = 0x281db763, esp = 0xbf7fe46c, ebp = 0xbf7fe508 --- >How-To-Repeat: 1. Install FreeBSD paravirtualized DomU according to the HOWTO at: http://forums.freebsd.org/showthread.php?t=10268 2. The only difference from the original HOWTO is guest disk based on real Linux LVM volume instead of file image. 3. Xen and Dom0 details Linux xen0.vps 2.6.18-164.15.1.el5xen #1 SMP Wed Mar 17 12:04:23 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux CentOS release 5.4 (Final) Xen version: 3.4.2 4. Log into FreeBSd DomU via ssh and run 'sysinstall' to install ports collection. 5. Enter /usr/ports/lang/ghc and run 'make' 6. Check FreeBSD main console output >Fix: The issue seems to be not critical. The FreeBSD VPS is still actions as usual. >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Mon May 31 17:51:05 UTC 2010 State-Changed-Why: Duplicate of kern/147248. http://www.freebsd.org/cgi/query-pr.cgi?pr=147249 >Unformatted: