Re: New iwlwifi firmware for testing in main

From: Jonathan Vasquez <jon_at_xyinn.org>
Date: Mon, 08 Aug 2022 10:49:29 UTC
Hey Bjoern,

You were asking for an update from me on this ticket https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263613, this is the same issue and you can reproduced this by setting a static IP on the interface and then you can do a 'service netif wlan0' multiple times in sequence, it should crash pretty soon.

Sent from ProtonMail mobile

-------- Original Message --------
On Aug 7, 2022, 17:46, Bjoern A. Zeeb wrote:

> On Tue, 2 Aug 2022, Bakul Shah wrote: > Ok, I narrowed it down to a specific case. If I use > > ifconfig_wlan0="WPA DHCP" > > everything works. If I replace DHCP with a fixed address it panics as before. That is interesting. I'll try to repro that next week. > Apparently this happens as soon as the device associates with an AP. According to the log it didn't associate yet when the firmware crashed. Given this is a 9260 this looks like a bug we fixed about 6-ish weeks ago. Is this a 14-CURRENT or an up-to-date stable/13? What's the branch and git hash? (possible uname -v) > The stuff you asked for is below. Thanks. > >> On Aug 2, 2022, at 1:00 PM, Bjoern A. Zeeb  wrote: >> >> On Sun, 31 Jul 2022, Bakul Shah wrote: >> >>> On Jul 30, 2022, at 5:51 PM, Bjoern A. Zeeb  wrote: >>>> >>>> Hi, >>>> >>>> I've updated the firmware for iwlwifi in main (HEAD/CURRENT) with >>>> >>>> https://cgit.FreeBSD.org/src/commit/?id=13a7663c521ac3541756aa1157dcfce9f0ce78e8 >>>> >>>> It has a ~3 week MFC timer so it can be tested. >>>> >>>> If you are running main with an AX2xx or 9xxx card please give it a >>>> try. In case they don't work for you please let me know and (as >>>> always) please have a way to revert in case WiFi is the only >>>> connectivity on your device. >>> >>> I still get the same panic I was getting a few months back, >>> when I run -current in a bhyve VM. Not a priority so this >>> can wait. To see if this a bhyve problem I should try using >>> wifi from a linux guest and see if it works.... >> >> What's the leadup to this? What's the wpa_supplicant log saying? The below is wlandebug but that's fine too. > Clearing /tmp (X related). > Autoloading module: if_iwlwifi > Intel(R) Wireless WiFi based driver for FreeBSD > iwlwifi0:  mem 0xc1034000-0xc1037fff irq 20 at device 7.0 on pci0 > iwlwifi0: successfully loaded firmware image 'iwlwifi-9260-th-b0-jf-b0-46.ucode' > iwlwifi0: WRT: Overriding region id 0 > iwlwifi0: WRT: Overriding region id 1 > iwlwifi0: WRT: Overriding region id 2 > iwlwifi0: WRT: Overriding region id 3 > iwlwifi0: WRT: Overriding region id 4 > iwlwifi0: WRT: Overriding region id 6 > iwlwifi0: WRT: Overriding region id 8 > iwlwifi0: WRT: Overriding region id 9 > iwlwifi0: WRT: Overriding region id 10 > iwlwifi0: WRT: Overriding region id 11 > iwlwifi0: WRT: Overriding region id 15 > iwlwifi0: WRT: Overriding region id 16 > iwlwifi0: WRT: Overriding region id 18 > iwlwifi0: WRT: Overriding region id 19 > iwlwifi0: WRT: Overriding region id 20 > iwlwifi0: WRT: Overriding region id 21 > iwlwifi0: WRT: Overriding region id 28 > iwlwifi0: loaded firmware version 46.9d0122c0.0 9260-th-b0-jf-b0-46.ucode op_mode iwlmvm > iwlwifi0: Detected Intel(R) Wireless-AC 9260 160MHz, REV=0x321 > Starting sendmail_outbound. > Performing sanity check on sshd configuration. > iwlwifi0: base HW address: 8c:a9:82:fc:e8:9c, OTP minor version: 0x4 > Starting sshd. > Setting hostname: xxxxxxxxxxx > Setting up harvesting: PURE_RDRAND,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED > Feeding entropy: . > Creating and/or trimming log files. > ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg /usr/local/lib/perl5/5.32/mach/CORE /usr/local/llvm12/lib /usr/local/llvm13/lib > 32-bit compatibility ldconfig path: /usr/lib32 > Updating /var/run/os-release done. > Recovering vi editor sessions:. > wlan0: Ethernet address: 8c:a9:82:fc:e8:9c > net.wlan.0.debug: 0x0 => 0x11c91000 > Created wlan(4) interfaces: wlan0. > lo0: link state changed to UP > uhub0: 8 ports with 8 removable, self powered > ugen0.2:  at usbus0 > wlan0: ieee80211_init > wlan0: start running, 0 vaps running > wlan0: ieee80211_start_locked: up parent iwlwifi0 > Starting wpa_supplicant. > wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 > wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 > wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 > wlan0: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0 > wlan0: stop running, 1 vaps running > wlan0: ieee80211_new_state_locked: INIT -> INIT (arg -1) (nrunning 0 nscanning 0) > wlan0: down parent iwlwifi0 > wlan0: ieee80211_newstate_cb: INIT -> INIT arg -1 > wlan0: sta_newstate: INIT -> INIT (-1) > wlan0: start running, 0 vaps running > wlan0: ieee80211_start_locked: up parent iwlwifi0 > wlan0: ieee80211_new_state_locked: INIT -> SCAN (arg 0) (nrunning 0 nscanning 0) > wlan0: start running, 1 vaps running > wlan0: ieee80211_newstate_cb: INIT -> SCAN arg 0 > wlan0: sta_newstate: INIT -> SCAN (0) > wlan0: [ac:22:0b:d4:8c:30] station assoc via MLME > wlan0: ieee80211_alloc_node 0xfffffe009ebcc000