[Bug 210907] [lor] lock order reversal in /usr/src/sys/kern/kern_jail.c:1031
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210907 --- Comment #2 from Mark Millard --- (In reply to Mark Millard from comment #1) Typo fixes: 0x32740 should have been: 0x3274 08c should have been 0x8c Given those . . . The Lock Order Reversal's back trace and the crash's back trace are partially the same, name for name and offset for offset: #5 0x7f44dc at vnet_alloc+0x118 #6 0x62ab84 at kern_jail_set+0x3274 #7 0x62b62c at sys_jail_set+0x8c #8 0xa8a798 at trap+0x9a0 #9 0xa7e660 at powerpc_interrupt+0x140 and: 0xe00047274270: at vnet_alloc+0x118 0xe00047274300: at kern_jail_set+0x3274 0xe00047274610: at sys_jail_set+0x8c 0xe00047274660: at trap+0x9a0 0xe00047274790: at powerpc_interrupt+0x140 But for: #4 0x7f4338 at vnet_sysinit+0x38 vs. 0xe00047274240: at vnet_sysinit+0x70 the offsets are different. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-amd64@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"
[Bug 210907] [lor] lock order reversal in /usr/src/sys/kern/kern_jail.c:1031
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210907 Mark Millard changed: What|Removed |Added CC||marklmi26-f...@yahoo.com --- Comment #1 from Mark Millard --- I'm see this followed by a crash on a head -r339076 based build for powerpc64. It was during a kyua test: sys/netinet/reuseport_lb:basic_ipv4 -> failed: /usr/src/tests/sys/netinet/reuseport_lb.c:165: bind() failed: Address already in use [0.022s] sys/netinet/reuseport_lb:basic_ipv6 -> failed: /usr/src/tests/sys/netinet/reuseport_lb.c:221: bind() failed: Address already in use [0.022s] sys/netipsec/tunnel/aes_cbc_128_hmac_sha1:v4 -> Console/logging: epair3a: Ethernet address: 02:60:27:70:4b:0a epair3b: Ethernet address: 02:60:27:70:4b:0b epair3a: link state changed to UP epair3b: link state changed to UP lock order reversal: 1st 0x13be260 allprison (allprison) @ /usr/src/sys/kern/kern_jail.c:960 2nd 0x15964a0 vnet_sysinit_sxlock (vnet_sysinit_sxlock) @ /usr/src/sys/net/vnet.c:575 stack backtrace: #0 0x6f6520 at witness_debugger+0xf4 #1 0x6f8440 at witness_checkorder+0xa1c #2 0x675690 at _sx_slock_int+0x70 #3 0x675810 at _sx_slock+0x1c #4 0x7f4338 at vnet_sysinit+0x38 #5 0x7f44dc at vnet_alloc+0x118 #6 0x62ab84 at kern_jail_set+0x3274 #7 0x62b62c at sys_jail_set+0x8c #8 0xa8a798 at trap+0x9a0 #9 0xa7e660 at powerpc_interrupt+0x140 fatal kernel trap: exception = 0x300 (data storage interrupt) virtual address = 0xc0008df1df30 dsisr = 0x4200 srr0= 0xe00047854e98 (0xe00047854e98) srr1= 0x90009032 current msr = 0x90009032 lr = 0xe00047854e90 (0xe00047854e90) curthread = 0xc000206b6000 pid = 9464, comm = jail (Hand transcribed from here on:) [ thread pid 9464 tid 100296 ] Stopped at vnet_epair_init+0x78: stdx r3,r29,r30 db:0:kdb.enter.default> bt Tracing pid 9464 tid 100296 td 0xc000206b6000 0xe00047274240: at vnet_sysinit+0x70 0xe00047274270: at vnet_alloc+0x118 0xe00047274300: at kern_jail_set+0x32740 0xe00047274610: at sys_jail_set+08c 0xe00047274660: at trap+0x9a0 0xe00047274790: at powerpc_interrupt+0x140 0xe00047274820: user sc trap by 0x81016a888 srr1 = 0x9000f032 r1 = 0x3fffd080 cr = 0x28002482 xer = 0x2000 ctr = 0x81016a880 r2 = 0x810322300 -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-amd64@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"
[Bug 210907] [lor] lock order reversal in /usr/src/sys/kern/kern_jail.c:1031
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210907 Bug ID: 210907 Summary: [lor] lock order reversal in /usr/src/sys/kern/kern_jail.c:1031 Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-b...@freebsd.org Reporter: free...@otoh.org CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org lock order reversal: 1st 0x81dc4118 allprison (allprison) @ /usr/src/sys/kern/kern_jail.c:1031 2nd 0x81de9c68 vnet_sysinit_sxlock (vnet_sysinit_sxlock) @ /usr/src/sys/net/vnet.c:574 stack backtrace: #0 0x80aae180 at witness_debugger+0x70 #1 0x80aae074 at witness_checkorder+0xe54 #2 0x80a56e73 at _sx_slock+0x73 #3 0x80b6a451 at vnet_alloc+0xf1 #4 0x80a16d2e at kern_jail_set+0x1d8e #5 0x80a18801 at sys_jail_set+0x41 #6 0x80f16b2b at amd64_syscall+0x2db #7 0x80ef68cb at Xfast_syscall+0xfb ifa_maintain_loopback_route: deletion failed for interface lo0: 48 Noticed when shutting down a jail. 11.0 Alpha 6 Delta from GENERIC: device pf device pflog device pfsync options VIMAGE options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ options ALTQ_NOPCC -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-amd64@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"