[Bug 264238] WiFi stops working after upgrade from 13.0 to 13.1, AR9285 (wpa_supplicant)
Date: Tue, 14 Jun 2022 05:08:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238 --- Comment #70 from Jaskie <jiangjun12321@gmail.com> --- (In reply to Jaskie from comment #69) I am using the wpa Cy Schubert prvided in this test. wpa_supplicant_flags="-dd" was added to rc.conf. # service netif start Created wlan(4) interfaces: wlan0. Starting wpa_supplicant. wpa_supplicant v2.10 Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'bsd' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=8): 57 48 55 2d 57 4c 41 4e WHU-WLAN key_mgmt: 0x4 Line: 11 - start of a new network block ssid - hexdump_ascii(len=7): 57 48 55 2d 53 54 55 WHU-STU key_mgmt: 0x4 Line: 18 - start of a new network block ssid - hexdump_ascii(len=8): 57 68 61 74 54 68 65 46 WhatTheF PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='WHU-WLAN' id=1 ssid='WHU-STU' id=2 ssid='WhatTheF' wpa_driver_bsd_capa: drivercaps=0x4f8def41,cryptocaps=0x0000001f Add interface wlan0 to a new radio N/A PTKSA: Initializing wlan0: Failed to attach pkt_type filter wlan0: Own MAC address: 1c:4b:d6:ca:3e:ac bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x0 key_idx=4 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=4 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument Abort trap /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant Starting Network: lo0 alc0 wlan0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> alc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c3198<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE> ether 48:5b:39:8e:3c:b0 media: Ethernet autoselect (none) status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 1c:4b:d6:ca:3e:ac groups: wlan ssid "" channel 5 (2432 MHz 11g ht/20) regdomain 96 indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 shortgi -stbctx stbcrx -ldpc -uapsd wme burst bintval 0 parent interface: ath0 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> # less /var/log/messages Jun 14 12:53:17 freebsd kernel: wlan0: Ethernet address: 1c:4b:d6:ca:3e:ac Jun 14 12:53:18 freebsd kernel: lo0: link state changed to UP Jun 14 12:53:18 freebsd root[22584]: /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant Jun 14 12:53:18 freebsd kernel: pid 22579 (wpa_supplicant), jid 0, uid 0: exited on signal 6 # ~adam/dtrace.sh > ~adam/dt_out.txt dtrace: script '/home/adam/dtrace.sh' matched 2 probes The xz -9 compressed dt_out.txt is attached as attachment. Here is also the output from when I am using 13.0 wpa (where network connects successfully) # service netif start Created wlan(4) interfaces: wlan0. Starting wpa_supplicant. wpa_supplicant v2.9 Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'bsd' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=8): 57 48 55 2d 57 4c 41 4e WHU-WLAN key_mgmt: 0x4 Line: 11 - start of a new network block ssid - hexdump_ascii(len=7): 57 48 55 2d 53 54 55 WHU-STU key_mgmt: 0x4 Line: 18 - start of a new network block ssid - hexdump_ascii(len=8): 57 68 61 74 54 68 65 46 WhatTheF PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='WHU-WLAN' id=1 ssid='WHU-STU' id=2 ssid='WhatTheF' wpa_driver_bsd_capa: drivercaps=0x4f8def41,cryptocaps=0x0000001f Add interface wlan0 to a new radio N/A wlan0: Failed to attach pkt_type filter wlan0: Own MAC address: 1c:4b:d6:ca:3e:ac bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x0 key_idx=4 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=4 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument bsd_set_key: alg=0 addr=0x0 key_idx=5 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=5 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument wpa_driver_bsd_set_countermeasures: enabled=0 wlan0: RSN: flushing PMKID list in the driver wlan0: Setting scan request: 0.100000 sec wlan0: WPS: UUID based on MAC address: 8f102e08-5289-5b2f-a07e-bbde503569e6 ENGINE: Loading builtin engines ENGINE: Loading builtin engines EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED wlan0: Added interface wlan0 wlan0: State: DISCONNECTED -> DISCONNECTED Daemonize.. Starting Network: lo0 alc0 wlan0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> alc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c3198<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE> ether 48:5b:39:8e:3c:b0 media: Ethernet autoselect (none) status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 1c:4b:d6:ca:3e:ac inet 10.134.140.105 netmask 0xffff8000 broadcast 10.134.255.255 groups: wlan ssid WHU-STU channel 5 (2432 MHz 11g ht/20) bssid 70:d9:31:0e:2c:00 regdomain 96 indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7 scanvalid 60 protmode CTS ampdulimit 64k shortgi -stbctx stbcrx -ldpc -uapsd wme burst roaming MANUAL bintval 300 parent interface: ath0 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> -- You are receiving this mail because: You are on the CC list for the bug.