Re: panic: Assertion in_epoch(net_epoch_preempt) failed, r357793

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Wed, 12 Feb 2020 08:38:24 -0800
On Wed, Feb 12, 2020 at 09:49:12AM +0300, yp_at_mm.st wrote:
y> Getting the following panic after updating to r357793 (expect typos, hand
y> copied):
y> 
y> panic: Assertion in_epoch(net_epoch_preempt) failed at
y> /usr/src/sys/net/iflib.c:2762
y> 
y> db_trace_self_wrapper()
y> vpanic()
y> panic()
y> iflib_rxeof()
y> _task_fn_rx()
y> gtaskqueue_run_locked()
y> gtaskqueue_thread_loop()
y> fork_exit()
y> fork_trampoline()
y> --- trap 0, rip = 0, rsp = 0, rbp = 0 ---

Are you running iflib as a loadable module? Your trace clearly
has _task_fn_rx(), and Hans's patch covers _task_fn_tx(). However,
Hans's patch helped you. So, my guess is happen just due to
recompilation and reinstall of the module, not due to patch.

-- 
Gleb Smirnoff
Received on Wed Feb 12 2020 - 15:38:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC