From nobody Tue Jun 10 08:43:37 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 4bGj4d6yzmz5tS66; Tue, 10 Jun 2025 08:43:45 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bGj4d6Ht0z45NX; Tue, 10 Jun 2025 08:43:45 +0000 (UTC) (envelope-from bz@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749545025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7G6KUtLXlfYeA4vWO5JbJMEaSJUTvq1zuI1PYJjbC1Q=; b=DrfPnLTm08VxQ5z2BLvUt1fZw2MOSXRhi4chX+Nz2QqgUE7kA+GLZ/tdEB0EzBp4fWdayL EXcK5QqdaVm6RkQQ8l36hTyDAHOUFALyPJReiNJWFhwZ0Ty8tXBHtclywWEktugGOLUGAw 5P71DlgdYVPDBxN2KifBS04Sf7tCbBBG0fr2s1vBUINnmERgerBykQqt/w9jiWGOlfr1C9 TD9aiuv8adB0uTSK2/XvOBdUPw6kcMypaymcz1I3JZaDCIxu5GNta17NTvi2DbTiO93emO 9IH7PBAxTpjWp+biuFt+mw17gYWl9rt+OiVTP61e5onlGXog9Dl6NSaQQHzAdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749545025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7G6KUtLXlfYeA4vWO5JbJMEaSJUTvq1zuI1PYJjbC1Q=; b=cEzXhu7Fv7uw3tCgoVcomfRbpX7pJzSWaYjMJaGHY8PPfTkAGokcZ+xVV7SH8uNzAJrly7 i2jlokbUcICpDDN3u36Z5g9Xu/DmhDE7Fivb2FQ1ypXVhJbXYhS1MVkPzVkxUl4UA8f6BD MyhSX/koBfOgW9+Y85wZj9VOia3WMjY/YWZ1yDQMdpz6b3QD2vdn6Sl8Hbb3dQr4iz+iys ZplHa8313vNk9avxqfR0T0/D/Hae6UZgwBVTkCScl8lBmObQ7hD+BdOT4J4AU2ljdElaqB f5IUYF/E4DbqTwZhQy86xRMNTKEew8dQ9Yne4JGAO+x3muEsQoSlhOMrQ6gACw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749545025; a=rsa-sha256; cv=none; b=BpR2XhedJQ4B5nU+B5nAamjQdC2SZNhbeDnmmFAQauYxxMTJD0Wh0ShAiNaW935GV7t4uw 1Ywfjj88Lp5H7egJql3cjchuAZPYdDHUE2U32jt7AZvdb+kHZVco7XErvr8/2Bm+sPYbVO DN+vHrOPzRJR3As6ciKYA9oGyuTaEytCdv43qbtNoLsXZKDYZnLWpPc9Ogk+O3a1PuJqtd yM0guCnSb6o31e9P6BIRJ3l91Or6Y6hHMCq9prv3rWsnNnvrObu8CAU98jPfa5dUIuEf9S UhnJASHtNeWfs7KVBJpSFM6MDAfgKGjEu9OX1hYAgrsyJowRuVnirL+HUtu6tA== Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bGj4d5598z8Bg; Tue, 10 Jun 2025 08:43:45 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id A2094A64805; Tue, 10 Jun 2025 08:43:37 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 1134D2D029E1; Tue, 10 Jun 2025 08:43:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id GFqpVV2JxGNN; Tue, 10 Jun 2025 08:43:37 +0000 (UTC) Received: from strong-rtwn0.sbone.de (strong-rtwn0.sbone.de [IPv6:fde9:577b:c1a9:4902:3e64:cfff:fe55:bc80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id E84322D029E0; Tue, 10 Jun 2025 08:43:37 +0000 (UTC) Date: Tue, 10 Jun 2025 08:43:37 +0000 (UTC) From: "Bjoern A. Zeeb" To: Chuck Tuffli cc: "freebsd-net@FreeBSD.org" , wireless@freebsd.org Subject: Re: iwlwifi WARNING in dmesg In-Reply-To: Message-ID: <6rqr6nno-226n-77p2-943s-579o87024sp1@serrofq.bet> References: <11370r53-019r-0n73-710r-p6srr051o9s6@SerrOFQ.bet> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: multipart/mixed; boundary="1098556516-990666014-1749545017=:5063" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-990666014-1749545017=:5063 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 9 Jun 2025, Chuck Tuffli wrote: > On Mon, Jun 9, 2025 at 4:28 PM Bjoern A. Zeeb 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. Thank you. Makes sense. Another way to do this automatically is documented here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263632#c27 >>> 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 >> > -- Bjoern A. Zeeb r15:7 --1098556516-990666014-1749545017=:5063--