From nobody Tue Jun 10 03:09:00 2025 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bGYfh0chNz5yxcH; Tue, 10 Jun 2025 03:09:16 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bGYfg61zwz4GfH; Tue, 10 Jun 2025 03:09:15 +0000 (UTC) (envelope-from ctuffli@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-747d59045a0so3426294b3a.1; Mon, 09 Jun 2025 20:09:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749524954; x=1750129754; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sCTVmY4EiCpFSStpjzFHi50Uz0Iy5qUItMaRkKiW/cs=; b=Yvp9LD6XMiSY+vUWVSegESV2w5x7Xh+A/UJZV8yBmGHPo6KNOmVK6Aye+4gCVNmIyP sZgboKOMf3xwZ1kY4raMC6U3o14Rb3vMWqsDTBEH1Ht/E85HeR46e3070Z0nNJ25TfBi ytbCwZJ9Rot/qv5Dv/zlYwonYkExWAiQODU0hF0ScaAk2yI87pBN6bBslWTGjERLyFmn t9RMjJOYYkOBrI2+XOg3mvGIBllLwdKfBUX/fbCbI2k0bAoHgFAqrgqk8QpB/38zWPAS wfIAAZq5tLV23pmVv0ty9Ow7UX69zO5OD95R8KXkxijIwNw3FAAj1kL8EYUNyFjThWfp B+LQ== X-Forwarded-Encrypted: i=1; AJvYcCW/uOy/7lkXfU9TqBd0vuxiJNLK+JmwIlmJF6wf33JcaU8PAFXuYo+fjriAj30HxpK5/ho97rsmAg==@freebsd.org X-Gm-Message-State: AOJu0YzeTMwPFEw3rBmWSCuSgAPP2FrjU1odyVUc6jNmnAlUCBLQm0AC /YxwSLrwaBCXFigqUDfhSKt8GYsWFwhhfZRlezsIWMd0+O1v02JD7DeW7CJbpw== X-Gm-Gg: ASbGncsiiuP2qgmGKrXsKRxKGpaeLrmf5EFi/3ji4gBEW4nBZVvNtEgZhx4rjQhXjXd Mz3zZLq2uGIyYdYuW40HGFHbm9n2edtoI+skw20TohcP9XxFR1e/kJFDdaZL9BPpQpo2CkYtRcJ MuHcbRppo7VPFa7LtQmhadrqN/iwQDymr2+URXJZmU3KTXRoJrt8DlsZPtB/GzNFggGU9IArTK+ 3s9kfYfnwkg9jSxOYTIQUmuc5H17ysK79+8hvVimYwHtzh5W2DH94DQfk/99s9r5/v2zwkF3Ne+ HJMlfDL8gG05BR2mDpn239HYsARE1ebwJOloelH/+xY8k1o83YViNNby+gKX2CNcifCCIl7xGg0 ZsYvveA+BDzt+xtU+7WCnu0iU X-Google-Smtp-Source: AGHT+IFnOx2jpybGypRS1OQt0hhlY5lCSrCkaltbqceJQSNMqWrTKBT7I9N1CykGmGAHafvHuxkTyw== X-Received: by 2002:a17:902:e842:b0:234:909b:3da9 with SMTP id d9443c01a7336-23601d4c4f4mr217491945ad.27.1749524954148; Mon, 09 Jun 2025 20:09:14 -0700 (PDT) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com. [209.85.215.177]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-23603078022sm61747255ad.6.2025.06.09.20.09.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Jun 2025 20:09:14 -0700 (PDT) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-b2c49373c15so3393876a12.3; Mon, 09 Jun 2025 20:09:13 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXy9YNH3VjrCzc33xHcBvhrJxHl4GEMB5vi7z0vpi8IodPryJKSvt9x7OSRDSJjsyczmGNHmjh+AA==@freebsd.org X-Received: by 2002:a17:90b:540c:b0:311:c1ec:7d03 with SMTP id 98e67ed59e1d1-31347695254mr19116820a91.32.1749524953604; Mon, 09 Jun 2025 20:09:13 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: <11370r53-019r-0n73-710r-p6srr051o9s6@SerrOFQ.bet> In-Reply-To: <11370r53-019r-0n73-710r-p6srr051o9s6@SerrOFQ.bet> From: Chuck Tuffli Date: Mon, 9 Jun 2025 20:09:00 -0700 X-Gmail-Original-Message-ID: X-Gm-Features: AX0GCFtIVxCRkhDYphTXtrzLaC47kPs4cTxLwltnmL3B0-d1i-29WGz9NGp62Rc Message-ID: Subject: Re: iwlwifi WARNING in dmesg To: "Bjoern A. Zeeb" Cc: "freebsd-net@FreeBSD.org" , wireless@freebsd.org Content-Type: multipart/alternative; boundary="00000000000062a77006372f0581" X-Rspamd-Queue-Id: 4bGYfg61zwz4GfH X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] --00000000000062a77006372f0581 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jun 9, 2025 at 4:28=E2=80=AFPM Bjoern A. Zeeb wrot= e: > 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 =3D ({ __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=E2=80=99m finding that resuming the laptop hangs unless the WiFi is disab= led 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=3D0x028000 rev=3D0x1a hdr=3D0x00 vendor=3D0x80= 86 device=3D0x2725 subvendor=3D0x8086 subdevice=3D0x0024 vendor =3D =E2=80=98Intel Corporation=E2=80=99 device =3D =E2=80=98Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typh= oon Peak]=E2=80=99 class =3D 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 > --00000000000062a77006372f0581 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jun 9, 2025 at 4:28=E2=80=AFPM Bjoern A. Zeeb <bz@freebsd.org> wrote:
On M= on, 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=C2=A0 9 15:23:29 chuck-laptop dhclient[61298]: New IP Address (wla= n0):
> 192.168.5.253
> Jun=C2=A0 9 15:23:29 chuck-laptop dhclient[61302]: New Subnet Mask (wl= an0):
> 255.255.255.0
> Jun=C2=A0 9 15:23:29 chuck-laptop dhclient[61306]: New Broadcast Addre= ss
> (wlan0): 192.168.5.255
> Jun=C2=A0 9 15:23:29 chuck-laptop dhclient[61310]: New Routers (wlan0)= : 192.168.5.1
> Jun=C2=A0 9 15:23:29 chuck-laptop kernel: wlan0: link state changed to= UP
> Jun=C2=A0 9 15:23:29 chuck-laptop kernel: WARNING
> ((__typeof(*mvm->baid_map[baid]) *)({ __typeof(mvm->baid_map[bai= d])
> __var =3D ({ __asm__ __volatile__("": : :"memory")= ; (*(const volatile
> __typeof(mvm->baid_map[baid]) *)&(mvm->baid_map[baid])); });= __asm__
> __volatile__("": : :"memory"); __var; })) failed a= t
> /home/pkgbuild/worktrees/main/sys/contrib/dev/iwlwifi/mvm/sta.c:3004 > Jun=C2=A0 9 15:23:34 chuck-laptop syslogd: last message repeated 1 tim= es
> Jun=C2=A0 9 15:30:24 chuck-laptop syslogd: last message repeated 1 tim= es
>
> 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=E2=80=99m finding that resuming the laptop hangs unless th= e WiFi is disabled before suspending. After resuming, running restart fixes= things for me.=C2=A0


> 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<= br> >
> 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?=C2=A0 Not that it matters much in<= br> this case but ...

iwlwifi0@pci0:170:0:0: class=3D0x028000 rev= =3D0x1a hdr=3D0x00 vendor=3D0x8086 device=3D0x2725 subvendor=3D0x8086 subde= vice=3D0x0024
=C2=A0 =C2=A0 vendor =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =3D =E2=80=98Intel Corporation=E2=80=99
=C2=A0 =C2=A0 device =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D =E2= =80=98Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak]=E2=80=99
=C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =3D network


> and the relevant drivers (I think) are:
>
> $ kldstat | grep if
> 14=C2=A0 =C2=A0 1 0xffffffff84358000=C2=A0 =C2=A0 b1340 if_iwlwifi.ko<= br> > 15=C2=A0 =C2=A0 1 0xffffffff8440a000=C2=A0 =C2=A0 171b0 if_iwx.ko
>
>

--
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
--00000000000062a77006372f0581--