From nobody Fri Feb 17 01:17:42 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PHv7W0px8z3r9lw for ; Fri, 17 Feb 2023 01:17:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PHv7V640Jz4X8w for ; Fri, 17 Feb 2023 01:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676596662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bw95Wo4fMYgN1IleHTvvJoPEfElLV1R00NtrDNPFGb8=; b=otkKv8i+C64xLIjcYdsVqN6NVGG7+WCN2N5DVL7K45FtUVk1DoLU0rs067f2lAXTQI9uPc lq5+YP+O3L5Zq0EL9tW4Alclxz8LfxKpntgh4Zw77GykOHUj8NFVV6RKue5rLa65AxYyjz Xqw3A57OYjinxFd2GUOUo9dvP9rXTSxQ75DCunSPANsu6F2drb7ceO5x0rJlEwbfKV51qj oRumkzvgUvlIo/fBXew8PKb85NgMnMgFfhyhRcD2FkR8ZzUa1uJxAGqda5GcDGMxMX6V9F BL2vfyeTf+lwP6eY1UU88YbTYNIZ2Hx/QwDNSjgmmt+f19y1XYIBs1DOLyDW2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676596662; a=rsa-sha256; cv=none; b=jjA1YBH4ERBeWfjik6vLMWCI4oAbLCIYwrHbvPRAH5MXNNJLVtXeb0RLMkb5MSAT7Xvm8W YsuKD2dIdVfFsdKg4I7ZHxd1ulHD2xyHOiUDyKHRhjXUr0gDkFu9aVhEYVZHWD6YCreG/T hF3a0mnBchzqc84oNRYmsolhPbrawBXV4/u6bGiLVZJv5kIpWLrfj7JhsSHSl82vBP/4n3 6rMEYDcPwXRUZloIhnVkEuXsfSQ2zAuua4hR+fVe2TA6v9tRbPSSX/iW/y6rB+ripsazzc zWP5bZybXfEiUTjeg57nrEd8s4WQwCsiVYVc6NtjHrAnrTECr8bOhlXlU82sEg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PHv7V51vhzPQy for ; Fri, 17 Feb 2023 01:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 31H1HgMB024200 for ; Fri, 17 Feb 2023 01:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31H1HggS024199 for bugs@FreeBSD.org; Fri, 17 Feb 2023 01:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269608] [lor] Lock order reversal ufs/defs/nullfs Date: Fri, 17 Feb 2023 01:17:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: artem@artem.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269608 Bug ID: 269608 Summary: [lor] Lock order reversal ufs/defs/nullfs Product: Base System Version: 13.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: artem@artem.ru Created attachment 240195 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240195&action= =3Dedit startup lor Running 13-stable. gmirror, SU, SU journaling On every boot i get LOR and on shutdown too startup lor is in the attachement (between ufs/nullfs/devfs) the shutdown lor is this: Feb 17 03:55:36 omni kernel: lock order reversal: Feb 17 03:55:36 omni kernel: 1st 0xfffffe0107607040 struct mount mtx (stru= ct mount mtx, sleep mutex) @ /usr/src/sys/ufs/ffs/ffs_softdep.c:2150 Feb 17 03:55:36 omni kernel: 2nd 0xfffff80006a0a898 FFS (FFS Lock, sleep mutex) @ /usr/src/sys/ufs/ffs/ffs_softdep.c:2153 Feb 17 03:55:36 omni kernel: lock order FFS Lock -> struct mount mtx established at: Feb 17 03:55:36 omni kernel: #0 0xffffffff80cab8cd at witness_checkorder+0x= 32d Feb 17 03:55:36 omni kernel: #1 0xffffffff80c194e4 at __mtx_lock_flags+0x94 Feb 17 03:55:36 omni kernel: #2 0xffffffff80fb56ed at quotaoff_inchange+0xbd Feb 17 03:55:36 omni kernel: #3 0xffffffff80fa4e3a at ffs_flushfiles+0x12a Feb 17 03:55:36 omni kernel: #4 0xffffffff80f8455d at softdep_flushfiles+0x= ad Feb 17 03:55:36 omni kernel: #5 0xffffffff80fa675a at ffs_unmount+0x6a Feb 17 03:55:36 omni kernel: #6 0xffffffff80d1a221 at dounmount+0x391 Feb 17 03:55:36 omni kernel: #7 0xffffffff80d2699a at vfs_unmountall+0x6a Feb 17 03:55:36 omni kernel: #8 0xffffffff80cf946c at bufshutdown+0x31c Feb 17 03:55:36 omni kernel: #9 0xffffffff80c3e733 at kern_reboot+0x203 Feb 17 03:55:36 omni kernel: #10 0xffffffff80c3e4d0 at sys_reboot+0x390 Feb 17 03:55:36 omni kernel: #11 0xffffffff8113752e at amd64_syscall+0x12e Feb 17 03:55:36 omni kernel: #12 0xffffffff8110b7cb at fast_syscall_common+= 0xf8 Feb 17 03:55:36 omni kernel: lock order struct mount mtx -> FFS Lock attemp= ted at: Feb 17 03:55:36 omni kernel: #0 0xffffffff80cac19d at witness_checkorder+0x= bfd Feb 17 03:55:36 omni kernel: #1 0xffffffff80c194e4 at __mtx_lock_flags+0x94 Feb 17 03:55:36 omni kernel: #2 0xffffffff80f84844 at softdep_flushfiles+0x= 394 Feb 17 03:55:36 omni kernel: #3 0xffffffff80fa675a at ffs_unmount+0x6a Feb 17 03:55:36 omni kernel: #4 0xffffffff80d1a221 at dounmount+0x391 Feb 17 03:55:36 omni kernel: #5 0xffffffff80d2699a at vfs_unmountall+0x6a Feb 17 03:55:36 omni kernel: #6 0xffffffff80cf946c at bufshutdown+0x31c Feb 17 03:55:36 omni kernel: #7 0xffffffff80c3e733 at kern_reboot+0x203 Feb 17 03:55:36 omni kernel: #8 0xffffffff80c3e4d0 at sys_reboot+0x390 Feb 17 03:55:36 omni kernel: #9 0xffffffff8113752e at amd64_syscall+0x12e Feb 17 03:55:36 omni kernel: #10 0xffffffff8110b7cb at fast_syscall_common+= 0xf8 --=20 You are receiving this mail because: You are the assignee for the bug.=