Re: No iwm interface in current.

From: Warner Losh <imp_at_bsdimp.com>
Date: Fri, 27 Dec 2024 13:59:53 UTC
On Fri, Dec 27, 2024, 1:53 AM Emmanuel Vadot <manu@bidouilliste.com> wrote:

> On Fri, 27 Dec 2024 09:43:22 +0100
> Emmanuel Vadot <manu@bidouilliste.com> wrote:
>
> >
> >  Hi,
> >
> > On Thu, 26 Dec 2024 23:55:24 +0100
> > Fernando Apesteguía <fernando.apesteguia@gmail.com> wrote:
> >
> > > I updated to today's current from a version from Nov 18th.
> > >
> > > I had these lines in loader.conf:
> > >
> > > iwm7265Dfw_load="YES"
> > > if_iwm_load="YES"
> > >
> > > And with those the kernel panics. Then I saw the entry 20241216 in
> > > UPDATING. Can't reproduce it here since I'm writing in my phone, but it
> > > says the iwm firmwares are now shipped as raw files.
> > > So, how can I get the firmware loaded to make my nic work?
> > >
> > > Cheers
> >
> >  Without panic trace it's hard to really know what's going on but I
> > think that the problem is that the firmware wasn't loaded by loader and
> > iwm panics since root fs isn't there yet.
> >  Just removing those lines will make iwm works again or you can use :
> > iwm7265Dfw_load="YES"
> > iwm7265Dfw_name="/boot/firmware/iwm7265Dfw"
> > iwm7265Dfw_type="firmware"
> >
> >  Cheers,
> >
> > --
> > Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
> >
>
>  https://reviews.freebsd.org/D48211 will help too.
>
>  P.S.: Note that I don't understand why anyone wants to load wifi
> driver in loader, was it suggested somewhere at some point ?
>

Many people want to run minimal + their drivers and load them all from the
loader. With the firmware shift, we may need to defer drivers that need
firmware until after mountroot generally.

Warnet

-- 
> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
>
>