Date: Thu, 4 May 2017 01:50:46 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Alan Somers <asomers@freebsd.org>, Ian Lepore <ian@freebsd.org> Cc: Ryan Stone <rysto32@gmail.com>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r317755 - head/sbin/ifconfig Message-ID: <f14034e8-f497-5aed-a864-350bd1ae6844@yandex.ru> In-Reply-To: <CAOtMX2irVPoGYHB0pNmWYNdc7-G7R4XTXexz77hsaurUCefm2A@mail.gmail.com> References: <201705031721.v43HL2vS071819@repo.freebsd.org> <CAFMmRNyHc7qgeidDTZss%2Bo=56Uc-Xgyu_voj4ybHt=mEJa6c%2Bg@mail.gmail.com> <CAFMmRNyUXZz==Xdh8fqbw7BqYCHig%2BXAEOj1dxcJ2p0H6_qWeA@mail.gmail.com> <1493838199.80042.14.camel@freebsd.org> <CAOtMX2irVPoGYHB0pNmWYNdc7-G7R4XTXexz77hsaurUCefm2A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GrqsEu1TadqscE9equ0tV1tKhcHQrHfKA Content-Type: multipart/mixed; boundary="UjLdEKRNmjNoV45EpGsFdu10uceaFQja6"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Alan Somers <asomers@freebsd.org>, Ian Lepore <ian@freebsd.org> Cc: Ryan Stone <rysto32@gmail.com>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Message-ID: <f14034e8-f497-5aed-a864-350bd1ae6844@yandex.ru> Subject: Re: svn commit: r317755 - head/sbin/ifconfig References: <201705031721.v43HL2vS071819@repo.freebsd.org> <CAFMmRNyHc7qgeidDTZss+o=56Uc-Xgyu_voj4ybHt=mEJa6c+g@mail.gmail.com> <CAFMmRNyUXZz==Xdh8fqbw7BqYCHig+XAEOj1dxcJ2p0H6_qWeA@mail.gmail.com> <1493838199.80042.14.camel@freebsd.org> <CAOtMX2irVPoGYHB0pNmWYNdc7-G7R4XTXexz77hsaurUCefm2A@mail.gmail.com> In-Reply-To: <CAOtMX2irVPoGYHB0pNmWYNdc7-G7R4XTXexz77hsaurUCefm2A@mail.gmail.com> --UjLdEKRNmjNoV45EpGsFdu10uceaFQja6 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 03.05.2017 22:22, Alan Somers wrote: > The problem with the original code is that module load errors would be > caught too late, and as a result the error printed would be less > useful. For example, if you forgot to put "kld_list=3Dif_igb" in > /etc/rc.conf and run "ifconfig igb0", it would print "ifconfig: > interface igb7 does not exist" instead of the more useful "ifconfig: > kldload(if_igb): Operation not permitted". But I didn't know that > there were drivers like mlx4en where ifconfig can't load the correct > module. So I'll take Ryan's suggestion and revert that part for now. I want to note, that there is if_enc(4) kernel module, that is failed to be loaded by ifconfig(8) due to presence in the kernel enc(4) driver (from sys/cam). --=20 WBR, Andrey V. Elsukov --UjLdEKRNmjNoV45EpGsFdu10uceaFQja6-- --GrqsEu1TadqscE9equ0tV1tKhcHQrHfKA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlkKXscACgkQAcXqBBDI oXqUqwgAwDXtxNzdSsjII+aFKwMHPT8z4H7BW1Cobbths9LArpLfEbiMhSPkdKHz VCeRXAhK8nB0SIdJd11q8bVMbX/7QutnLK7p/D7i2ys8ExYF9opPGP4YposWVEil 1mTvnzDT+g9AZGJrbebJp5iZUxmW24VqYDJKs8mTi7+S8lbOTP6xHH6+0VxYVGHJ +WxfhNgttzbwkwyGUuHccqjfiJfuZi5p2GqBDAoPD4fh629sxXy6qY/pc2MVyW7C f6uzo4X8OWo47nTFX9vXlHFhTxjFgF3RhSDjIEI96fCSDZa/MSNtBbn1983ECo0a Ge6/aB4AT61KijTv1pS0PCnbMufd4A== =Zrdy -----END PGP SIGNATURE----- --GrqsEu1TadqscE9equ0tV1tKhcHQrHfKA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f14034e8-f497-5aed-a864-350bd1ae6844>