Debian

Wifi Intel 7265 錯誤和斷開連接——iwlwifi 無法刷新所有 tx fifo 隊列——Debian 8 Jessie

  • August 21, 2018

我在 Debian 8 上遇到了嚴重的 WiFi 穩定性問題

$$ 1 $$採用英特爾 7265 WiFi 晶片組$$ 2 $$. 我隨機斷開了網際網路連接,儘管似乎保持 WiFi 連接完好無損。特設我可以通過關閉/打開 Wifi 或重新啟動系統來重新連接。上個月情況變得更糟——更頻繁地失去連接,<5 分鐘——所以我決定重新安裝作業系統。沒有成功 :-( 我研究並嘗試了但沒有得到任何結果。我發現晶片組失去了對最新韌體版本的支持。我發現了一些命令來讀出/一些錯誤

$$ 3 $$. 還有一個可能的解決方案——這對我來說很難適應——這裡連結的一個看似非常相似的問題。以及所需的輸出$$ 4 $$. 由於我正在使用non-free驅動程序,我想,也許我應該嘗試使用這些驅動程序free。也許情況會好轉。但是,恐怕我沒有經驗來刪除現在活動的有故障的驅動程序,安裝打開的驅動程序,然後重新配置核心。但是,在一些幫助下,我肯定會嘗試一下。謝謝 :)

$$ 1 $$Linux 版本

$ uname -a
Linux XXXXXX 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux

$$ 2 $$晶片組

$ lspci | grep Wireless
02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 3b)

$$ 3 $$錯誤輸出

$ dmesg | grep iwlwifi
[   38.436666] iwlwifi 0000:02:00.0: irq 65 for MSI/MSI-X
[   38.450545] iwlwifi 0000:02:00.0: firmware: direct-loading firmware iwlwifi-7265-9.ucode
[   38.450870] iwlwifi 0000:02:00.0: loaded firmware version 23.214.9.0 op_mode iwlmvm
[   38.486339] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x184
[   38.486636] iwlwifi 0000:02:00.0: L1 Disabled - LTR Enabled
[   38.486798] iwlwifi 0000:02:00.0: L1 Disabled - LTR Enabled
[   40.220157] iwlwifi 0000:02:00.0: L1 Disabled - LTR Enabled
[   40.220323] iwlwifi 0000:02:00.0: L1 Disabled - LTR Enabled

[  275.958950] iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0

[  275.958958] iwlwifi 0000:02:00.0: Current SW read_ptr 14 write_ptr 15
[  275.958995] iwlwifi 0000:02:00.0: FH TRBs(0) = 0x00000000
[  275.959007] iwlwifi 0000:02:00.0: FH TRBs(1) = 0x80102052
[  275.959019] iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
[  275.959032] iwlwifi 0000:02:00.0: FH TRBs(3) = 0x8030000e
[  275.959044] iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
[  275.959056] iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
[  275.959069] iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
[  275.959082] iwlwifi 0000:02:00.0: FH TRBs(7) = 0x00709082
[  275.959133] iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [14,15]
[  275.959183] iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
[  275.959233] iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [83,83]
[  275.959284] iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959335] iwlwifi 0000:02:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959385] iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959435] iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959485] iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959536] iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959587] iwlwifi 0000:02:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [131,131]
[  275.959637] iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959687] iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959738] iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959788] iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959838] iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959888] iwlwifi 0000:02:00.0: Q 15 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959938] iwlwifi 0000:02:00.0: Q 16 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.959988] iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.960038] iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  275.960090] iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[  276.212876] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[ 6230.465289] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[ 6230.466255] iwlwifi 0000:02:00.0: L1 Disabled - LTR Enabled
[ 6230.466413] iwlwifi 0000:02:00.0: L1 Disabled - LTR Enabled

$$ 4 $$可能的解決方案所需的輸出

$ ip a
1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default 
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
   inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
   inet6 ::1/128 scope host 
      valid_lft forever preferred_lft forever
2: eth0: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
   link/ether 30:65:ec:4b:84:e4 brd ff:ff:ff:ff:ff:ff
3: wlan0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc mq state UP group default qlen 1000
   link/ether 60:57:18:17:7d:4d brd ff:ff:ff:ff:ff:ff
   inet 192.168.178.24/24 brd 192.168.178.255 scope global dynamic wlan0
      valid_lft 860308sec preferred_lft 860308sec
   inet6 fe80::6257:18ff:fe17:7d4d/64 scope link 
      valid_lft forever preferred_lft forever

作為解決方法,我為路由器 5G 網路設置了一個獨特的名稱,並在機器上為其創建了 wifi 配置文件。斷線停了!

看來問題的根源在於 linux-driver 對多個 wifi-stardads 的 SSID 管理。

引用自:https://unix.stackexchange.com/questions/356368