[Bug 274382] iwlwifi Invalid TXQ id

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 11 Jun 2024 22:46:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274382

--- Comment #76 from Vladislav Shabanov <vlad.shabanov@gmail.com> ---
(In reply to Ed Maste from comment #75)

Sorry. Maybe, my comment is not relevant to initial bug report. But I started
to resolve the wifi card issue with 'Invalid TXQ id' message and after updates
I have no this lines but have 'Queue 3 stuck'. For me, it looks like the
patches against 'Invalid TXQ id' fix one problem but trigger another one.

Maybe, I should create another bug report?

Details:

06.06.2024: FreeBSD 15.0-CURRENT #0 main-n270474-d2f1f71ec8c6 (snapshot). 
.......
wpa_supplicant[378]: wlan0: CTRL-EVENT-DISCONNECTED bssid=c8:be:19:ec:2d:31
reason=3 locally_generated=1
wpa_supplicant[378]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
kernel: wlan0: link state changed to DOWN
kernel: Invalid TXQ id
kernel: iwl_mvm_tx_mpdu:1204: fc 0x00a0 tid 8 txq_id 65535 mvm
0xfffffe01a92634c8 skb 0xfffff80150f26800 { len 26 } info 0xfffffe010a355cc0
sta 0xfffff80150b61880 (if you see this please report to PR 274382)
....

I updated the src, recompiled and got the following:

07.06.2024: FreeBSD 15.0-CURRENT #1 main-n270672-2b887687edc2
...
kernel: iwlwifi0: Queue 3 is stuck 156 158
kernel: iwlwifi0:   need_update 0 frozen 0 ampdu 0 now 18446744071562759140
stuck_timer.expires 18446744071562759103 frozen_expiry_remainder 0 wd_timeout
10000
kernel: iwlwifi0: Microcode SW error detected. Restarting 0x0.
.....

A day later I updated again, but the problem persists:

10.06.2014: FreeBSD 15.0-CURRENT #2 main-n270710-edbd489d09ba
.....
kernel: iwlwifi0: Queue 3 is stuck 77 78
kernel: iwlwifi0:   need_update 0 frozen 0 ampdu 0 now 2147187279
stuck_timer.expires 2147187265 frozen_expiry_remainder 0 wd_timeout 10000
kernel: iwlwifi0: Microcode SW error detected. Restarting 0x0.

When I booted again main-n270474-d2f1f71ec8c6 from LiveCD, I was unable to
reproduce wlan0 crash on outgoing traffic using netcat (the 'Queue 3 is stuck'
issue). But with latest commits it's very easy to do so.

-- 
You are receiving this mail because:
You are on the CC list for the bug.