Re: [iwlwifi] fail to load firmware

From: Pete Wright via freebsd-wireless <freebsd-wireless_at_freebsd.org>
Date: Wed, 29 Dec 2021 18:02:43 UTC

On 12/29/21 09:56, Kyle Evans wrote:
> On Wed, Dec 29, 2021 at 11:36 AM Bjoern A. Zeeb <bz@freebsd.org> wrote:
>> 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".
>>
> FWIW you can work around this, but it's ugly. We offer ${module}_name
> to specify the actual name of a module, so:
>
> my_fw_with_dashes_load="YES"
> my_fw_with_dashes_name="my-fw-with-dashes"

Thanks Kyle,
using loader.conf to load the module was due to me misreading the wiki 
and thinking that was the preferred method to load if_iwlwifi. moving it 
to rc.conf loads both the driver and firmware as expected i think - i'm 
chasing down a gremlin with bz now via email.

hoping that once i get this working reliably on my end i'll take a stab 
at updating the wiki if Bjoern doesn't mind :)

-pete


-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA