On Wed, May 3, 2017 at 4:50 PM, Andrey V. Elsukov <bu7c...@yandex.ru> wrote: > 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=if_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).
There shouldn't be two drivers with the same name. That's a bug, but it's been like this for 4 years... Warner _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"