From owner-freebsd-current@FreeBSD.ORG Fri May 16 14:32:46 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EF11889 for ; Fri, 16 May 2014 14:32:46 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A32822551 for ; Fri, 16 May 2014 14:32:44 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WlJBe-0003sX-6b for freebsd-current@freebsd.org; Fri, 16 May 2014 16:32:38 +0200 Received: from 208.85.208.53 ([208.85.208.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 May 2014 16:32:38 +0200 Received: from atkin901 by 208.85.208.53 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 May 2014 16:32:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Subject: New ufs LOR. Date: Fri, 16 May 2014 07:32:25 -0700 Lines: 66 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 208.85.208.53 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 X-Enigmail-Version: 1.6 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 16 May 2014 14:32:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mounted a drive with -o sync this morning on r266123 and got a LOR I had not seen before (ufs/soft updates) lock order reversal: 1st 0xfffff8005904db78 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2101 2nd 0xfffffe00efe72080 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:262 3rd 0xfffff8005921bb78 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2101 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011a213380 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe011a213430 witness_checkorder() at witness_checkorder+0xdc2/frame 0xfffffe011a2134c0 __lockmgr_args() at __lockmgr_args+0x9ca/frame 0xfffffe011a2135f0 ffs_lock() at ffs_lock+0x84/frame 0xfffffe011a213640 VOP_LOCK1_APV() at VOP_LOCK1_APV+0xfc/frame 0xfffffe011a213670 _vn_lock() at _vn_lock+0xaa/frame 0xfffffe011a2136e0 vget() at vget+0x67/frame 0xfffffe011a213720 vfs_hash_get() at vfs_hash_get+0xe1/frame 0xfffffe011a213770 ffs_vgetf() at ffs_vgetf+0x40/frame 0xfffffe011a213800 softdep_sync_buf() at softdep_sync_buf+0xafc/frame 0xfffffe011a2138e0 ffs_syncvnode() at ffs_syncvnode+0x286/frame 0xfffffe011a213960 softdep_fsync() at softdep_fsync+0x59e/frame 0xfffffe011a213a00 ffs_fsync() at ffs_fsync+0x60/frame 0xfffffe011a213a30 VOP_FSYNC_APV() at VOP_FSYNC_APV+0xf7/frame 0xfffffe011a213a60 sys_fsync() at sys_fsync+0x175/frame 0xfffffe011a213ae0 amd64_syscall() at amd64_syscall+0x25a/frame 0xfffffe011a213bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe011a213bf0 - --- syscall (95, FreeBSD ELF64, sys_fsync), rip = 0x80308230a, rsp = 0x7fffffffe688, rbp = 0x7fffffffe6a0 --- Also I always get this one during installworld for, like the last 2.5 years or more. Any chance on nuking it? lock order reversal: 1st 0xfffffe00ef0962e0 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3081 2nd 0xfffff8000652e400 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:284 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011a009410 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe011a0094c0 witness_checkorder() at witness_checkorder+0xdc2/frame 0xfffffe011a009550 _sx_xlock() at _sx_xlock+0x75/frame 0xfffffe011a009590 ufsdirhash_add() at ufsdirhash_add+0x3a/frame 0xfffffe011a0095d0 ufs_direnter() at ufs_direnter+0x6a0/frame 0xfffffe011a009690 ufs_mkdir() at ufs_mkdir+0x89c/frame 0xfffffe011a009880 VOP_MKDIR_APV() at VOP_MKDIR_APV+0xf7/frame 0xfffffe011a0098b0 kern_mkdirat() at kern_mkdirat+0x209/frame 0xfffffe011a009ae0 amd64_syscall() at amd64_syscall+0x25a/frame 0xfffffe011a009bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe011a009bf0 - --- syscall (136, FreeBSD ELF64, sys_mkdir), rip = 0x80095550a, rsp = 0x7fffffffea08, rbp = 0x7fffffffebd0 --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlN2IXkACgkQrDN5kXnx8yas9wCfdrUSzmr647EhHndH7RR5tSMI QPAAnj+yA/XZQ+ZsnEc3l8SiC7q4L2n5 =gqxv -----END PGP SIGNATURE-----