Date: Tue, 24 Nov 2020 02:28:40 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251320] [PATCH] vfs_domount_first: do not crash on mount failure Message-ID: <bug-251320-227-1k7Y4nSDvc@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251320-227@https.bugs.freebsd.org/bugzilla/> References: <bug-251320-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251320 --- Comment #2 from Tong Zhang <ztong0001@gmail.com> --- (In reply to Konstantin Belousov from comment #1) lock order reversal: 1st 0xfffff80004da0258 ufs (ufs, lockmgr) @ /usr/src/sys/kern/vfs_mount.c:= 1739 2nd 0xfffff80004da0070 devfs (devfs, lockmgr) @ /usr/src/sys/kern/vfs_subr.c:3135 lock order devfs -> ufs established at: #0 0xffffffff80c47a2d at witness_checkorder+0x46d #1 0xffffffff80ba8c98 at lockmgr_lock_flags+0x188 #2 0xffffffff80e998e5 at ffs_lock+0x75 #3 0xffffffff80cd22a4 at _vn_lock+0x54 #4 0xffffffff80cb19d5 at vfs_domount+0xee5 #5 0xffffffff80cb0122 at vfs_donmount+0x872 #6 0xffffffff80cb44e7 at kernel_mount+0x57 #7 0xffffffff80cb6e11 at parse_mount+0x4a1 #8 0xffffffff80cb5319 at vfs_mountroot+0x589 #9 0xffffffff80b680af at start_init+0x1f #10 0xffffffff80b93e50 at fork_exit+0x80 #11 0xffffffff80ffaace at fork_trampoline+0xe lock order ufs -> devfs attempted at: #0 0xffffffff80c4838c at witness_checkorder+0xdcc #1 0xffffffff80ba8c98 at lockmgr_lock_flags+0x188 #2 0xffffffff80cd22a4 at _vn_lock+0x54 #3 0xffffffff80cbb5d1 at vput_final+0x111 #4 0xffffffff80e9762f at ffs_unmount+0x33f #5 0xffffffff80cb2abc at dounmount+0x42c #6 0xffffffff80cb261c at kern_unmount+0x2fc #7 0xffffffff8102715e at amd64_syscall+0x12e #8 0xffffffff80ffa39e at fast_syscall_common+0xf8 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251320-227-1k7Y4nSDvc>