Discussion:
[Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic
b***@freebsd.org
2021-03-30 15:14:37 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235700

Ryan Moeller <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|In Progress |Closed
Resolution|--- |FIXED

--- Comment #7 from Ryan Moeller <***@FreeBSD.org> ---
I'm calling this done. It's too late for any 11.x releases and it's already
been shipped in 12.1 and 12.2 release and will be in 13.0 release.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-03-30 15:15:16 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235700

Ryan Moeller <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags|mfc-stable12?, |mfc-stable12+,
|mfc-stable11? |mfc-stable11+
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-03-30 15:06:55 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235700

Ryan Moeller <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@FreeBSD.org

--- Comment #6 from Ryan Moeller <***@FreeBSD.org> ---
Fixed in main, stable/13:

commit 3582828053556ca0e05ed9aab3e78008a0595e09
Author: Alexander Motin <***@FreeBSD.org>
Date: Tue May 28 18:32:04 2019 +0000

Fix array out of bound panic introduced in r306219.

As I see, different NICs in different configurations may have different
numbers of TX and RX queues. The code was assuming 1:1 mapping between
event queues (interrupts) and TX/RX queues. Since number of interrupts
is set to maximum of TX and RX queues, when those two are different, the
system is doomed.

I have no documentation or deep knowledge about this hardware, so this
change is based on general observations and code reading. If some of my
guesses are wrong, please do better. I just confirmed HP NC550SFP NICs
are working now.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.

Notes:
svn path=/head/; revision=348332

Fixed in stable/12: 24a556b1dd7481cfac036d5138bbbfa1bde832b4 (r348888)
Fixed in stable/11: a42a0b77f0de636a91f79fa2fde8a507d88b79b7
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...