Broadcom 无线驱动程序源与 dkms

Broadcom 无线驱动程序源与 dkms

我有一台 MacBook Air 6.2,配备 BCM4360 无线芯片,PCI-ID 14e4:43a0 (rev 03),运行 Debian Jessie。我安装了wlBroadcom 的驱动程序以使 wifi 卡正常工作,但它在某些 wifi 网络上偶尔会崩溃。

根据这个精彩的答案我想安装bcmwl-kernel-source 如果我运行的是 Ubuntu。在 Debian 中,存在三个看起来相似的软件包:

  1. broadcom-sta-dkms- 我安装这个是为了获取wl驱动程序。偶尔会崩溃。
  2. broadcom-sta-source- 安装这个有什么可能的优点吗?如果我的崩溃与驱动程序的构建方式有关,那将是令人惊讶的,wl因为这些都是 Debian 软件包。顺便说一句,这将删除broadcom-sta-dkms程序包并将dkms程序包排队以供自动删除。
  3. broadcom-sta-common- 安装broadcom-sta-source,因此上述两者之间不是通用文件。很奇怪?

无论如何,我很好奇 dkms 和源代码包之间是否有任何理由期待和真正的区别。就我而言,当我回到当前驱动程序不喜欢的 WiFi 时,我会尝试一下,但我想知道何时会出现此类问题,以供将来参考。

这是来自的崩溃转储dmesg

[  920.173407] ------------[ cut here ]------------
[  920.173453] WARNING: CPU: 1 PID: 468 at /build/linux-QZaPpC/linux-3.16.7-ckt11/net/wireless/sme.c:791 wl_notify_roaming_status+0xbb/0x140 [wl]()
[  920.173456] Modules linked in: asix usbnet libphy mii binfmt_misc bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack iptable_filter ip_tables x_tables snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ecb btusb bluetooth 6lowpan_iphc nls_utf8 nls_cp437 vfat fat efi_pstore wl(PO) joydev applesmc input_polldev x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp bcm5974 kvm_intel kvm evdev pcspkr cfg80211 efivars snd_hda_codec_cirrus snd_hda_codec_generic lpc_ich mfd_core rfkill i2c_i801 mei_me i915 mei shpchp snd_hda_intel snd_hda_controller snd_hda_codec sbs snd_hwdep drm_kms_helper battery drm snd_pcm sbshc snd_timer i2c_algo_bit i2c_core snd ac soundcore video apple_bl button processor thermal_sys fuse ecryptfs
[  920.173538]  parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 algif_skcipher af_alg hid_generic hid_apple usbhid hid dm_crypt dm_mod sg sd_mod crc_t10dif crct10dif_generic usb_storage crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci libata scsi_mod xhci_hcd usbcore usb_common
[  920.173585] CPU: 1 PID: 468 Comm: wl_event_handle Tainted: P        W  O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt11-1
[  920.173589] Hardware name: Apple Inc. MacBookAir6,2/Mac-7DF21CB3ED6977E5, BIOS MBA61.88Z.0099.B18.1501071032 01/07/2015
[  920.173592]  0000000000000009 ffffffff8150b405 0000000000000000 ffffffff81067797
[  920.173597]  ffff880262031680 ffff880264d21054 ffff880262031e9a ffff880263016000
[  920.173602]  ffff880262031a78 ffffffffa0966e1b 0000000000000012 00000000000000d0
[  920.173607] Call Trace:
[  920.173621]  [<ffffffff8150b405>] ? dump_stack+0x41/0x51
[  920.173630]  [<ffffffff81067797>] ? warn_slowpath_common+0x77/0x90
[  920.173651]  [<ffffffffa0966e1b>] ? wl_notify_roaming_status+0xbb/0x140 [wl]
[  920.173671]  [<ffffffffa09650b2>] ? wl_event_handler+0x62/0x1e0 [wl]
[  920.173691]  [<ffffffffa0965050>] ? wl_free_wdev.isra.24+0x70/0x70 [wl]
[  920.173700]  [<ffffffff81087fad>] ? kthread+0xbd/0xe0
[  920.173706]  [<ffffffff81087ef0>] ? kthread_create_on_node+0x180/0x180
[  920.173714]  [<ffffffff81511518>] ? ret_from_fork+0x58/0x90
[  920.173719]  [<ffffffff81087ef0>] ? kthread_create_on_node+0x180/0x180
[  920.173723] ---[ end trace 7edb0c1309e3610b ]---

此后,此错误会重复大约 20 次:

ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 00:1a:1e:a5:93:41   profile =00:1a:1e:a5:77:c9

相关内容