我最近刚刚从 14.04 升级到 14.10,然后我的 Dell XPS 13 笔记本电脑上的 wifi 马上就出现了问题。它可以正常工作一段时间(大约 30 分钟到一个小时?),但随后连接开始变慢(数据包丢失 25% 到 75%),然后最终停止。有时它会自行恢复,但大多数时候我必须切换硬件 wifi 按钮(fn + F2
)。
当过滤 的已记录消息时iwlwifi
,会看到 的一条可能的错误消息fail to flush all tx fifo queues Q 0
和多条消息Q 4 is inactive and mapped to fifo 0 ra_tid
:
$ dmesg | grep iwl
[ 9802.709772] iwlwifi 0000:02:00.0: fail to flush all tx fifo queues Q 0
[ 9802.709778] iwlwifi 0000:02:00.0: Current SW read_ptr 81 write_ptr 84
[ 9802.709813] iwl data: 00000000: 00 00 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 9802.709835] iwlwifi 0000:02:00.0: FH TRBs(0) = 0x80003052
[ 9802.709856] iwlwifi 0000:02:00.0: FH TRBs(1) = 0x801020a1
[ 9802.709868] iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
[ 9802.709881] iwlwifi 0000:02:00.0: FH TRBs(3) = 0x80300053
[ 9802.709893] iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
[ 9802.709907] iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
[ 9802.709921] iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
[ 9802.709933] iwlwifi 0000:02:00.0: FH TRBs(7) = 0x007090ef
[ 9802.709982] iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [81,84]
[ 9802.710031] iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
[ 9802.710080] iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [146,199]
[ 9802.710128] iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [83,83]
[ 9802.710177] iwlwifi 0000:02:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710226] iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710274] iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710323] iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710371] iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710420] iwlwifi 0000:02:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [240,240]
[ 9802.710469] iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710517] iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710566] iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710614] iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710663] iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710712] iwlwifi 0000:02:00.0: Q 15 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710761] iwlwifi 0000:02:00.0: Q 16 is inactive and mapped to fifo 1 ra_tid 0x0000 [63,63]
[ 9802.710809] iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710858] iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9802.710906] iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
有关我的机器的更多信息:
$ uname -a
Linux 3.16.0-25-generic #33-Ubuntu SMP Tue Nov 4 12:06:54 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ uname -r
3.16.0-25-generic
$ lspci -nn | grep 0280
02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 6b)
不确定为什么现在会出现这些问题(过去进行任何版本升级时从未遇到过问题,特别是在使用 wifi 时)
也许它认为笔记本电脑处于空闲/待机状态,但事实并非如此?我确认电源管理设置已关闭。
不确定,但在使用 VPN 时似乎更频繁地发生。
有什么想法或建议吗?
答案1
似乎已经对内核 3.16 进行了修补以修复此 wifi 问题:
Bug 56581 - iwlwifi iwldvm 无法刷新 Tx 队列
并且还被追踪为/链接到一个 Ubuntu 错误:
iwlwifi 0000:01:00.0:无法刷新所有 tx fifo 队列 Q 2
但截至 2014 年 11 月 11 日尚未作为 Ubuntu 更新的一部分发布:
Seth Forshee (sforshee) 于 2014-11-11 写道:#14
补丁尚未进入已发布的 Ubuntu 内核。我将检查状态,并在必要时尝试加快进程,但由于新内核在发布前要经过大量回归测试,因此更新总是需要几周时间才能发布。
但计划是
Seth Forshee (sforshee) 于 2014-11-11 写道:#17
我检查了一下,补丁已经在下一个 SRU 周期中排队等待 trusty 和 utopic。这意味着它不会出现在下一个内核更新中,而是在那之后的一次。下一个更新已经在进行回归测试,所以将它加入到下一个内核更新中已经太晚了。
不幸的是,我不得不在计算机上重新安装 Ubuntu 14.04 LTS 的旧版本(从 14.10 开始),这解决了 wifi 问题,使其恢复正常。我打算推迟升级,直到修复并发布此错误。