[Bug 266486] panic in iflib: Assertion CPU_COUNT(&ctx->ifc_cpus) > 0 failed at /usr/src/sys/net/iflib.c:5150

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Sep 2022 20:44:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266486

Eric Joyner <erj@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erj@freebsd.org

--- Comment #2 from Eric Joyner <erj@freebsd.org> ---
It looks the intr_cpus variable in sys/x86/x86/intr_machdep.c gets turned into
an empty set from an initial value of 0x1, so the INTR_CPUS parameter to
bus_get_cpus() will just return 0, which iflib needs to handle (or I guess
refuse to operate with in this instance).

Have you tried changing the parameter to something like ALL_CPUS instead? I'm
not an expert on this, but it's probably a good idea for me to try to figure
out what goes into creating the INTR_CPUS set that gets used by iflib.

-- 
You are receiving this mail because:
You are the assignee for the bug.