Date: Mon, 14 Mar 2022 12:24:20 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: FreeBSD Wireless <freebsd-wireless@freebsd.org> Subject: Re: Unable to have network reliably start at boot time Message-ID: <CAN6yY1sBJCGj8CVAPrOBcVFqez6tH_pJHLwO9DEOiOv0NWztGw@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.2203141743300.68830@ai.fobar.qr> References: <CAN6yY1sByfp893XGFc_cgd5M=YUUy=5ZCWUndGnbrjMsz96p6Q@mail.gmail.com> <alpine.BSF.2.00.2203141743300.68830@ai.fobar.qr>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000212edc05da32a3eb Content-Type: text/plain; charset="UTF-8" On Mon, Mar 14, 2022 at 10:47 AM Bjoern A. Zeeb < bzeeb-lists@lists.zabbadoz.net> wrote: > On Mon, 14 Mar 2022, Kevin Oberman wrote: > > Hi, > > > I have tried loading if_iwlwifi at boot by both /boot/loader.conf and > > /etc/rc.conf. In the /boot/loader case, the firmware fails to load with > the > > message "File size way too small!" for all available versions of > microcode > > including "wlwifi-cc-a0-68.ucode" which should be used for my AX200. For > > Loading from loader is discuraged; if you really want to see this > thread: > > https://lists.freebsd.org/archives/freebsd-wireless/2021-December/000153.html > > > On FreeBSD Current, you don't even have to load the module at all anymore; > it'll automatically loaded for you (soon also in stable/13). > > > > /etc/rc.conf, there appears to be a race condition where the network > tries > > to start before the microcode load has completed. > > That is a weird case and I thought that should not happen anymore as > the wlan interface should always only be created after the firmware > successfully loaded. > > I see I have an email from you in my inbox as well; in case it's not > in there, can you send me the console (dmesg -a) output of that case > so I can have a look? > > /bz > > -- > Bjoern A. Zeeb r15:7 > I'm only assuming that the firmware load is leading to the problem, but I've looked closer and that is likely not the case as I see: iwlwifi0: <iwlwifi> mem 0xd1300000-0xd1303fff at device 0.0 on pci2 iwlwifi0: successfully loaded firmware image 'iwlwifi-cc-a0-67.ucode' iwlwifi0: api flags index 2 larger than supported by driver iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37 iwlwifi0: loaded firmware version 67.8f59b80b.0 cc-a0-67.ucode op_mode iwlmvm iwlwifi0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340 and, after the network fails to start, I see: iwlwifi0: Detected RF HR B3, rfid=0x10a100 iwlwifi0: base HW address: 6c:6a:77:ed:ce:d9 The failure generates no messages. Just shows git0 and lo0 starting normally. I assume that this is because wlan0 has not been created at this point. While there are many lines of messages in the log between these messages, they are all logged in the same second. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000212edc05da32a3eb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div cl= ass=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:smal= l">On Mon, Mar 14, 2022 at 10:47 AM Bjoern A. Zeeb <<a href=3D"mailto:bz= eeb-lists@lists.zabbadoz.net">bzeeb-lists@lists.zabbadoz.net</a>> wrote:= <br></div></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote= " style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);= padding-left:1ex">On Mon, 14 Mar 2022, Kevin Oberman wrote:<br> <br> Hi,<br> <br> > I have tried loading if_iwlwifi at boot by both /boot/loader.conf and<= br> > /etc/rc.conf. In the /boot/loader case, the firmware fails to load wit= h the<br> > message "File size way too small!" for all available version= s of microcode<br> > including "wlwifi-cc-a0-68.ucode" which should be used for m= y AX200. For<br> <br> Loading from loader is discuraged;=C2=A0 if you really want to see this<br> thread:<br> <a href=3D"https://lists.freebsd.org/archives/freebsd-wireless/2021-Decembe= r/000153.html" rel=3D"noreferrer" target=3D"_blank">https://lists.freebsd.o= rg/archives/freebsd-wireless/2021-December/000153.html</a><br> <br> <br> On FreeBSD Current, you don't even have to load the module at all anymo= re;<br> it'll automatically loaded for you (soon also in stable/13).<br> <br> <br> > /etc/rc.conf, there appears to be a race condition where the network t= ries<br> > to start before the microcode load has completed.<br> <br> That is a weird case and I thought that should not happen anymore as<br> the wlan interface should always only be created after the firmware<br> successfully loaded.<br> <br> I see I have an email from you in my inbox as well; in case it's not<br= > in there, can you send me the console (dmesg -a) output of that case<br> so I can have a look?<br> <br> /bz<br> <br> -- <br> Bjoern A. Zeeb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0r15:7<br> </blockquote></div><br clear=3D"all"><div style=3D"font-family:tahoma,sans-= serif;font-size:small" class=3D"gmail_default">I'm only assuming that the firmware load is leading to the problem, but I'= ve looked closer and that is likely not the case as I see:<br>iwlwifi0: <= ;iwlwifi> mem 0xd1300000-0xd1303fff at device 0.0 on pci2<br>iwlwifi0: s= uccessfully loaded firmware image 'iwlwifi-cc-a0-67.ucode'<br>iwlwi= fi0: api flags index 2 larger than supported by driver<br>iwlwifi0: TLV_FW_= FSEQ_VERSION: FSEQ Version: 89.3.35.37<br>iwlwifi0: loaded firmware version= 67.8f59b80b.0 cc-a0-67.ucode op_mode iwlmvm<br><div>iwlwifi0: Detected Int= el(R) Wi-Fi 6 AX200 160MHz, REV=3D0x340</div><div><br></div><div><div style= =3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">= and, after the network fails to start, I see:</div><div style=3D"font-famil= y:tahoma,sans-serif;font-size:small" class=3D"gmail_default">iwlwifi0: Dete= cted RF HR B3, rfid=3D0x10a100<br></div>iwlwifi0: base HW address: 6c:6a:77= :ed:ce:d9</div><div><br></div><div>The failure generates no messages. Just = shows git0 and lo0 starting normally. I assume that this is because wlan0 h= as not been created at this point. While there are many lines of messages i= n the log between these messages, they are all logged in the same second.<b= r></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D= "ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">Kev= in Oberman, Part time kid herder and retired Network Engineer<br>E-mail: <a= href=3D"mailto:rkoberman@gmail.com" target=3D"_blank">rkoberman@gmail.com<= /a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683= </div></div></div></div></div></div></div></div></div></div></div> --000000000000212edc05da32a3eb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sBJCGj8CVAPrOBcVFqez6tH_pJHLwO9DEOiOv0NWztGw>