Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2017 16:35:00 +0000
From:      Eric Joyner <erj@freebsd.org>
To:        =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@freebsd.org>
Cc:        Sean Bruno <sbruno@freebsd.org>, src-committers <src-committers@freebsd.org>,  svn-src-all <svn-src-all@freebsd.org>, svn-src-stable@freebsd.org,  svn-src-stable-11@freebsd.org
Subject:   Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv
Message-ID:  <CA%2Bb0zg-DORA=7L5=vOdBFqtkwwz-8nqo-Wr-PQgW-mBS76bixQ@mail.gmail.com>
In-Reply-To: <CA%2Bq%2BTcrh1bGGDvU9Dz3ox5cCnBbR_vqSKqg4JeSJ3=JW=Yg0iw@mail.gmail.com>
References:  <201707112125.v6BLP7Pg093948@repo.freebsd.org> <CA%2Bq%2BTcroHKox5nCaC=pg5DFR9d2Gg4qbMOUNxZYQRFXX_YiiHA@mail.gmail.com> <a3461514-00c1-edeb-0905-63fe9999edde@freebsd.org> <CA%2Bq%2BTcpCKJdrOiY9N-dEDV1fqM7hhdT5bUGp_L%2BCPjQmhVLLbg@mail.gmail.com> <CA%2Bb0zg9M-G_pNv0uNqVqW%2B3j8pNTBF9cwiygmtgJhnhzrM1oTg@mail.gmail.com> <CA%2Bq%2BTcrh1bGGDvU9Dz3ox5cCnBbR_vqSKqg4JeSJ3=JW=Yg0iw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Olivier,

There is a message about it in dmesg, right? For the error code, there's
not much we can do there aside from adding a new unsupported SFP+ code to
errno.h, which doesn't seem appropriate.

On Wed, Jul 12, 2017 at 9:27 AM Olivier Cochard-Labb=C3=A9 <olivier@freebsd=
.org>
wrote:

> On Wed, Jul 12, 2017 at 5:39 PM, Eric Joyner <erj@freebsd.org> wrote:
>
>> I think it may have been silently renamed to "allow_unsupported_sfp"
>> instead of "unsupported_sfp". Could you try changing the name of that
>> tunable in your config?
>>
>>
> =E2=80=8BThanks Eric!
>
> Replacing this previous line into my /boot/loader.conf
> hw.ix.unsupported_sfp=3D"1"
> by this new one:
> hw.ix.allow_unsupported_sfp=3D"1"=E2=80=8B
>
>
> =E2=80=8Bsolved the problem: -) but this broke POLA :-(
>
> And the default behavior is not very sysadmin friendly:
> How, with the message "device_attach: ix0 attach returned 5" and no more
> ix interface detected, can I know it just came from using unsupported SFP=
 ?
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bb0zg-DORA=7L5=vOdBFqtkwwz-8nqo-Wr-PQgW-mBS76bixQ>