Re: [iwlwifi] fail to load firmware

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Wed, 29 Dec 2021 17:36:36 UTC
On Wed, 29 Dec 2021, Bjoern A. Zeeb wrote:

> On Wed, 29 Dec 2021, Pete Wright via freebsd-wireless wrote:
>
> Hi Pete,
>
>> hello - i've got an intel device currently working under iwm:
>> 
>> iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xdd338000-0xdd33bfff at 
>> device 20.3 on pci0
>> iwm0: hw rev 0x310, fw ver 34.3125811985.0, address
>> 
>> after building CURRENT on the 28th and attempting to load if_iwlwifi via 
>> /boot/loader.conf i get these errors when the firmware tries to load:

I am sorry; I hadn't fully realised;  if you load the driver from
loader you'd have to load the fimrware manually as well as otherwise
there's no file system yet to load it from.

Problem is the loader.conf syntax doesn't allow you to say,
foo-bar-baz_load="YES".

My suggestion is to instead load the module from rc.conf adding
 	kld_list="if_iwlwifi"
there or exteding the line accordingly (in case there is some drm module
there already).

I'll add this to the FAQ on the wiki.


I have a patch sitting in review to allow auto-loading for linuxkpi
using drivers but we haven't applied that yet until we are sure things
are stable and work well also for drm [1].


Bjoern

[1] https://reviews.freebsd.org/D26651

-- 
Bjoern A. Zeeb                                                     r15:7