Re: WARNING !ht_cap.ht_supported failed at...
- Reply: Bjoern A. Zeeb: "Re: WARNING !ht_cap.ht_supported failed at..."
- In reply to: Bjoern A. Zeeb: "Re: WARNING !ht_cap.ht_supported failed at..."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Apr 2025 22:17:40 UTC
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