Date: Sun, 3 May 2020 14:18:07 +0100 From: Grzegorz Junka <list1@gjunka.com> To: freebsd-current@freebsd.org, bzeeb+freebsd+lor@zabbadoz.net Subject: Re: lock order reversal and poudriere Message-ID: <0c256497-955c-122e-400a-8642f90b8e97@gjunka.com> In-Reply-To: <68514e96-f1a5-0c8d-998f-bf81034ed61d@gjunka.com> References: <68514e96-f1a5-0c8d-998f-bf81034ed61d@gjunka.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/05/2020 10:08, Grzegorz Junka wrote: > I am compiling some packages with poudriere on 13-current kernel. I > noticed some strange messages printed into the terminal and dmesg: > > lock order reversal: > 1st 0xfffff8010ca78250 zfs (zfs) @ /usr/src-13/sys/kern/vfs_mount.c:1005 > 2nd 0xfffff8010cd37250 devfs (devfs) @ > /usr/src-13/sys/kern/vfs_mount.c:1016 > stack backtrace: > #0 0xffffffff80c2d5f1 at witness_debugger+0x71 > #1 0xffffffff80b92f18 at lockmgr_lock_flags+0x188 > #2 0xffffffff80cae744 at _vn_lock+0x54 > #3 0xffffffff80c90756 at vfs_domount+0xd16 > #4 0xffffffff80c8efd1 at vfs_donmount+0x871 > #5 0xffffffff80c8e729 at sys_nmount+0x69 > #6 0xffffffff81060c40 at amd64_syscall+0x140 > #7 0xffffffff810370a0 at fast_syscall_common+0x101 > pid 17216 (conftest), jid 6, uid 0: exited on signal 11 > pid 51159 (conftest), jid 6, uid 0: exited on signal 11 > pid 23833 (conftest), jid 3, uid 0: exited on signal 11 > pid 4916 (conftest), jid 3, uid 0: exited on signal 11 > > (... then there is a bunch of similar ones, then ...) > > pid 14504 (conftest), jid 3, uid 0: exited on signal 11 > pid 27466 (conftest), jid 6, uid 0: exited on signal 11 > pid 43297 (conftest), jid 5, uid 0: exited on signal 11 > lock order reversal: > 1st 0xfffffe00bc68c030 filedesc structure (filedesc structure) @ > /usr/src-13/sys/kern/sys_generic.c:1557 > 2nd 0xfffff803baeddbd8 tmpfs (tmpfs) @ > /usr/src-13/sys/kern/vfs_vnops.c:1553 > stack backtrace: > #0 0xffffffff80c2d5f1 at witness_debugger+0x71 > #1 0xffffffff80b946b5 at lockmgr_xlock+0x55 > #2 0xffffffff80cae744 at _vn_lock+0x54 > #3 0xffffffff80cad0da at vn_poll+0x3a > #4 0xffffffff80c33e19 at kern_poll+0x419 > #5 0xffffffff80c340df at sys_ppoll+0x6f > #6 0xffffffff81060c40 at amd64_syscall+0x140 > #7 0xffffffff810370a0 at fast_syscall_common+0x101 > pid 37533 (conftest), jid 5, uid 0: exited on signal 11 > pid 43474 (conftest), jid 5, uid 0: exited on signal 11 > > I restarted the compilation and again seeing similar LORs: lock order reversal: 1st 0xfffff80115d32068 zfs (zfs) @ /usr/src-13/sys/kern/vfs_mount.c:1005 2nd 0xfffff800243d6808 devfs (devfs) @ /usr/src-13/sys/kern/vfs_mount.c:1016 stack backtrace: #0 0xffffffff80c2d5f1 at witness_debugger+0x71 #1 0xffffffff80b92f18 at lockmgr_lock_flags+0x188 #2 0xffffffff80cae744 at _vn_lock+0x54 #3 0xffffffff80c90756 at vfs_domount+0xd16 #4 0xffffffff80c8efd1 at vfs_donmount+0x871 #5 0xffffffff80c8e729 at sys_nmount+0x69 #6 0xffffffff81060c40 at amd64_syscall+0x140 #7 0xffffffff810370a0 at fast_syscall_common+0x101 lock order reversal: 1st 0xfffffe00a7aa49b0 filedesc structure (filedesc structure) @ /usr/src-13/sys/kern/sys_generic.c:1557 2nd 0xfffff800aa2cdbd8 zfs (zfs) @ /usr/src-13/sys/kern/vfs_vnops.c:1553 stack backtrace: #0 0xffffffff80c2d5f1 at witness_debugger+0x71 #1 0xffffffff80b946b5 at lockmgr_xlock+0x55 #2 0xffffffff80cae744 at _vn_lock+0x54 #3 0xffffffff80cad0da at vn_poll+0x3a #4 0xffffffff80c33e19 at kern_poll+0x419 #5 0xffffffff80c339f0 at sys_poll+0x50 #6 0xffffffff81060c40 at amd64_syscall+0x140 #7 0xffffffff810370a0 at fast_syscall_common+0x101 The page to report still returns 404 :) -- GrzegorzJ
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0c256497-955c-122e-400a-8642f90b8e97>