Summary: | [iwlwifi] fails to establish a connection, or fails to maintain it (intel 8265) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Dave Cottlehuber <dch> | ||||||||||||
Component: | wireless | Assignee: | freebsd-wireless (Nobody) <wireless> | ||||||||||||
Status: | In Progress --- | ||||||||||||||
Severity: | Affects Only Me | CC: | bz | ||||||||||||
Priority: | --- | ||||||||||||||
Version: | 14.0-STABLE | ||||||||||||||
Hardware: | Any | ||||||||||||||
OS: | Any | ||||||||||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275255 | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 273620 | ||||||||||||||
Attachments: |
|
Description
Dave Cottlehuber
![]() ![]() Created attachment 250596 [details]
fail on start 14.0p6
Created attachment 250597 [details]
recover 14.0p6
Created attachment 250598 [details]
full dmesg 14.0p6 failed scan
#c1 and #c3 are firmware crashes because no one fixed the problems known in net80211 so far until we tried some quick hackish improvement at least in Jan/Feb for 13.3-R; in theory iwn/iwm/rtwn/.. and all suffer from these but are just a bit harder to trigger. A lot of fixes are in stable/14 or 14.1-BETA<n>. If you can try either of those that would be great. There is one problem left (well many) but one specifically for the 8xxx/9xxx cards but that'll be visible then and will go like "failure to remove station from firmware" followed by errors.. and is similar to your #c3 comment. This no longer is seen by AX200 or later chipsets and is an iwlwifi internal one; there is a separate bug open for that and I should really go and figure that out as well. now on BETA2, still seeing same issue: connects, then drops off and can't reattach until `kldunload if_iwlwifi`. Very reproducible at least :D now on BETA2, still seeing same issue: connects, then drops off and can't reattach until `kldunload if_iwlwifi`. Very reproducible at least :D I was able to catch the UP state and noticed that it stops directly after switching media type: ## ifconfig diff, still associated, but dies immediately after -| media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g +| media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g Created attachment 250614 [details]
dmesg 14.1-BETA2 fails on start iwlwifi up, switches, dies
Created attachment 250615 [details]
dmesg 14.1-BETA2 kldunload to restart, fails again
iwlwifi state changes below
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether 00:28:f8:d0:91:52
inet 172.16.2.21 netmask 0xffffff00 broadcast 172.16.2.255
inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x2
groups: wlan
ssid skunkwerks channel 1 (2412 MHz 11g) bssid 80:2a:a8:84:e2:a3
regdomain ETSI2 country AT authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
protmode CTS wme roaming MANUAL
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
status: associated
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether 00:28:f8:d0:91:52
inet 172.16.2.21 netmask 0xffffff00 broadcast 172.16.2.255
inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x2
groups: wlan
ssid skunkwerks channel 1 (2412 MHz 11g) bssid 80:2a:a8:84:e2:a3
regdomain ETSI2 country AT authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
protmode CTS wme roaming MANUAL
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
wlan0: flags=8c43<UP,BROADCAST,RUNNING,DRV_OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether 00:28:f8:d0:91:52
inet 172.16.2.21 netmask 0xffffff00 broadcast 172.16.2.255
inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x2
groups: wlan
ssid "" channel 1 (2412 MHz 11g)
regdomain ETSI2 country AT authmode WPA1+WPA2/802.11i privacy ON
deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme
roaming MANUAL
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether 00:28:f8:d0:91:52
inet 172.16.2.21 netmask 0xffffff00 broadcast 172.16.2.255
inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x2
groups: wlan
ssid skunkwerks channel 1 (2412 MHz 11g) bssid 80:2a:a8:84:e2:a3
regdomain ETSI2 country AT authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
protmode CTS wme roaming MANUAL
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
wlan0: flags=8c43<UP,BROADCAST,RUNNING,DRV_OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether 00:28:f8:d0:91:52
inet 172.16.2.21 netmask 0xffffff00 broadcast 172.16.2.255
inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x2
groups: wlan
ssid skunkwerks channel 1 (2412 MHz 11g)
regdomain ETSI2 country AT authmode WPA1+WPA2/802.11i privacy ON
deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme
roaming MANUAL
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
(In reply to Dave Cottlehuber from comment #8) So two problems here: (1) by the time you actually make it UP you get kicked: wlan0: [80:2a:a8:84:e2:a3] recv disassociate (reason: 34 (too many frames need to be acknowledged)) (2) when that session then tries to go back up and ends up going down entirely you hit PR 275255 and then it's game over until possible manual intervention: iwlwifi0: Couldn't drain frames for staid 0, status 0x8 iwlwifi0: lkpi_sta_auth_to_scan:1429: mo_sta_state(NOTEXIST) failed: -5 Where status 8 is ADD_STA_MODIFY_NON_EXISTING_STA: driver requested to modify a station that doesn't exist. But given we are only trying to remove it from the FW after that "mo_sta_state(NOTEXIST)" something else nuked the station already. Let's try to fix (2) first as that'll help to keep it at least going. |