Date: Mon, 9 Jun 2025 20:09:00 -0700 From: Chuck Tuffli <chuck@freebsd.org> To: "Bjoern A. Zeeb" <bz@freebsd.org> Cc: "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>, wireless@freebsd.org Subject: Re: iwlwifi WARNING in dmesg Message-ID: <CAKAYmMJDYxMnt3BDK6O0acS4ipCY7tQOSA5dMUr73XCu6qb2hw@mail.gmail.com> In-Reply-To: <11370r53-019r-0n73-710r-p6srr051o9s6@SerrOFQ.bet> References: <CAKAYmMLmR60Tq22iDTSAHww3RsCG=mfbBALTOMM-792QU8O%2Bjg@mail.gmail.com> <11370r53-019r-0n73-710r-p6srr051o9s6@SerrOFQ.bet>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Mon, Jun 9, 2025 at 4:28 PM Bjoern A. Zeeb <bz@freebsd.org> wrote:
> On Mon, 9 Jun 2025, Chuck Tuffli wrote:
>
> Hi,
>
> wireless@ is a better place for this.
>
> > I'm running a recent-ish -CURRENT (15.0-CURRENT
> > main-n277741-898a886b4504) on a Framework 13 (Gen 11) and am seeing
> > the following in dmesg:
> >
> > Jun 9 15:23:29 chuck-laptop dhclient[61298]: New IP Address (wlan0):
> > 192.168.5.253
> > Jun 9 15:23:29 chuck-laptop dhclient[61302]: New Subnet Mask (wlan0):
> > 255.255.255.0
> > Jun 9 15:23:29 chuck-laptop dhclient[61306]: New Broadcast Address
> > (wlan0): 192.168.5.255
> > Jun 9 15:23:29 chuck-laptop dhclient[61310]: New Routers (wlan0):
> 192.168.5.1
> > Jun 9 15:23:29 chuck-laptop kernel: wlan0: link state changed to UP
> > Jun 9 15:23:29 chuck-laptop kernel: WARNING
> > ((__typeof(*mvm->baid_map[baid]) *)({ __typeof(mvm->baid_map[baid])
> > __var = ({ __asm__ __volatile__("": : :"memory"); (*(const volatile
> > __typeof(mvm->baid_map[baid]) *)&(mvm->baid_map[baid])); }); __asm__
> > __volatile__("": : :"memory"); __var; })) failed at
> > /home/pkgbuild/worktrees/main/sys/contrib/dev/iwlwifi/mvm/sta.c:3004
> > Jun 9 15:23:34 chuck-laptop syslogd: last message repeated 1 times
> > Jun 9 15:30:24 chuck-laptop syslogd: last message repeated 1 times
> >
> > This occurred after running:
> >
> > # service netif restart wlan0
>
> Why did you have to run restart in first place?
>
> I am trying to understand the state you are coming from to figure out
> what might have triggered this.
I’m finding that resuming the laptop hangs unless the WiFi is disabled
before suspending. After resuming, running restart fixes things for me.
> > I'm assuming "this is fine" as it is labeled a warning, but also
> > figured someone might be interested. As for the hardware, lspci shows
> >
> > aa:00.0 Network controller: Intel Corporation Wi-Fi 6E(802.11ax)
> > AX210/AX1675* 2x2 [Typhoon Peak] (rev 1a)
>
> And what does pciconf -lv iwlwifi0 show? Not that it matters much in
> this case but ...
iwlwifi0@pci0:170:0:0: class=0x028000 rev=0x1a hdr=0x00 vendor=0x8086
device=0x2725 subvendor=0x8086 subdevice=0x0024
vendor = ‘Intel Corporation’
device = ‘Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak]’
class = network
> > and the relevant drivers (I think) are:
> >
> > $ kldstat | grep if
> > 14 1 0xffffffff84358000 b1340 if_iwlwifi.ko
> > 15 1 0xffffffff8440a000 171b0 if_iwx.ko
> >
> >
>
> --
> Bjoern A. Zeeb r15:7
>
[-- Attachment #2 --]
<div>On Mon, Jun 9, 2025 at 4:28 PM Bjoern A. Zeeb <<a href="mailto:bz@freebsd.org">bz@freebsd.org</a>> wrote:<br></div><div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 9 Jun 2025, Chuck Tuffli wrote:<br>
<br>
Hi,<br>
<br>
wireless@ is a better place for this.<br>
<br>
> I'm running a recent-ish -CURRENT (15.0-CURRENT<br>
> main-n277741-898a886b4504) on a Framework 13 (Gen 11) and am seeing<br>
> the following in dmesg:<br>
><br>
> Jun 9 15:23:29 chuck-laptop dhclient[61298]: New IP Address (wlan0):<br>
> 192.168.5.253<br>
> Jun 9 15:23:29 chuck-laptop dhclient[61302]: New Subnet Mask (wlan0):<br>
> 255.255.255.0<br>
> Jun 9 15:23:29 chuck-laptop dhclient[61306]: New Broadcast Address<br>
> (wlan0): 192.168.5.255<br>
> Jun 9 15:23:29 chuck-laptop dhclient[61310]: New Routers (wlan0): 192.168.5.1<br>
> Jun 9 15:23:29 chuck-laptop kernel: wlan0: link state changed to UP<br>
> Jun 9 15:23:29 chuck-laptop kernel: WARNING<br>
> ((__typeof(*mvm->baid_map[baid]) *)({ __typeof(mvm->baid_map[baid])<br>
> __var = ({ __asm__ __volatile__("": : :"memory"); (*(const volatile<br>
> __typeof(mvm->baid_map[baid]) *)&(mvm->baid_map[baid])); }); __asm__<br>
> __volatile__("": : :"memory"); __var; })) failed at<br>
> /home/pkgbuild/worktrees/main/sys/contrib/dev/iwlwifi/mvm/sta.c:3004<br>
> Jun 9 15:23:34 chuck-laptop syslogd: last message repeated 1 times<br>
> Jun 9 15:30:24 chuck-laptop syslogd: last message repeated 1 times<br>
><br>
> This occurred after running:<br>
><br>
> # service netif restart wlan0<br>
<br>
Why did you have to run restart in first place?<br>
<br>
I am trying to understand the state you are coming from to figure out<br>
what might have triggered this.</blockquote><div dir="auto"><br></div><div dir="auto">I’m finding that resuming the laptop hangs unless the WiFi is disabled before suspending. After resuming, running restart fixes things for me. </div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" dir="auto"><br>
> I'm assuming "this is fine" as it is labeled a warning, but also<br>
> figured someone might be interested. As for the hardware, lspci shows<br>
><br>
> aa:00.0 Network controller: Intel Corporation Wi-Fi 6E(802.11ax)<br>
> AX210/AX1675* 2x2 [Typhoon Peak] (rev 1a)<br>
<br>
And what does pciconf -lv iwlwifi0 show? Not that it matters much in<br>
this case but ...</blockquote><div dir="auto"><br></div><div dir="auto"><div><div dir="auto" style="font-family:'-apple-system','helveticaneue';font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">iwlwifi0@pci0:170:0:0: class=0x028000 rev=0x1a hdr=0x00 vendor=0x8086 device=0x2725 subvendor=0x8086 subdevice=0x0024</div><div dir="auto" style="font-family:'-apple-system','helveticaneue';font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)"> vendor = ‘Intel Corporation’</div><div dir="auto" style="font-family:'-apple-system','helveticaneue';font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)"> device = ‘Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak]’</div><div dir="auto" style="font-family:'-apple-system','helveticaneue';font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)"> class = network</div></div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" dir="auto"><br>
> and the relevant drivers (I think) are:<br>
><br>
> $ kldstat | grep if<br>
> 14 1 0xffffffff84358000 b1340 if_iwlwifi.ko<br>
> 15 1 0xffffffff8440a000 171b0 if_iwx.ko<br>
><br>
><br>
<br>
-- <br>
Bjoern A. Zeeb r15:7<br>
</blockquote></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAYmMJDYxMnt3BDK6O0acS4ipCY7tQOSA5dMUr73XCu6qb2hw>
