Re: [iwlwifi] fail to load firmware

From: Kyle Evans <kevans_at_freebsd.org>
Date: Wed, 29 Dec 2021 17:56:43 UTC
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 Evans