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). -- WBR, Andrey V. Elsukov
signature.asc
Description: OpenPGP digital signature