Date: Wed, 18 Jun 2025 21:30:57 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 287625] net80211: kernel panic with 11ac support but no 11n Message-ID: <bug-287625-21060-2vc7hT3YKD@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-287625-21060@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287625 --- Comment #6 from Vyacheslav <terehovv@mail.ru> --- > I'll look at the crash in a minute In my rc.conf there is a line 'netif_enable="NO"' About a minute after the system was started and I executed "service netif onestart" manually. This allowed me to separate the log into two parts, before and after the network was started. The kernel panic occurred immediately as soon as wpa_suppliant found a match ssid. > you need to run fwget to get the firmware installed which also sets the loader configuration (don't do it manually). Yes, I ran fwget, the wifi-firmware-iwlwifi-kmod-ax210-20241017.1402000_2 package was installed. The entries in /boot/loader.conf.d/iwlwifi-ax210.conf were added by the package, I just supplemented them with parameters for debugging. > That means you also need to remove you manual loader.conf entries as you enabled 11ac but keep 11n disabled. I used these sysctls to avoid changing the AP settings. It also convinced me that the problem was only with 802.11ac. > If I am not mistaken this is a logic error introduced in 51172f62a753f in net80211 > for cases where VHT is avail but HT would be not (which normally should not be the case). If I disable 802.11ac (via sysctl or AP settings) - I have a chance to connect: wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=0 ether 44:e5:17:b9:eb:14 inet 10.0.1.71 netmask 0xffffff00 broadcast 10.0.1.255 groups: wlan ssid test5ghz channel 52 (5260 MHz 11a ht/40+) bssid cc:9d:a2:e2:3e:c0 regdomain NONE country RU authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 24 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 -ampdutx ampdurx ampdulimit 64k ampdudensity 2 -amsdutx amsdurx shortgi -ldpctx ldpcrx -uapsd wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11na status: associated nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> I see "11a ht/40+" here. I hope this helps somehow. > I would assume once you fix your loader.conf entries to fall back to the automatic configuration provided by the firmware package, the problem will go away. I changed the /etc/loader.conf: boot_verbose="YES" kern.msgbufsize=1146880 In the /boot/loader.conf.d/iwlwifi-ax210.conf the default values: compat.linuxkpi.80211.hw_crypto=1 compat.linuxkpi.iwlwifi_11n_disable=0 compat.linuxkpi.iwlwifi_disable_11ac=0 In rc.conf I set 'netif_enable="YES"', the wifi-firmware-iwlwifi-kmod-ax210-20241017.1402000_2 package is installed. In the access point settings for 5 GHz, standards A, N, AC are enabled; channels 36-64; encryption WPA2. Unfortunately, the problem remains (see attachments 261392, 261393). Note on messages_a_n_ac log: after kernel panic I booted into single user mode and changed ssid in wpa_supplicant.conf, after which the system booted successfully. Perhaps I need to clarify: if the AP provides 802.11ac, its ssid is specified in wpa_suppliant.conf and compat.linuxkpi.iwlwifi_disable_11ac=0 - I get a kernel panic. -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287625-21060-2vc7hT3YKD>
