Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2021 15:06:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 235700] oce(4) driver causes fatal trap 12 on boot with emulex 10gbe nic
Message-ID:  <bug-235700-7501-cN57BKMl5I@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235700-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235700-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=3D235700

Ryan Moeller <freqlabs@FreeBSD.org> changed:

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

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

commit 3582828053556ca0e05ed9aab3e78008a0595e09
Author: Alexander Motin <mav@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=3D/head/; revision=3D348332

Fixed in stable/12: 24a556b1dd7481cfac036d5138bbbfa1bde832b4 (r348888)
Fixed in stable/11: a42a0b77f0de636a91f79fa2fde8a507d88b79b7

--=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-235700-7501-cN57BKMl5I>