机器上没有太多负载,突然变得忙碌并且没有反应。它无法响应键盘或鼠标移动,或者都不会移动到另一个其他 tty。有一些日志可能暗示该问题。有人可以帮忙找出问题吗?
编辑:有时我的互联网也会停止;使用时我看不到任何数据包通过tcpdump
。我必须再次重新连接到 wifi 网络,数据包才能再次开始流动;但在我最近将提供商更改为英国 Sky 并且他们提供了带有型号的路由器后,我注意到了这些问题,SR101
天空路由器设置
region: europe; channel: auto; mode: auto; auth: wpa2-psk (aes)
/var/log/系统日志
kernel: [ 7593.778323] ------------[ cut here ]------------
kernel: [ 7593.778352] WARNING: at /build/buildd/linux-3.5.0/drivers/net/wireless/brcm80211/brcmsmac/main.c:7953 brcms_c_wait_for_tx_comp
kernel: [ 7593.778355] Hardware name: Satellite R630
kernel: [ 7593.778357] Modules linked in: pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep rfcomm parport_pc ppdev joydev
kvm arc4 snd_hda_codec_hdmi snd_hda_codec_realtek brcmsmac mac80211 brcmutil cfg80211 cordic uvcvideo videobuf2_core videodev videobu
snd_hwdep snd_pcm microcode snd_seq_midi snd_rawmidi toshiba_acpi sparse_keymap snd_seq_midi_event wmi toshiba_b
mac_hid snd intel_ips lpc_ich soundcore snd_page_alloc i915 drm_kms_helper psmouse serio_raw mei bcma drm i2c_algo_bit video l
[last unloaded: e1000e]
kernel: [ 7593.778416] Pid: 18560, comm: kworker/u:1 Tainted: G O 3.5.0-17-generic #28-Ubuntu
kernel: [ 7593.778418] Call Trace:
kernel: [ 7593.778428] [<ffffffff81051c4f>] warn_slowpath_common+0x7f/0xc0
kernel: [ 7593.778432] [<ffffffff81051caa>] warn_slowpath_null+0x1a/0x20
kernel: [ 7593.778445] [<ffffffffa03af709>] brcms_c_wait_for_tx_completion+0x99/0xb0 [brcmsmac]
kernel: [ 7593.778453] [<ffffffffa03a05fb>] brcms_ops_flush+0x3b/0x60 [brcmsmac]
kernel: [ 7593.778473] [<ffffffffa030282d>] ieee80211_scan_work+0x34d/0x5e0 [mac80211]
kernel: [ 7593.778481] [<ffffffff81083d3a>] ? finish_task_switch+0x4a/0xf0
kernel: [ 7593.778485] [<ffffffff8107079a>] process_one_work+0x12a/0x420
kernel: [ 7593.778498] [<ffffffffa03024e0>] ? ieee80211_run_deferred_scan+0x80/0x80 [mac80211]
kernel: [ 7593.778502] [<ffffffff8107133e>] worker_thread+0x12e/0x2f0
kernel: [ 7593.778506] [<ffffffff81071210>] ? manage_workers.isra.26+0x200/0x200
kernel: [ 7593.778510] [<ffffffff81075e33>] kthread+0x93/0xa0
kernel: [ 7593.778516] [<ffffffff8168b024>] kernel_thread_helper+0x4/0x10
kernel: [ 7593.778520] [<ffffffff81075da0>] ? kthread_freezable_should_stop+0x70/0x70
kernel: [ 7593.778523] [<ffffffff8168b020>] ? gs_change+0x13/0x13
kernel: [ 7593.778526] ---[ end trace 6499cba8e2fb8557 ]---
内核模块
pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv parport_pc ppdev bnep rfcomm joydev btusb bluetooth snd_hda_codec_hdmi snd_hda_codec_realtek coretemp kvm_intel kvm arc4 brcmsmac mac80211 brcmutil cfg80211 cordic snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi uvcvideo videobuf2_core videodev videobuf2_vmalloc snd_rawmidi videobuf2_memops snd_seq_midi_event snd_seq snd_timer snd_seq_device toshiba_acpi sparse_keymap wmi toshiba_bluetooth snd mac_hid microcode i915 psmouse serio_raw lpc_ich bcma drm_kms_helper intel_ips drm soundcore snd_page_alloc lp i2c_algo_bit mei video parport sdhci_pci sdhci
乌纳梅
Linux 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
来自 lshw 的网络信息
*-network
description: Wireless interface
physical id: 4
logical name: wlan0
serial: b4:74:9f:5b:a0:57
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=brcmsmac driverversion=3.5.0-17-generic firmware=N/A ip=192.168.0.4 link=yes multicast=yes wireless=IEEE 802.11bgn
编辑:无线信息
~$ sudo lspci -vv -s 02:00.0
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
..
Capabilities: [16c v1] Power Budgeting <?>
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma
当 wifi 无法再发送数据包并且需要关闭和打开 wifi 时记录
kernel: [ 1791.266956] Pid: 7728, comm: kworker/u:0 Tainted: G O 3.5.0-17-generic #28-Ubuntu
kernel: [ 1791.266958] Call Trace:
kernel: [ 1791.266968] [<ffffffff81051c4f>] warn_slowpath_common+0x7f/0xc0
kernel: [ 1791.266971] [<ffffffff81051caa>] warn_slowpath_null+0x1a/0x20
kernel: [ 1791.266980] [<ffffffffa03f5709>] brcms_c_wait_for_tx_completion+0x99/0xb0 [brcmsmac]
kernel: [ 1791.266986] [<ffffffffa03e65fb>] brcms_ops_flush+0x3b/0x60 [brcmsmac]
kernel: [ 1791.267006] [<ffffffffa034882d>] ieee80211_scan_work+0x34d/0x5e0 [mac80211]
kernel: [ 1791.267013] [<ffffffff81083d3a>] ? finish_task_switch+0x4a/0xf0
kernel: [ 1791.267016] [<ffffffff8107079a>] process_one_work+0x12a/0x420
kernel: [ 1791.267027] [<ffffffffa03484e0>] ? ieee80211_run_deferred_scan+0x80/0x80 [mac80211]
kernel: [ 1791.267030] [<ffffffff8107133e>] worker_thread+0x12e/0x2f0
kernel: [ 1791.267033] [<ffffffff81071210>] ? manage_workers.isra.26+0x200/0x200
kernel: [ 1791.267037] [<ffffffff81075e33>] kthread+0x93/0xa0
kernel: [ 1791.267042] [<ffffffff8168b024>] kernel_thread_helper+0x4/0x10
kernel: [ 1791.267046] [<ffffffff81075da0>] ? kthread_freezable_should_stop+0x70/0x70
kernel: [ 1791.267049] [<ffffffff8168b020>] ? gs_change+0x13/0x13
kernel: [ 1791.267050] ---[ end trace 56f847a7c78d0da0 ]---
kernel: [ 2004.872993] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2006.035759] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2006.036162] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2006.546185] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2007.543524] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2008.542929] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2408.822335] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2408.868303] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2408.937553] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2408.953977] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2408.958060] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2408.976166] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2409.264878] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2409.766008] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2409.793456] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2409.807420] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2409.834179] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2409.994049] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2410.062283] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2410.067860] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2410.785801] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2410.837042] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2410.915746] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2411.060400] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2411.063439] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
NetworkManager[991]: <info> (wlan0): device state change: activated -> unavailable (reason 'none') [100 20 0]
NetworkManager[991]: <info> (wlan0): deactivating device (reason 'none') [0]
kernel: [ 2411.249095] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2411.276068] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
kernel: [ 2411.276755] ieee80211 phy0: >brcms_c_prec_enq_head: No where to go, prec == 4
NetworkManager[991]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 1768
答案1
除非这是经常发生的情况,否则您的系统似乎经历了堆栈跟踪,其中抛出了异常或崩溃了。我将继续监视它,并尝试通过您执行的一系列步骤来确定根本原因,但要查看输出,例如这部分:
kernel: [ 7593.778416] Pid: 18560, comm: kworker/u:1 Tainted: G O 3.5.0-17-generic #28-Ubuntu
kernel: [ 7593.778418] Call Trace:
kernel: [ 7593.778428] [<ffffffff81051c4f>] warn_slowpath_common+0x7f/0xc0
kernel: [ 7593.778432] [<ffffffff81051caa>] warn_slowpath_null+0x1a/0x20
kernel: [ 7593.778445] [<ffffffffa03af709>] brcms_c_wait_for_tx_completion+0x99/0xb0 [brcmsmac]
kernel: [ 7593.778453] [<ffffffffa03a05fb>] brcms_ops_flush+0x3b/0x60 [brcmsmac]
kernel: [ 7593.778473] [<ffffffffa030282d>] ieee80211_scan_work+0x34d/0x5e0 [mac80211]
kernel: [ 7593.778481] [<ffffffff81083d3a>] ? finish_task_switch+0x4a/0xf0
您的无线驱动程序似乎遇到了短暂的故障或存在错误。
编辑 #1 - 禁用 Wireless-N?
这些消息:
brcms_c_prec_enq_head:无处可去,prec == 4
方法#1
看起来很常见。请参阅此线程:首页» 内核和硬件» brcms_c_prec_enq_head: 无处可去,prec == 4,来自 ArchLinux 论坛。
“解决方案”之一是禁用接入点 (AP) 或驱动程序本身的 wireless-N 功能。
看起来当接入点配置为 802.11n 时会发生这种情况。尝试将 AP 更改为 802.11b/g,看看问题是否仍然存在。在这里停止崩溃。我也有一个BCM4313...
方法#2
一年多来,我在使用英特尔无线-N 设备时一直遇到类似的问题。我在这里写了一篇博客,标题:在 Fedora 14 上调试间歇性掉落的 Intel Wireless-N 1000 网卡。
您还可以禁用某些驱动程序中的 wireless-N 功能作为另一种解决方法,特别是当您无法在 AP 上禁用此功能时。
该iwlagn
模块可以禁用此功能,如下所示:
$ sudo modprobe iwlagn 11n_disable=1
或者可以在启动期间完成:
# /etc/modprobe.d/wireless.conf
options iwlagn 11n_disable=1
这可能对您有用,或者您可以了解您的设备驱动程序是否具有类似的功能。
方法#3
另请查看以下 U&L 问答,标题为:如何禁用2.4Ghz频段无线适配器我在其中展示了如何禁用类似 NIC 上的 2.4GHz 无线电。这可以适应禁用 5GHz 无线电,即 Wireless-N 频率。