From owner-svn-src-stable@freebsd.org Wed Jul 12 17:30:35 2017 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4747D9EB7D; Wed, 12 Jul 2017 17:30:35 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A5C146FF49; Wed, 12 Jul 2017 17:30:35 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (75-173-114-235.albq.qwest.net [75.173.114.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 1268E1928AB; Wed, 12 Jul 2017 17:30:32 +0000 (UTC) Subject: Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv To: Mike Tancsa , Eric Joyner , =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Cc: svn-src-stable@freebsd.org, src-committers , svn-src-all , svn-src-stable-11@freebsd.org References: <201707112125.v6BLP7Pg093948@repo.freebsd.org> From: Sean Bruno Message-ID: <4e74f325-5fbf-d53c-49df-dd2321f0bbf3@freebsd.org> Date: Wed, 12 Jul 2017 11:30:28 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RB08XEWuRsTNe1x9MiJ8AD3MiHwD6S0Oq" X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 17:30:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RB08XEWuRsTNe1x9MiJ8AD3MiHwD6S0Oq Content-Type: multipart/mixed; boundary="mqcVd27kTUk20I933pSCJUFKKGm4EVuFO"; protected-headers="v1" From: Sean Bruno To: Mike Tancsa , Eric Joyner , =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Cc: svn-src-stable@freebsd.org, src-committers , svn-src-all , svn-src-stable-11@freebsd.org Message-ID: <4e74f325-5fbf-d53c-49df-dd2321f0bbf3@freebsd.org> Subject: Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv References: <201707112125.v6BLP7Pg093948@repo.freebsd.org> In-Reply-To: --mqcVd27kTUk20I933pSCJUFKKGm4EVuFO Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Just so that its clear, this will be changed back to the original string shortly. sean On 07/12/17 11:16, Mike Tancsa wrote: > 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= =2E > Rather than change the name, perhaps a deprecation warning saying "In > FreeBSD 12, this will be hw.ix.allow_unsupported_sfp" ? >=20 > ---Mike >=20 >=20 > 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=C3=A9 >> wrote: >> >>> On Wed, Jul 12, 2017 at 5:39 PM, Eric Joyner wrote:= >>> >>>> I think it may have been silently renamed to "allow_unsupported_sfp"= >>>> instead of "unsupported_sfp". Could you try changing the name of tha= t >>>> 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 m= ore >>> 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@freebs= d.org" >> >> >=20 >=20 --mqcVd27kTUk20I933pSCJUFKKGm4EVuFO-- --RB08XEWuRsTNe1x9MiJ8AD3MiHwD6S0Oq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAllmXLRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /Lb84wgAju1N6jasSQsDrn41ED0wnzP8YPnul9T1DIun1PWQNvKuGn40akXnE/oE DT3hgeUe4J7IAYPrytwKXIB7N+7deKt6ec6UZ1JbA8/TGqS22leoqxlruuzLJkMj JsE8pIhDQ9p+Zxiq/gAfqouKh7HHPqNis5xh2yXSUof1kD2bLlrpO75mkm3GF8Wh 0B67lILQsnMF7V4Sk+j3KbLvuPqsw/cDtJUxpzRHX6W8Pp9MHC7aeF6YdPhDY+H7 lnFWA+onagdqlFsGwpQsADHxBrIdg/L+kgebUH9pT2aEfUsUBvUAk6j1ihfSS3jJ zj/0VBoj/T4M747dPGRyj+LvIA5Lbg== =Tqs3 -----END PGP SIGNATURE----- --RB08XEWuRsTNe1x9MiJ8AD3MiHwD6S0Oq--