Date: Wed, 12 Jul 2017 13:16:07 -0400 From: Mike Tancsa <mike@sentex.net> To: Eric Joyner <erj@freebsd.org>, =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= <olivier@freebsd.org> Cc: svn-src-stable@freebsd.org, Sean Bruno <sbruno@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@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: <ea814664-0393-1da9-3ddc-e8854c01c560@sentex.net> In-Reply-To: <CA%2Bb0zg-DORA=7L5=vOdBFqtkwwz-8nqo-Wr-PQgW-mBS76bixQ@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> <CA%2Bb0zg-DORA=7L5=vOdBFqtkwwz-8nqo-Wr-PQgW-mBS76bixQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Eric, For stable users, can the loader.conf variable not be the original one ? Especially for servers that are physically remote, a sysadmin might expect (wrongly or not) for the name not the change in a stable branch. If the box is remote, they would not be able to see the new dmesg error. Rather than change the name, perhaps a deprecation warning saying "In FreeBSD 12, this will be hw.ix.allow_unsupported_sfp" ? ---Mike On 7/12/2017 12:35 PM, Eric Joyner wrote: > 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é <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? >>> >>> >> Thanks Eric! >> >> Replacing this previous line into my /boot/loader.conf >> hw.ix.unsupported_sfp="1" >> by this new one: >> hw.ix.allow_unsupported_sfp="1" >> >> >> solved 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 ? >> >> > _______________________________________________ > svn-src-stable-11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-stable-11 > To unsubscribe, send any mail to "svn-src-stable-11-unsubscribe@freebsd.org" > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ea814664-0393-1da9-3ddc-e8854c01c560>