Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2022 20:44:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 266486] panic in iflib: Assertion CPU_COUNT(&ctx->ifc_cpus) > 0 failed at /usr/src/sys/net/iflib.c:5150
Message-ID:  <bug-266486-7501-PSFSgA4ay5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266486-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266486-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=3D266486

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 i=
nto
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266486-7501-PSFSgA4ay5>