Created attachment 179534 [details] Patch to drop and re-aquire lock Discussed in freebsd-wireless, here: https://lists.freebsd.org/pipermail/freebsd-wireless/2016-December/007391.html FreeBSD 11.0 occasionally hangs during boot due to a LOR between if_lagg.c and if_re.c. The attached patch drops one of the locks in if_lagg.c before calling the lower driver's initialization, then re-acquires the lock after.
Can you still reproduce the problem on FreeBSD/head after r309177?
I have removed my patch and applied the r309177 patch and am running with that now. Since the deadlock hang was intermittent, I will need to test a while to know if this resolves the problem. I'll post back in a week or two.
Well, it's been 10 days now, with many reboots of the system in question over this time. No hangs to report. That would suggest that the patch in r309177 also resolves this problem.
Glad to hear it, fbsd@opal.com *** This bug has been marked as a duplicate of bug 194109 ***