Re: Unable to have network reliably start at boot time

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Mon, 14 Mar 2022 17:47:27 UTC
On Mon, 14 Mar 2022, Kevin Oberman wrote:

Hi,

> I have tried loading if_iwlwifi at boot by both /boot/loader.conf and
> /etc/rc.conf. In the /boot/loader case, the firmware fails to load with the
> message "File size way too small!" for all available versions of microcode
> including "wlwifi-cc-a0-68.ucode" which should be used for my AX200. For

Loading from loader is discuraged;  if you really want to see this
thread:
https://lists.freebsd.org/archives/freebsd-wireless/2021-December/000153.html


On FreeBSD Current, you don't even have to load the module at all anymore;
it'll automatically loaded for you (soon also in stable/13).


> /etc/rc.conf, there appears to be a race condition where the network tries
> to start before the microcode load has completed.

That is a weird case and I thought that should not happen anymore as
the wlan interface should always only be created after the firmware
successfully loaded.

I see I have an email from you in my inbox as well; in case it's not
in there, can you send me the console (dmesg -a) output of that case
so I can have a look?

/bz

-- 
Bjoern A. Zeeb                                                     r15:7