Date: Wed, 09 Oct 2019 17:44:40 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 240609] iflib: Panic with INVARIANTS: sleeping in an epoch section (12.1-pre-QA) (vlan + lagg involved) Message-ID: <bug-240609-7501-7TkjiBkjze@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240609-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-240609-7501@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=3D240609 --- Comment #2 from Eric Joyner <erj@freebsd.org> --- I'm not an expert on locking issues, but it appears that lagg_register_vlan= () enters an epoch (via the now-confusingly named LAGG_RLOCK() macro) that iflib_vlan_register() is run inside of, and the msec_delay()->safe_pause_ms()->pause() in the em driver is causing the "sleeping in an epoch section" panic. A quick fix would be to make em *not sleep* during that e1000_reset_hw_8258= 0() function, but that doesn't seem ideal; why should it not be allowed to slee= p? --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240609-7501-7TkjiBkjze>