Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2024 06:59:53 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>,  FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: No iwm interface in current.
Message-ID:  <CANCZdfruqLnJNE=f%2BOo7VoFvspVrzevZrr0VSbnguKDKt7Qz4w@mail.gmail.com>
In-Reply-To: <20241227095321.a8309bd2512b9d43f944e530@bidouilliste.com>
References:  <CAGwOe2Y41hPU8CXag_G9o30i9VB2jP6FH-F7uKB2yoZP9%2ByGRg@mail.gmail.com> <20241227094322.64a88d47bc806904f40a51d3@bidouilliste.com> <20241227095321.a8309bd2512b9d43f944e530@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000002edc29062a40e1f9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 27, 2024, 1:53=E2=80=AFAM 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=C3=ADa <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=3D"YES"
> > > if_iwm_load=3D"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=3D"YES"
> > iwm7265Dfw_name=3D"/boot/firmware/iwm7265Dfw"
> > iwm7265Dfw_type=3D"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

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

--0000000000002edc29062a40e1f9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Fri, Dec 27, 2024, 1:53=E2=80=AFAM Emmanuel Vadot &=
lt;<a href=3D"mailto:manu@bidouilliste.com" target=3D"_blank" rel=3D"norefe=
rrer">manu@bidouilliste.com</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">On Fri, 27 Dec 2024 09:43:22 +0100<br>
Emmanuel Vadot &lt;<a href=3D"mailto:manu@bidouilliste.com" rel=3D"noreferr=
er noreferrer" target=3D"_blank">manu@bidouilliste.com</a>&gt; wrote:<br>
<br>
&gt; <br>
&gt;=C2=A0 Hi,<br>
&gt; <br>
&gt; On Thu, 26 Dec 2024 23:55:24 +0100<br>
&gt; Fernando Apestegu=C3=ADa &lt;<a href=3D"mailto:fernando.apesteguia@gma=
il.com" rel=3D"noreferrer noreferrer" target=3D"_blank">fernando.apesteguia=
@gmail.com</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; I updated to today&#39;s current from a version from Nov 18th.<br=
>
&gt; &gt; <br>
&gt; &gt; I had these lines in loader.conf:<br>
&gt; &gt; <br>
&gt; &gt; iwm7265Dfw_load=3D&quot;YES&quot;<br>
&gt; &gt; if_iwm_load=3D&quot;YES&quot;<br>
&gt; &gt; <br>
&gt; &gt; And with those the kernel panics. Then I saw the entry 20241216 i=
n<br>
&gt; &gt; UPDATING. Can&#39;t reproduce it here since I&#39;m writing in my=
 phone, but it<br>
&gt; &gt; says the iwm firmwares are now shipped as raw files.<br>
&gt; &gt; So, how can I get the firmware loaded to make my nic work?<br>
&gt; &gt; <br>
&gt; &gt; Cheers<br>
&gt; <br>
&gt;=C2=A0 Without panic trace it&#39;s hard to really know what&#39;s goin=
g on but I<br>
&gt; think that the problem is that the firmware wasn&#39;t loaded by loade=
r and<br>
&gt; iwm panics since root fs isn&#39;t there yet.<br>
&gt;=C2=A0 Just removing those lines will make iwm works again or you can u=
se :<br>
&gt; iwm7265Dfw_load=3D&quot;YES&quot;<br>
&gt; iwm7265Dfw_name=3D&quot;/boot/firmware/iwm7265Dfw&quot;<br>
&gt; iwm7265Dfw_type=3D&quot;firmware&quot;<br>
&gt; <br>
&gt;=C2=A0 Cheers,<br>
&gt; <br>
&gt; -- <br>
&gt; Emmanuel Vadot &lt;<a href=3D"mailto:manu@bidouilliste.com" rel=3D"nor=
eferrer noreferrer" target=3D"_blank">manu@bidouilliste.com</a>&gt; &lt;<a =
href=3D"mailto:manu@freebsd.org" rel=3D"noreferrer noreferrer" target=3D"_b=
lank">manu@freebsd.org</a>&gt;<br>
&gt; <br>
<br>
=C2=A0<a href=3D"https://reviews.freebsd.org/D48211" rel=3D"noreferrer nore=
ferrer noreferrer" target=3D"_blank">https://reviews.freebsd.org/D48211</a>=
 will help too.<br>
<br>
=C2=A0P.S.: Note that I don&#39;t understand why anyone wants to load wifi<=
br>
driver in loader, was it suggested somewhere at some point ?<br></blockquot=
e></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">Many people wan=
t to run minimal + their drivers and load them all from the loader. With th=
e firmware shift, we may need to defer drivers that need firmware until aft=
er mountroot generally.</div><div dir=3D"auto"><br></div><div dir=3D"auto">=
Warnet</div><div dir=3D"auto"><br></div><div dir=3D"auto"><div class=3D"gma=
il_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
-- <br>
Emmanuel Vadot &lt;<a href=3D"mailto:manu@bidouilliste.com" rel=3D"noreferr=
er noreferrer" target=3D"_blank">manu@bidouilliste.com</a>&gt; &lt;<a href=
=3D"mailto:manu@freebsd.org" rel=3D"noreferrer noreferrer" target=3D"_blank=
">manu@freebsd.org</a>&gt;<br>
<br>
</blockquote></div></div></div>

--0000000000002edc29062a40e1f9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfruqLnJNE=f%2BOo7VoFvspVrzevZrr0VSbnguKDKt7Qz4w>