[Bug 240609] iflib: Panic with INVARIANTS: sleeping in an epoch section (12.1-pre-QA) (vlan + lagg involved)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 9 17:44:42 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240609
--- Comment #2 from Eric Joyner <erj at 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_82580()
function, but that doesn't seem ideal; why should it not be allowed to sleep?
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the freebsd-net
mailing list