Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2025 15:17:40 -0700
From:      Chris <bsd-lists@bsdforge.com>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        freebsd-wireless <freebsd-wireless@freebsd.org>
Subject:   Re: WARNING !ht_cap.ht_supported failed at...
Message-ID:  <434a3ca72d97e2caa419b770e727be10@bsdforge.com>
In-Reply-To: <rn8750pp-p839-n871-62n4-nnsns74qs6qq@SerrOFQ.bet>
References:  <424d9f3128a7c25889f8d77662e2c532@bsdforge.com> <rn8750pp-p839-n871-62n4-nnsns74qs6qq@SerrOFQ.bet>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2025-04-16 14:42, Bjoern A. Zeeb wrote:
> On Wed, 16 Apr 2025, Chris wrote:
> 
> Hi Chris,
> 
>> Well I just built and installed the net/wifi-firmware-iwlwifi-kmod
>> on a year old world/kernel.
> 
> Just to be clear: your world and kernel are still a year old or did you
> update them too afterwards?  If not, please do if you want to test
> iwlwifi becasue there's no support for a year old current iwlwifi and
> LinuxKPI here anymore, especially if you want to try VHT.  Otherwise
> the next you'll report is year old bugs.  Sorry.
In my humble defense, from our last conversation:

> And the iwlwifi/rtw88/rtw89 firmware is not tied to the kernel build anymore
> given it's a plain firmware file and no kernel module, so it can be built as
> a normal port/package.  With a year old current it should still be fine
> to build it upfront.
;)

To be clear. I deleted the previous kernel drivers supplied by my last
kernel build. Then proceeded to /usr/ports/net/wifi-firmware-iwlwifi-kmod
and did a make install clean. Stupidly forgetting about using a flavor. :/
> 
> 
>> But upon reboot (among other things)
>> got the following:
> 
> I told you to install the respective flavour only but hey...
Yep. I forgot to choose a flavor. :(
> 
> If this is an AX201 you did not install a recent port/package.
> Your tunables are not reflecting what should be set.
> Did you update your ports tree before building?
Yes.
> 
> What does
> % pkg info | grep wifi-firmware-iwlwifi
> say?
wifi-firmware-iwlwifi-kmod-20241017.1500018_2 Firmware modules for the 
iwlwifi (iwlwifi) WiFi NIC driver
> 
> What does
> 	fwget -n
> suggest?
% fwget -n -v
Trying to match device 0x46b3 in class video and vendor intel with 
pci_video_intel
Trying to match device 0x51f0 in class network and vendor intel with 
pci_network_intel
Needed firmware packages: 'gpu-firmware-intel-kmod-alderlake 
gpu-firmware-intel-kmod-tigerlake'

this is fwget(8) from my old kernel. Would a
make -C /usr/src/usr.sbin/fwget install clean
be enough? Or is a new kernel/world mandatory?
> 
> 
>> WARNING !ht_cap.ht_supported failed at 
>> /usr/src/sys/contrib/dev/iwlwifi/iwl-nvm-parse.c:855
>> 
>> I'm guessing I need to build a new world/kernel. This is on current.
> 
> Right and you mean on a year old current.  Please update.
> 
> The line now looks like ;-)
>     855         },
> 
>> dmesg(8) returns:
>> Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x370
>> 
>> loader.conf(5) contains:
>> 
>> compat.linuxkpi.iwlwifi_disable_11ac=0
>> compat.linuxkpi.iwlwifi_disable_11ax=0
> 
> Right.  Please just install the firmware package and stop trying to set
> random things yourself.  There's multiple correct samples in the last 7
> weeks of wireless list archives if you don't trust what the package
> would do for you.
Right. I installed the firmware from a git up of ports done yesterday.
I got "compat.linuxkpi.iwlwifi_disable_11ac=0" from a recent message
on the list. "compat.linuxkpi.iwlwifi_disable_11ax=0" was a hopeful shot in
the dark. Now removed.
> 
> (a) it is unclear if you have hw_crypto set?
> 	sysctl compat.linuxkpi.80211.hw_crypto
% sysctl compat.linuxkpi.80211.hw_crypto
sysctl: unknown oid 'compat.linuxkpi.80211.hw_crypto'
> 
> (b) you have 11n disabled: iwlwifi_11n_disable=1 but 11ac/11ax on and
> thus you get a warning.  This is not what the package would do.
I made no changes to iwlwifi_11n_disable. I guess nothing was done.
> 
> (c) if you enable 11ax you are on your own.
Understood. I'll stop doing that.
> 
> (d) what does
> 	cat /boot/loader.conf.d/iwlwifi-22000.conf
> say?  If nothing, is there any file there?
> 	ls -l /boot/loader.conf.d/iwlwifi-*.conf
> If not then we are back to the beginning that the firmware is not
> recent.  Start by installing a recent firmware package and then
Right. Both return nothing. So a new kernel/world appears required.
> do your kernel/world update.
Headed to /usr/src/ after this reply. :)
> 
> 
> Hope this helps,
Immensely! Sorry for all the bother.
> Bjoern

--Chris

-- 
sent from hardware written from and running on FreeBSD
[-- Attachment #2 --]
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBGf/G0IBCADARuJc6IcwOe3jv7dQsP1X/EIHvCFExPbTmlMNFMXbMMccQUnV
o8ayEn+wmTvPhw7uL3PDk7DQs16W1sN2b8UMFc804cVWNGtoG3rA+Np+TFEYlXJx
eh5Q42VHptkuwzHKl+q2utkpRlS7uHyfjsInQAoHxLyi/wrsaZTHHhDbLLhJ5Ez0
arohQ2Q1w0M5e9rW8Fy5rpC7RpC6uO1SZMxcbdqURI/BBqxbiD1iW62cDWFkfFX+
dtaEXghFV7BIBMDSrgIunGoEfdMZgXys7O6bPWn8z0cuOZIPj4HrjoCYARyQ+sdc
rjz/k06SLM/UvEZDorJhT4DbYrwMNvaPWJiPABEBAAG0HkNocmlzIDxic2QtbGlz
dHNAYnNkZm9yZ2UuY29tPokBNQQQAQgAHwUCZ/8bQgYLCQcIAwIEFQgKAgMWAgEC
GQECGwMCHgEACgkQVKBqaOUSci8bSwf/fK3QcTYXRMrv82HIp4SiGCSD7/bRmyWr
ipv2vzknGFHxPBN4AEWIqF/U4j5oDXaodyU6xsy59Z47/lgbyzyZiVR6nmJVgZVf
el/EgwnLt7ZuYGLLEhIN2pd9itJkB8PMPZrUHMWgIw8BxX5YFYGuyiNe9pGn0Coj
98t/v3fouhqksH+BpB4TBHJBBDSxSiMm66VTJX4Xcnpf0ZnQVP4GBuoyodnFBfdI
wqftPLESsCC08lUhD2j7v2NRWwMi/q3ed8D6VCKPImBByYnBZL5gu56K5bwqaQfN
itu06APuIYnG71qxgn1EPO63lovWP5NZGgOKvzs3K+JfPF79BiOUFbQjQ2hyaXMg
PG1haWxvcEBocmNvbW11bmljYXRpb25zLm5ldD6JATEEEAEIABwFAmf/G0I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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?434a3ca72d97e2caa419b770e727be10>