[Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 30 15:06:56 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235700

Ryan Moeller <freqlabs at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freqlabs at FreeBSD.org

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

commit 3582828053556ca0e05ed9aab3e78008a0595e09
Author: Alexander Motin <mav at 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.


More information about the freebsd-net mailing list